Key Store With Sum-Dependency Cascades
Asked at Airbnb · Coding Questions · Difficulty: Medium · Last asked May 19, 2026
Implement a key store supporting `set_value(k, v)`, `set_sum(k, [other_keys])`, and `get_value(k)`. Updating a base key cascades through all dependent sum keys.
Loading the problem…
More Airbnb interview questions
- Home Page — Search + Availability + Ranking
- Split Stay: Two-Listing Date Coverage
- Airbnb Experiences — Search Ranking (ML Design)
- Query System — Time + Geo Filtered User Activity
- Airbnb Booking System Design
- Improve Booking via Cover Photo Selection (ML Design)