Booking.com Interview Question

On-site Graph-related problem(not so hard, BFS/DFS should be enough)