Design a Meeting Room Scheduler

Medium · Low-Level Design · about 45 minutes

Asked at Microsoft, Google, Atlassian, Salesforce, Workday, Glean.

Design a meeting room booking system for an office. Rooms have a capacity. book(start, end, attendees) finds a free room big enough for the attendees and books it, or fails. Users can cancel bookings and list a room's bookings for a day. Two people booking the last free slot at once must not both succeed.

Related guides