Skip to the guide

Design movie ticket booking (like BookMyShow or Fandango)

IntermediateCase study11 pages

The interviewer asks you to design the software behind a cinema's seat booking. Picture an old cinema's counter, with a paper chart of seats for each show. The clerk pencils your name on the seats you point at and writes a time beside it. Come back in time with the money and she inks it in. Come back later, and your pencil counts as blank.

The closest other case study is the parking lot, where a driver takes any free spot and a customer here points at one exact seat. Interviewers like it because two people want one seat, and a hold can run out. Ticket booking covers many servers, and this page keeps to the classes.

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 movie ticket booking system.

You: Does the customer pick exact seats, or ask for any two together?

Interviewer: Exact seats, from a map of the screen.

You: What happens between choosing and paying?

Interviewer: The seats are held for ten minutes. After that, anyone may take them.

You: How are seats priced, and how many can one person have?

Interviewer: Regular seats cost $12 and premium seats $18. One customer may have at most six on a show.

You: Is the payment part of this?

Interviewer: An outside card company takes it. It can be slow, say no, or not reply.

You: Then I'll build hold, pay, cancel and the seat map. Search and later refunds are out. OK?

Interviewer: Good.