Google Phone Screen

Anonymous User
1485
Oct 21, 2025
Oct 21, 2025

Implement a restaurant waitlist. It should support the following features:
A party of customers can join the waitlist.
A previously joined party can leave the waitlist at any time.
The restaurant serves the first party whose size fits the empty table size at a time (a table size is given as an argument).

Comments (6)