Problem Brief
Last to Be Checked π³
OA
In the bustling excitement of an event's beginning, attendees flock eagerly, each with their own story to tell. As time ticks on from the event's start, they queue up for an ID check, a gateway to the festivities. But there's a catch β only 10 hopefuls can stand in line at once.
Your mission? Find out when the last person's ID will be checked, measured in seconds from the event's kickoff.
For original prompt, pls refer to source images π‘Όπ€£π₯§π‘ΌπΌπ€£π₯§πΌπ
1Example 1
Input
moments = [1, 6, 9, 502]
Output
1201
Explanation
Explanation not found κ°ΰ¦π¦¦ΰ»κ±
Constraints
Limits and guarantees your solution can rely on.
Unknown for now