Ticket Booking Queue Time
Filed under OLA
The question
Given an array of ticket requirements for people standing in a queue where each person gets one ticket at a time and goes to the back, calculate the total time for the i'th person to get all their tickets.
No write-up yet. Related questions below have one.
Related OLA questions
Collected from public candidate posts and coding forums. Updated Nov 2026.