Pregunta de entrevista de Booking.com

4 Algorithmic questions with tricky test cases