Status: IN
In `time_to_buy_tickets`, people at indices ≤ k contribute `min(t, tickets[k])` seconds and people at indices > k contribute `min(t, tickets[k] - 1)` seconds, because post-k people do not get a turn in k's final round.
Source: entries/2026/06/06/time-needed-to-buy-tickets-solution.md