InterviewLegend

Design a Seat Booking System

Frequently asked
Alex Chen45 min readAdded 392 real interview reports

A seat booking system sells a fixed set of named seats for each show. The user picks a few free seats, and the system holds them for that user while they pay. If the payment goes through, the seats become a booking and a ticket. If it doesn't, the hold runs out and the seats go back on sale. Most of the product is ordinary: search, a seat map, a checkout page. The hard part is one row in a database that thousands of people want at the same moment. That makes this a concurrency question dressed as a product question, and Goldman panels tend to treat it that way.

The Goldman Sachs angle
At Goldman this prompt comes in several costumes. Analyst rounds have used a theater (two users, one seat, then unpaid holds) and IRCTC, India's railway site, with a Kafka question. VP rounds have used course booking. Scarce seats, expiring holds and failed payments run through all of them; this lesson builds the theater version and covers the others.

Goldman SachsPremium lesson · System design round

The Goldman Sachs design, worked end to end.

  1. The API and data modelSystem design · Frequently asked
  2. The design, drawn out3 diagrams
  3. 4 deep divesWith the tradeoffs
Get the Goldman Sachs questions

$49 a year · all 107 companies · instant access

392 Goldman Sachs interview reports · guide updated

Goldman Sachs interview guide

Know what Goldman Sachs asks before you walk in.

22 coding · 7 system design · 22 behavioral questions

Get Premium$49 a year · Instant access
Or start freeNo card.

Get their questions first.

Had your Goldman Sachs interview?How we research

InterviewLegend is independent and not affiliated with or endorsed by any company it covers.