InterviewLegend

Design Hotel Reservation

Frequently asked
Alex Chen40 min readUpdated 309 real interview reports
The prompt. Design a hotel reservation platform that aggregates rooms from many hotel providers. A guest searches by city and dates, sees available rooms with prices, and books one. The booking has to be reliable and must never sell the same room twice, even though the underlying inventory lives with third-party providers whose systems you do not control.

Reports of this round describe a whiteboarding session that deliberately mixes high-level and low-level design, with the follow-ups arriving as separate tabs in the HackerRank portal. So expect to draw the architecture and then get pulled down into the schema, the exact query that reserves a room, and what happens when two guests race for the last one. Read the prompt for its shape before drawing anything. Search traffic dwarfs booking traffic. A guest searches many times and books at most once. So this is a read-heavy system with a small, precious write path. The write path barely moves. It just cannot be wrong.

The word that changes everything here is "providers." You are building an aggregator, closer to a travel marketplace, pulling inventory from many external systems and reselling it. That means the real source of truth for whether a room is free often sits inside someone else's API, not your database. A clean single-database booking design is only half the answer. The other half is how you stay fast and correct on top of inventory you can see but do not own.

The Wayfair angle
This prompt is reported as a mix of HLD and LLD in the same round, which tells you how it is scored. The interviewer wants the boxes-and-arrows architecture. Then they want to see you turn one of those boxes into a normalized schema, an API with real payloads, and the SQL that reserves a room without a race. That low-level pull is the Wayfair signature. Two candidates can draw the same diagram, and the one who can write the conditional UPDATE that prevents double-booking, and explain why it is safe, is the one who moves forward. Treat the data model as a first-class deliverable.
What's inside
  • 1 diagram
  • 5 sections
  • about 40 min

Premium lessonWayfair interview guide

These took digging.

What candidates walked out with, from 20,000+ reports, forum threads behind logins and write-ups in Chinese. Then solved step by step.

100 companies. Checked every month.

Unlock all 100 companies

$49 a year · less than $1 a week · 30-day money-back guarantee

Had your Wayfair interview?Tell us what they asked. Reviewed before it goes in, never with your name.
Wayfair interview guide

Know what Wayfair asks before you walk in.

19 coding · 3 system design · 24 behavioral questions

Get Premium$49 a year · 30-day money-back guarantee
Or start freeNo card.

Get their questions first.

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