Airbnb Coding & Algorithms Interview Questions

Airbnb Coding & Algorithms interview questions typically probe not just whether you can arrive at a correct solution, but how you think about constraints, trade-offs, and production-readiness. Interviews often focus on arrays and strings, hashing, trees and graphs, dynamic programming, and complexity analysis, with medium-to-hard LeetCode-style problems appearing in coding rounds. Interviewers evaluate algorithmic problem solving, clear decomposition, code quality (readability, edge-case handling, tests), and communication — plus a practical sense for performance and scalability when relevant. Expect a mix of take-home or online coding screens, paired coding sessions, and live whiteboard-style rounds. For interview preparation, prioritize mastering core data structures and patterns, timed practice on medium-to-hard problems, and mock pair-programming to sharpen verbal explanation and collaborative coding. Practice walking through complexity trade-offs, writing clean, well-tested code, and explaining edge cases and optimizations. Refresh fundamentals like hashing, two-pointers, sliding windows, DFS/BFS, and memoization, and rehearse concise, structured explanations so your interviewer can follow your reasoning.

54 Questions 1 Company08.02.2026
Showing 20 results
Role
Airbnb logo
Airbnb
Medium
Software Engineer

Maximize reward by scheduling jobs

Given n jobs, each with a start time, end time, and reward, choose a subset of non-overlapping jobs to maximize total reward. Return the maximum rewar...

Coding & Algorithms
24
1
166 people solved
Sep 6, 2025
Airbnb logo
Airbnb
Easy
Software Engineer Locked

Implement Text Layout and Query Parsing

