Two-Listing Split Stay
Last asked Feb 28, 2026 Roles SWE
Given a set of Airbnb listings, each with a list of available days, and a requested date range, return every pair of two distinct listings whose combined availability covers the range with no overlap (the first listing covers a contiguous prefix, the second covers the remainder). ## Requirements - Implement an API endpoint that takes (listings: Map<String, List<Int>>, startDate: Int, endDate: Int) and returns all unordered pairs of listing names that can form a valid split stay. - A split is valid when listing A covers some contiguous prefix [start, k] and listing B covers the suffix `[k+1…
Airbnb Members-only question
Last asked Nov 19, 2026 Roles SWE
Object-Oriented Design Hash Table Priority Queue Event Simulation Sorting
Airbnb Members-only question
Last asked Nov 17, 2026 Roles SWE
Design Iterator String Simulation
+ 45 more Airbnb questions
New users receive 1 free token Sign up to unlock a question or try a solve
Get Started
Airbnb Members-only question
Last asked Nov 16, 2026 Roles SWE
Hash Table Simulation Binary Search Sorting Min Heap
Airbnb Members-only question
Last asked Oct 9, 2026 Roles SWE
Hash Table Object-Oriented Design Simulation String Prefix Sorting
Airbnb Members-only question
Last asked Sep 26, 2026 Roles SWE
Hash Table Min Heap Simulation Sorting State Machine
Airbnb Members-only question
Last asked Jun 26, 2026 Roles MLE SWE
Airbnb Members-only question
Last asked Jun 22, 2026 Roles SWE
code-reading refactoring python concurrency testing
Airbnb Members-only question
Last asked Jun 17, 2026 Roles SWE
Airbnb Members-only question
Last asked Jun 3, 2026 Roles SWE
Airbnb Members-only question
Last asked Jun 2, 2026 Roles SWE
bfs object-design simulation
Airbnb Members-only question
Last asked May 25, 2026 Roles SWE
Airbnb Members-only question
Last asked May 24, 2026 Roles SWE
object-design oop-design grid simulation
Airbnb Members-only question
Last asked May 19, 2026 Roles SWE
hashmap graph dependency-resolution topological-sort
Airbnb Members-only question
Last asked May 19, 2026 Roles SWE
linked-list two-pointer hashmap
Airbnb Members-only question
Last asked May 19, 2026 Roles SWE
Airbnb Members-only question
Last asked May 16, 2026 Roles SWE
string parsing hashmap string-processing
Airbnb Members-only question
Last asked May 12, 2026 Roles SWE
string string-processing simulation greedy
Airbnb Members-only question
Last asked May 3, 2026 Roles SWE MLE
bitmask state-compression-dp dp set
Airbnb Members-only question
Last asked Apr 28, 2026 Roles SWE
graph union-find hashmap dedup
Airbnb Members-only question
Last asked Apr 28, 2026 Roles SWE
array simulation greedy payment
Airbnb Members-only question
Last asked Mar 29, 2026 Roles SWE
grid bfs dfs union-find simulation
Airbnb Members-only question
Last asked Mar 20, 2026 Roles SWE
Airbnb Members-only question
Last asked Feb 28, 2026 Roles SWE
string trie string-processing hashmap
Airbnb Members-only question
Last asked Feb 28, 2026 Roles SWE
array simulation grid two-pointer
Airbnb Members-only question
Last asked Feb 28, 2026 Roles SWE
dp binary-search interval sorting
Airbnb Members-only question
Last asked Feb 19, 2026 Roles SWE
object-design data-structure binary-search
Airbnb Members-only question
Last asked Dec 23, 2025 Roles SWE
object-design oop-design idempotency concurrency
Airbnb Members-only question
Last asked Nov 25, 2025 Roles SWE
object-design in-memory-database schema-design data-structure sql
Airbnb Members-only question