Maximize the number of people who pass a test
Filed under PhonePe
The question
Given N people with a score array and a bound array, and a running score starting at 0, a person passes if their score exceeds the running score, after which their bound is added; find the maximum number who can pass.
No write-up yet. Related questions below have one.
Related PhonePe questions
Collected from public candidate posts and coding forums. Updated Nov 2026.