0/1 knapsack variant returning the maximum quantity
Filed under McKinsey
The question
The first online round had a knapsack variation where the answer was the maximum quantity rather than value.
No write-up yet. Related questions below have one.
Related McKinsey questions
Collected from public candidate posts and coding forums. Updated Nov 2026.