PPractick

System design interview question

Design a restaurant table booking system

Medium · System design (HLD) · Company tags: Google, Amazon

The prompt

"Design a restaurant reservation system. Diners search for a table for four at 8pm on Friday; restaurants have a small number of tables of different sizes; and — the interesting part — tables can be combined, and a booking occupies a table for an uncertain duration. 100,000 restaurants."

What this round really tests

small, heterogeneous inventory with a soft duration, which is genuinely different from rooms or seats. Two distinctive hard parts: a party of four can be seated at one four-top or two two-tops pushed together, so availability is a packing problem; and the meal length is unknown, so an occupancy model must be estimated rather than booked.

Clarifying questions worth asking

Practise questions like this with a real engineer

On Practick another engineer interviews you live for 60 minutes on a question from this bank. They have the full interviewer guide beside the call: the answers to your clarifying questions, the numbers to hand out, a ladder of follow-ups and a scoring rubric. You get the model solution once the session settles. It is free: interview someone for an hour and you have earned your own.

Book a free mock interview

Related questions

All 132 system design interview questions

System design mock interviews · DSA interview questions · Free mock interview practice · Browse interviewers · Sign in