Booking.com interview question

Backend implementation of an API