Airbnb Interview Questions
Practice the exact questions companies are asking right now.
Find a split-stay booking across listings
You are implementing a simplified split-stay search. You are given: - A desired trip interval [start, end), where dates are represented as integers (e...
Design a real-time chat system with hot groups
Design a real-time chat system (similar to an in-app messaging feature) that supports: - 1:1 and group conversations - Real-time delivery over WebSock...
Maximize sum with no adjacent tree nodes
Given the root of a binary tree where each node contains an integer value (can be 0 or positive), choose a subset of nodes such that no selected node ...
Detect overlap of two linked lists with cycles
You are given the heads of two singly linked lists headA and headB. Each list may be: - A standard acyclic linked list, or - A cyclic linked list (con...
Find valid split-stay listing combinations
You are building a feature that suggests a split stay: a guest stays in one home for the first part of a trip, then switches to a second home for the ...
Design a fast host listing metrics page
Design the backend for a host (landlord) listings page. User flow: - Host opens a page showing many of their listings. - Host selects a date range. - ...
Design a scalable notification system
Problem Design a notification system for a company at Airbnb-like scale that can send notifications to different user types (e.g., customers/guests, h...
Design a user activity query system
Problem Design a query system that allows internal consumers (e.g., customer support, risk/fraud, data analysts) to retrieve a given user's search act...
Find hotel pairs to cover a split stay
You are implementing a simplified “split stay” feature. Problem You are given: - n hotels (or listings), indexed 0..n-1. - For each hotel i, an unsort...
Compute split-stay listing pairs
Given a set of Airbnb listings, each with availability represented as a sorted list of day integers, and a requested inclusive date range [S, E], comp...
Design an A/B test with causal inference
A/B Test Design: Checkout Nudge (Guest-Level Randomization) Setup - Run dates: 2025-08-04 to 2025-08-31 (28 days). Analyze the primary metric on a mat...
Simulate pouring water onto a 1D terrain
You are given a 1D terrain represented by an integer array heights, where heights[i] is the height of the column at index i. Part 1 — Render terrain W...
Design API for split-stay combinations
Design an HTTP API for Two‑Listing Split‑Stay Search Context You are building a search service for split stays: when a guest's date range cannot be co...
Answer cross-team delivery and values questions
You are in a behavioral/values interview. Prepare structured answers (use STAR or similar) for prompts like: 1) Cross-team delivery issue - Describe a...
Compute C/T metrics from bookings and visits
Given two tables, compute control vs treatment (C/T) metrics, apply 24‑hour attribution, and generate a daily plot. Treat “today” as 2025‑09‑01; use t...
Maximize path score in DAG
Question Given a weighted directed acyclic graph (DAG) where each node v has a score w(v) and each edge (u→v) has a time cost t(u,v), starting from no...
Generate split-stay pairs efficiently
Given N Airbnb listings, each with available days as integers, and an inclusive requested date range [L, R], return all ordered pairs (X, Y) of distin...
Design split-stay combinations API
Design an HTTP API for Two-Listing Split-Stay Search Context You are designing search for a travel marketplace that supports split stays across two li...
Find max-score path in weighted DAG
You are given a directed acyclic graph (DAG). Each node v has a score w(v). Each directed edge (u→v) has a nonnegative time cost t(u,v). There is a un...
Analyze A/B test with rigorous diagnostics
A/B Test Analysis Live Walkthrough (Python) Context You are given a user-level randomized experiment dataset experiment.csv with columns: - user_id - ...