← Questions

Fill a layover with the fewest bookings

0
AirbnbCodingLast asked Jun 2026

A coding interview question asked in Airbnb's coding round, last asked Jun 2026. It tests dynamic programming, coin change and bfs.

You land with a long layover and want to spend all of it on bookable local experiences. Each experience has a fixed whole-number duration in hours, and you may book the same experience as many times as you like (back to back).

Sign in to unlock this question

The full prompt, the worked answer and your own canvas or code with the AI tutor. New accounts get 5 credits: each one unlocks a question for good.

Where it's asked

  • Airbnb · Coding · Last asked Jun 202645 min · Live coding, one or two rounds, from the same pool as the screen

What it tests

dynamic programming · coin change · bfs

Your code and the AI tutor open when you unlock this question.