โ† Booking.com questions
CodingReported in a candidate post, Jun 2025

Find all possible ways to spend total budget across cities

Filed under Booking.com

The question

Given a tourist constraint to spend a fixed number of consecutive days in each city, and a total budget, find all possible expenditure permutations where a tourist spends the required consecutive days per city without exceeding the total budget.

No write-up yet. Related questions below have one.

Related Booking.com questions

Collected from public candidate posts and coding forums. Updated Nov 2026.