Pergunta de entrevista da empresa Booking.com

Two coding questions, two multiple choices