Reconstruct Itinerary

Try to solve the Reconstruct Itinerary problem.

Statement

Given a list of airline tickets where tickets[i] = [fromi, toi] represent a departure airport and an arrival airport of a single flight, reconstruct the itinerary in the correct order and return it. ...

Access this course and 1400+ top-rated courses and projects.