Parties join and leave a restaurant's waitlist. When a table frees up, seat the party that has waited longest among those that fit at it.
Parties join and leave a restaurant's waitlist. When a table frees up, seat the party that has waited longest among those that fit at it.
The discussion opens with the full question.