This question evaluates string-processing and parsing competencies, covering tokenization, constrained line-wrapping and layout decisions (including p...

Coding & Algorithms
6
2
65 people solved
Mar 9, 2026
Airbnb logo
Airbnb
Medium
Software Engineer

Compute minimum-cost service cover

You are given: ( 1) a list of rental service packages, where each package contains a set of services (strings) and a non-negative price, e.g., [(["wif...

Coding & Algorithms
23
0
183 people solved
Jul 26, 2025
Airbnb logo
Airbnb
Medium
Software Engineer

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...

Coding & Algorithms
37
0
269 people solved
Oct 28, 2025
Airbnb logo
Airbnb
Medium
Software Engineer Locked

Compute board-game score from regions

This question evaluates grid traversal and connected-component identification skills along with region-based aggregation (counting cells and summing c...

Coding & Algorithms
44
1
537 people solved
Feb 12, 2026
Airbnb logo
Airbnb
Medium
Software Engineer Locked

Simulate pouring water onto terrain

This question evaluates a candidate's ability to implement a discrete simulation and perform array manipulation while correctly handling deterministic...

Coding & Algorithms
32
4
233 people solved
Feb 11, 2026
Airbnb logo
Airbnb
Hard
Software Engineer Locked

Find a split-stay booking across listings

This question evaluates understanding of interval coverage and algorithmic problem solving, specifically reasoning about continuous date ranges, split...

Coding & Algorithms
7
0
84 people solved
Jan 22, 2026
Airbnb logo
Airbnb
Medium
Software Engineer

Design menu DP and optimize for three items

You are given a restaurant menu with n single items and m combo offers. Each single item i has a price p[i] (in cents). Each combo j specifies nonnega...

Coding & Algorithms
5
2
41 people solved
Sep 6, 2025
Airbnb logo
Airbnb
Medium
Software Engineer

Implement prioritized refund allocation engine

Implement a refund allocation function that takes: (a) a list of payments, each with a unique paymentId, method ∈ {CREDIT, CREDIT_CARD, PAYPAL}, ISO-8...

Coding & Algorithms
26
2
224 people solved
Sep 6, 2025
Airbnb logo
Airbnb
Medium
Software Engineer

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...

Coding & Algorithms
22
0
223 people solved
Sep 6, 2025
Airbnb logo
Airbnb
Medium
Software Engineer

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...

Coding & Algorithms
18
0
229 people solved
Aug 4, 2025
Airbnb logo
Airbnb
Medium
Software Engineer

Review Python geodata code

Question You are given a Python codebase that performs geolocation data processing. Conduct a thorough code review: identify readability, correctness,...

Coding & Algorithms
8
0
31 people solved
Jul 29, 2025
Airbnb logo
Airbnb
Medium
Software Engineer

Find minimal property set in neighborhood

You are given a list of properties, each Property(id: int, neighborhood: string, capacity: int). Given a targetNeighborhood (string) and groupSize (in...

Coding & Algorithms
31
0
286 people solved
Sep 6, 2025
Airbnb logo
Airbnb
Medium
Software Engineer

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...

Coding & Algorithms
30
1
279 people solved
Sep 6, 2025
Airbnb logo
Airbnb
Medium
Software Engineer

Maximize tokens from nested crates

You are given n crates, each either locked or unlocked. Each crate i contains: an integer tokens[i]; a list of keys that can unlock other crates; and ...

Coding & Algorithms
22
1
234 people solved
Aug 12, 2025
Airbnb logo
Airbnb
Medium
Software Engineer

Design and implement Connect Four engine

Design and implement a Connect Four game engine. Use a default 6x7 board and two players. Provide an API with: drop(col, player) returning the row pla...

Coding & Algorithms
14
0
126 people solved
Jul 16, 2025
Airbnb logo
Airbnb
Hard
Software Engineer

Solve a Two-by-Three Sliding Puzzle

Solve a Two-by-Three Sliding Puzzle You are given a 2 x 3 board containing the integers 0 through 5 exactly once. The value 0 is the empty square. In ...

Coding & Algorithms
1
0
10 people solved
Apr 21, 2026
Airbnb logo
Airbnb
Medium
Software Engineer

Solve Linked-List and Iterator Problems

You are asked to solve two coding problems. Problem 1: Detect shared nodes between possibly cyclic linked lists You are given the heads of two singly ...

Coding & Algorithms
10
0
99 people solved
Apr 8, 2026
Airbnb logo
Airbnb
Hard
Software Engineer

Infection Spread Time on a Grid

Infection Spread Time on a Grid You are given an m x n grid where every cell holds one of three integer values: - 0 — an empty cell that can never be ...

Coding & Algorithms
0
0
7 people solved
Mar 4, 2026
Airbnb logo
Airbnb
Medium
Software EngineerSenior+

Parse Query Parameters Into a Map

Implement a function that parses the query portion of a GET URL and returns a map from query keys to parsed values. Input is a string that may start w...

Coding & Algorithms
2
1
17 people solved
Mar 2, 2026

Frequently Asked Questions

How difficult are Airbnb Coding & Algorithms interview questions?
Airbnb Coding & Algorithms questions are often rated around medium with some interviews including hard problems for more senior levels. Expect time pressure and follow-up variations that probe edge cases, complexity trade-offs, and implementation robustness; interviewers frequently look for correct, readable code plus clear problem decomposition rather than a perfect one-line trick. Candidates who move forward typically demonstrate algorithmic intuition, complexity awareness, and steady communication while coding. Practical problem types tend to mirror LeetCode-style algorithm problems used across technical phone screens and on-site coding rounds.
Where in Airbnb's interview process do Coding & Algorithms questions typically appear and what does the process look like?
Coding and algorithmic questions appear throughout Airbnb’s technical funnel: an initial online assessment or take-home exercise, one or more timed phone or virtual coding screens using a collaborative editor, and multiple on-site or virtual onsite technical rounds focused on algorithmic problems. The on-site loop also usually includes system design and behavioral/value interviews, so expect coding rounds to be interleaved with other evaluations. Interviewers commonly assess correctness, edge-case handling, complexity analysis, and communication while you code. The structure and tools (OA platforms, CoderPad) are consistent with public candidate reports.
How should I structure my prep timeline for Airbnb Coding & Algorithms interviews?
A sensible timeline is paced practice over several weeks: the first phase should solidify fundamentals—arrays, strings, hashing, trees, graphs, and complexity—followed by targeted problem practice and timed mock interviews. Midway, focus on medium-to-hard LeetCode-style problems and pair-programming simulations to improve communication under time constraints. In the final weeks, rehearse end-to-end question flow, polishing edge-case checks and test cases, and run at least a few full mock interviews under realistic timing. Many successful candidates mirror company-style OAs and timed CoderPad rounds in their prep regimen.
What key subtopics within Coding & Algorithms does Airbnb emphasize?
Airbnb emphasizes classic algorithmic subtopics: array and string manipulation, hash maps and frequency counting, two-pointer and sliding-window techniques, trees and graph traversals (BFS/DFS), sorting and heaps, dynamic programming patterns, and complexity analysis. Equally important are clear handling of NULLs and edge cases, writing correct and testable code, and explaining trade-offs between solutions (space/time). For many roles, interviewers also probe problem modeling, incremental optimization, and ability to generalize patterns rather than rote memorization of specific problems.
What standout tips help candidates perform well, and what common pitfalls should they avoid?
Standout tips include clarifying requirements upfront, discussing high-level approaches before coding, iterating with a correct but simple solution, and then optimizing while explicitly analyzing complexity. Verbally walk through examples and edge cases and keep code readable with small helper functions. Common pitfalls to avoid are diving into code without confirming constraints, ignoring boundary conditions, failing to test with simple cases, and not communicating trade-offs. Interviewers at Airbnb often expect working code that passes tests and clear rationale for choices, so prioritize correctness, clarity, and incremental improvement.

Explore more Airbnb Coding & Algorithms interview questions

Real questions from candidate reports, grouped by role, topic and company.

By role
Other categories at Airbnb
Coding & Algorithms questions at other companies
Browse all