Airbnb Coding Interview Questions: 26 Tagged Problems
26 coding problems tagged Airbnb — 7 easy · 8 medium · 11 hard — with solutions in 13 languages. Plus a 3-week study plan by topic.
- Problems: 26
- By difficulty: 7 easy · 8 medium · 11 hard
- Languages: JavaScript, TypeScript, Python, Java, C++, C, C#, Go, Kotlin, Swift, Rust, PHP and Ruby
- Cost: Free on every plan; sign in to run and submit
26 problems the CodeKairo catalogue tags as commonly asked in Airbnb's coding rounds — 7 easy, 8 medium and 11 hard — each judged by hidden tests in 13 languages. The most common topics among them are Arrays (16), Strings (9) and Hash Table (7). Tagged for Airbnb and no other company: Cheapest Flights Within K Stops and Regular Expression Matching. The tag is the catalogue's own annotation of where a problem tends to come up — not a list published by Airbnb, which CodeKairo is not affiliated with.
Airbnb study plan by topic
All 26 problems tagged Airbnb over 3 weeks, about 16 h 10 min of solving, grouped by technique in the order they build on each other — Hash Table, Two Pointers, Sliding Window and Sorting and 12 more.
Week 1: Hash Table, Two Pointers, Sliding Window +4
10 problems on Hash Table, Two Pointers, Sliding Window, Sorting, Binary Search, Stack and Matrix, easiest first within each topic.
- Two Sum Easy
- Happy Number Easy
- Contains Duplicate II Easy
- Minimum Window Substring Hard
- Contains Duplicate Easy
- Maximum Profit in Job Scheduling Hard
- Valid Parentheses Easy
- Basic Calculator II Medium
- Trapping Rain Water Hard
- Maximal Square Medium
Week 2: Simulation, Recursion, Bit Manipulation +3
12 problems on Simulation, Recursion, Bit Manipulation, Trie, Backtracking and Graph, easiest first within each topic.
- Add Strings Easy
- Robot Bounded In Circle Medium
- Text Justification Hard
- Regular Expression Matching Hard
- Single Number Easy
- Shortest Path to Get All Keys Hard
- Minimum Number of Flips to Convert Binary Matrix to Zero Matrix Hard
- Palindrome Pairs Hard
- Word Search II Hard
- Combination Sum Medium
- Minimum Number of Vertices to Reach All Nodes Medium
- Maximum Candies You Can Get from Boxes Hard
Week 3: Breadth-First Search, Shortest Path, Dynamic Programming
4 problems on Breadth-First Search, Shortest Path and Dynamic Programming, easiest first within each topic.
- Coin Change Medium
- Sliding Puzzle Hard
- Cheapest Flights Within K Stops Medium
- House Robber Medium
All problems tagged Airbnb
Easy (7)
- Contains Duplicate II Array, Hash Table, Sliding Window
- Add Strings Math, String, Simulation
- Happy Number Hash Table, Math, Two Pointers
- Single Number Array, Bit Manipulation
- Contains Duplicate Array, Hash Table, Sorting
- Valid Parentheses String, Stack
- Two Sum Array, Hash Table
Medium (8)
- Robot Bounded In Circle Math, String, Simulation
- Minimum Number of Vertices to Reach All Nodes Graph
- Basic Calculator II Math, String, Stack
- Maximal Square Array, Dynamic Programming, Matrix
- Combination Sum Array, Backtracking
- Cheapest Flights Within K Stops Graph, Dynamic Programming, Shortest Path
- Coin Change Array, Dynamic Programming, Breadth-First Search
- House Robber Array, Dynamic Programming
Hard (11)
- Maximum Candies You Can Get from Boxes Array, Breadth-First Search, Graph
- Minimum Number of Flips to Convert Binary Matrix to Zero Matrix Array, Hash Table, Bit Manipulation
- Word Search II String, Backtracking, Trie
- Shortest Path to Get All Keys Array, Bit Manipulation, Breadth-First Search
- Maximum Profit in Job Scheduling Array, Binary Search, Dynamic Programming
- Palindrome Pairs Array, Hash Table, String
- Text Justification Array, String, Simulation
- Sliding Puzzle Array, Matrix, Breadth-First Search
- Regular Expression Matching String, Dynamic Programming, Recursion
- Minimum Window Substring String, Sliding Window, Hash Table
- Trapping Rain Water Array, Two Pointers, Dynamic Programming
Topics Airbnb asks most
- Arrays 16 problems
- Strings 9 problems
- Hash Table 7 problems
- Dynamic Programming 7 problems
- Matrix 5 problems
- Breadth-First Search 5 problems
- Math 4 problems
- Stack 3 problems
- Simulation 3 problems
- Bit Manipulation 3 problems
- Graph 3 problems
- Two Pointers 2 problems