Question d’entretien chez Booking.com

already described above, typical hackerrank challenge