Booking.com interview question

Calculations based on a reservations dataset