Booking.com interview question

problem solving skills and algorithms