Lunchbox Queue Problem
Filed under Airtel
The question
Given N lunchboxes and N students with preferences, calculate how many students won't get lunch if they rejoin the queue when the top box doesn't match their preference.
No write-up yet. Related questions below have one.
Related Airtel questions
Collected from public candidate posts and coding forums. Updated Nov 2026.