Learn
Practice
Newsletter
Resources
Animations
New
F
Toggle theme
0
F
0
Toggle menu
← Back to All Animations
332. Reconstruct Itinerary
1
findItinerary()
Standard
With Cycle
Small
Custom
tickets
=
[["MUC","LHR"],["JFK","MUC"],["SFO","SJC"],["LHR","SFO"]]
JFK
LHR
MUC
SFO
SJC
Unvisited
Current
In Result
Unused
Using
Step:
Start: Reconstruct itinerary from JFK using all tickets
0 / 30
Standard
With Cycle
Small
Custom
tickets
=
[["MUC","LHR"],["JFK","MUC"],["SFO","SJC"],["LHR","SFO"]]
0 / 30
JFK
LHR
MUC
SFO
SJC
Unvisited
Current
In Result
Unused
Using
Step:
Start: Reconstruct itinerary from JFK using all tickets
1
findItinerary()