Skip to the guide

Design meeting rooms and calendar

IntermediateCase study11 pages

The interviewer asks you to design meeting room booking, with a calendar for each person. Picture the booking diary on a community centre's front desk, with one page for each room and bookings in time order. A booking that ends at 3 o'clock lets the next start at 3, and only one person writes in the diary at a time.

It is also asked as "design a meeting room scheduler", and the closest other case study is movie ticket booking, where two people want one seat. Interviewers like this one because the scarce thing is a time range, not a seat, so the usual free list doesn't fit.

Below is a full 45-minute round on the LLD framework. At each Guess before you read on, stop and answer first. The full runnable project is a download in Java, JavaScript and Python.

Run the full project

This design as a project you can run, with its tests and a demo. You only need Java 21, Node 24 or Python 3.13. The README says how to run it.

Step 1 · Clarify the requirements and cut the scope

Minutes 0–5 · How this step works

Interviewer: Design a meeting room booking system with a calendar for each person.

You: Does the person pick the room, or does the system?

Interviewer: They give the people and the time, and the system picks the smallest free room that seats everyone.

You: Can a person be in two meetings at once?

Interviewer: Yes, as in any calendar. A room never can.

You: If one meeting ends at 15:00, can the next start at 15:00?

Interviewer: Yes. And nobody books a meeting that has already started.

You: The offices are in several countries. How do times arrive?

Interviewer: The app sends UTC and shows each person their local time.

You: Then I'll build book, cancel, each person's agenda and each room's meetings. Recurring meetings, invitations and reminders are out. OK?

Interviewer: Good.

Time ranges make each room keep its meetings in order, and "the system picks" becomes a room rule. Because a person may be double-booked, only the room is checked, and UTC means a time is one number.