Booking.com interview question

Hackerrank Q(s): 3. 2D Lists