Skip to main content

Airbnb Coding Interview Questions

32 Airbnb coding interview problems with full optimal solutions — 1 easy, 20 medium, 11 hard. Every problem ships with multiple approaches (brute-force first, then the optimal), complexity tables for each, company-specific tips on what an Airbnb interviewer values, and a FAQ section.

Showing 19 problems of 32

  • #49mediumfoundational

    49. Group Anagrams

    Cluster words that are rearrangements of each other — Airbnb's search team applies this hash-map grouping pattern to deduplicate listing titles that differ only in word order, surfacing canonical results to guests.

  • #56mediumfoundational

    56. Merge Intervals

    Collapse overlapping date ranges into clean availability windows — the exact interval-merge logic Airbnb's calendar engine runs every time a host blocks dates or a guest extends a stay.

  • #57mediumfoundational

    57. Insert Interval

    Splice a new booking into a sorted availability list without disturbing existing reservations — Airbnb's calendar service does this on every Instant Book confirmation that lands between two blocked windows.

  • #78mediumfoundational

    78. Subsets

    Generate every combination of amenities a listing can offer — Airbnb's search filter engine enumerates amenity subsets to build exhaustive filter option sets for features like pool plus wifi plus kitchen on the host settings page.

  • #200mediumfoundational

    200. Number of Islands

    Count connected land clusters on a grid map — Airbnb's geo-clustering engine uses the same connected-components logic to group nearby listings into distinct neighborhood zones for the search map view.

  • #238mediumfoundational

    238. Product of Array Except Self

    Compute each element's contribution without knowing the whole product — Airbnb's pricing engine uses leave-one-out multiplications when computing the relative impact of a single listing's price on an aggregated market signal.

  • #253mediumfoundational

    253. Meeting Rooms II

    Find the minimum number of rooms needed for overlapping meetings — Airbnb applies this directly to host-support queues, determining how many concierge agents must be on-call during peak booking hours.

  • #355mediumfoundational

    355. Design Twitter

    Build a follow graph with a merged activity feed — Airbnb's host-community product uses an identical follow/feed design to let guests subscribe to hosts and see their latest listings, reviews, and availability updates.

  • #621mediumfoundational

    621. Task Scheduler

    Minimize total time when identical tasks must cool down between runs — Airbnb's host-onboarding pipeline applies this cooling-period logic to ensure the same verification job does not re-run on the same listing until a mandatory review window has passed.

  • #1094mediumfoundational

    1094. Car Pooling

    Check whether a shared vehicle ever exceeds capacity across multiple pickup-dropoff trips — Airbnb's Trips team applies this interval-difference-array pattern to validate that shared shuttles to airports never overbook across overlapping passenger legs.

  • #207mediumfrequently asked

    207. Course Schedule

    Given courses and prerequisites, determine if you can finish all courses. Airbnb asks this to test whether you map the problem to 'is the directed graph a DAG?' and reach for either Kahn's BFS or DFS 3-color.

    3 free resourcesSolve →
  • #314mediumcompany favorite

    314. Binary Tree Vertical Order Traversal

    Return the values of a binary tree visited in vertical order, top to bottom, left to right. Airbnb asks this to test BFS with column tracking and how you order ties (left before right at the same row).

    3 free resourcesSolve →
  • #347mediumfrequently asked

    347. Top K Frequent Elements

    Given an integer array and integer k, return the k most frequent elements. Airbnb asks this to test whether you reach for bucket sort or a min-heap — both beat the naive sort.

    3 free resourcesSolve →
  • #380mediumcompany favorite

    380. Insert Delete GetRandom O(1)

    Design a set supporting insert, remove, and getRandom all in O(1) average. Airbnb asks this to test the array + hash-map-of-indices pattern — array gives O(1) random; hash map gives O(1) lookup; swap-remove keeps both true.

    3 free resourcesSolve →
  • #545mediumcompany favorite

    545. Boundary of Binary Tree

    Return the values on the boundary of a binary tree: left side top-down, leaves left-to-right, right side bottom-up. Airbnb asks this to test combining three different traversals without double-counting corners.

    3 free resourcesSolve →
  • #755mediumcompany favorite

    755. Pour Water

    Simulate dropping V units of water at index K on a height array. Each unit prefers left, then right, then stays. Airbnb asks this to test careful simulation — the rules are pickier than they look.

    3 free resourcesSolve →

Related interview-prep guides

Interview Platforms

CoderPad Live Coding Interview Guide (2026): What the Pad Tracks and How to Walk Through It Cleanly

CoderPad is the default live-coding environment for human-led technical interviews in 2026. Used by YC startups, FAANG-tier teams, and most of the tech mid-market. The pad records every keystroke, every paste event, every language switch, and offers an interviewer scrub-back feature most candidates never realize exists. This is what CoderPad tracks, how the live session compares to async assessments, and how a modern desktop AI setup pairs with it without showing up in the screen-share.

Interview Platforms

Replit for Tech Interviews in 2026: The Full-IDE Take-Home Guide

Replit-for-hiring is the full-IDE take-home format. The candidate gets a forked Repl, hours or days to ship a working project, and a commit history the reviewer will scrutinize line-by-line. This guide breaks down what Replit captures, what it doesn't, and how a desktop AI setup pairs with the multi-day window.

Interview Platforms

Zoom Tech Interview Guide 2026: How the Platform Works for Engineering Hiring

Zoom is the most-deployed video meeting software in US tech hiring. It is the default from one-person startups to Fortune 100 engineering orgs. It is general-purpose meeting software, not an anti-cheating platform. This guide covers what Zoom sees during a tech interview, the screen-share modes hiring teams use, the OS-level boundary the platform cannot cross, and how a modern desktop interview assistant pairs with the standard Zoom tech-interview flow.

Airbnb Coding Interview Questions — Full Solutions — InterviewChamp.AI