← Questions

Restaurant waitlist manager

0
GoogleCodingLast asked Mar 2026

Build a waitlist for a restaurant: parties join with their size, may leave before being seated, and when a table frees up you seat the party that should get it. Keep each operation fast and explain your data structures.

Write and test your solution herePython in your browser, the question's tests level by level, every submission kept for you.Sign in to start coding