~/companies / Airbnb
Airbnb problems
19 problems in the style reported for Airbnb interviews and assessments, easy to hard. bossfight.dev isn't affiliated with Airbnb.
0 of 19 solved
What the set leans on
Greedy with sorting · 3 Bitmask DP · 2 Simulation · 2 BFS / multi-source BFS · 1 Binary search on the answer · 1 DFS and connected components · 1 Intro DP · 1 Hash maps and counting · 1 Intervals / sweep line · 1 Iterators and generators · 1 Knapsack and coin change · 1 Object-oriented design and extensible simulations · 1 Parsers and interpreters · 1 Topological sort (Kahn's) · 1 Trie · 1
- Account registration deduplication Hash maps and counting ~15 min easy
- Score a tile-laying board BFS / multi-source BFS ~15 min easy
- Splitting a refund across payments Greedy with sorting ~15 min easy
- URL Query Parameter Parsing Parsers and interpreters ~20 min easy
- Flatten a 2D array, with remove assessment 2 levels Iterators and generators ~25 min easy
- Collatz Sequence Steps Intro DP ~25 min medium
- Fill a layover with experiences Knapsack and coin change ~25 min medium
- Find Median In Large Array Binary search on the answer ~25 min medium
- Maximum Task Rewards Greedy with sorting ~25 min medium
- Text box formatter Simulation ~25 min medium
- Wrap articles for a narrow screen Simulation ~25 min medium
- Best run down the mountain Topological sort (Kahn's) ~30 min medium
- Cheapest way to order everything you want Bitmask DP ~30 min medium
- Crack a 4-digit code with exact-match feedback Greedy with sorting ~30 min medium
- Split stays Intervals / sweep line ~30 min medium
- Tag known phrases in a guest review Trie ~35 min medium
- Retriable function assessment 3 levels Object-oriented design and extensible simulations ~45 min medium
- Every cheapest way to order a meal Bitmask DP ~40 min hard
- Minimum servers to activate DFS and connected components ~40 min hard