Booking.com Interview Question

Two coding questions, two multiple choices