Question d’entretien chez Booking.com

Regular data structures and algorithm question