Pergunta de entrevista da empresa Booking.com

Sliding window and greedy algorithm