Quick Overview

Choose a subset of items whose combined bitwise OR does not exceed a numeric limit and return the maximum total profit, with the empty subset available as a zero-profit choice.

Maximize Profit Under a Bitwise-OR Limit

Company: Concentric Ai

Role: Software Engineer

Category: Coding & Algorithms

Difficulty: medium

Interview Round: Online Assessment

Overview: Choose a subset of items whose combined bitwise OR does not exceed a numeric limit and return the maximum total profit, with the empty subset available as a zero-profit choice.

Loading…