0 day streak
Anonymous · shared experience1 Oct 2025 · 11 views

Airbnb: Host dashboard for nights booked and average price over a date range

Interview question #Airbnb SDE 3 / Senior System design

Problem. Design a page for hosts. The host picks a date range and sees aggregate numbers for it, specifically how many nights were booked and the average nightly price.

Given. Assume three existing tables: listings, reservations and pricing.

Follow-up. A host who owns more than 100 listings finds the page slow. How would you change the underlying design so it stays fast for large hosts?

What mattered. The follow-up shows the round was mainly about performance as the number of listings grows, and about how the aggregates are computed rather than just drawing boxes.

Context. This was the 45-minute system design round of a senior-plus loop that the candidate passed. One of the coding rounds asked for an endpoint returning all two-listing split stays for a date range, given each listing's available days (for example, listings with days 1-2-3-6-7-10-11, 3-4-5-6-8-9-10-13 and 7-8-9-10-11 over days 3 to 11), with brute force first and a bitmask version as extra credit.

0 comments

Comments 0

No comments yet. Ask the author something, or add what happened in your own round.