Available question text
Implement restaurant waitlist API and data structure with the following requirements: 1) A party of customers can join the waitlist (with a reasonable limit of n people). 2) A party which has joined the waitlist can leave at any time. 3) When a table becomes free, serve the first party on the waitlist that fits the available size (e.g., a party of 4 can join a table of 6 if they are first in waitlist, but a party of 8 doesn't fit at a table of size 6).
Related questions
Continue with questions that share topics or the same question type.
- Design a Drawing API for a Vector Graphics Editor
Object-oriented design
- Design a Linux Find Command API
Object-oriented design
- Design a restaurant menu system
Object-oriented design
- Design a Battleship game
Object-oriented design
Sources · 1 reference
These records explain where the question appears. A company tag or candidate report does not guarantee a future interview question.
Hello Interview · 1 record
Google
Implement Restaurant Waitlist API
Reported Aug 1, 2026 · 3 source reports
MID_LEVEL, SENIOR
Source snapshot: Nov 12, 2026
View source