Calculate time to buy tickets in a line
Filed under LinkedIn
The question
Given a line of people buying tickets and rules for re-entering the queue, calculate how long it takes a specific person to buy all their tickets.
No write-up yet. Related questions below have one.
Related LinkedIn questions
Collected from public candidate posts and coding forums. Updated Nov 2026.