medium

Design a Hotel Booking System

Design a system that allows users to search for and book hotel rooms. The system should manage rooms, bookings, cancellations, and payments. Consider seasonal pricing, room availability, and different room types (e.g., single, double, suite).

Suggested time: 45 minutes

Loading the workspace...

About this problem

A hotel booking system looks straightforward on the surface: pick dates, pick a room, pay. But underneath, it must handle date-range availability across hundreds of rooms, seasonal pricing that changes per day, concurrent reservation attempts that could double-book the same room, and a booking lifecycle that spans from initial search through check-out. Let's break this down.

What your design needs to cover

  • Search Rooms by Date and Type

  • Book a Room with Price Calculation

  • Cancel a Booking

  • Check-In and Check-Out

  • Seasonal and Dynamic Pricing

Key challenges the editorial covers

Learn from other designs

Related problems

Guides