12.01 · Problem
Reconstruct Itinerary
This problem is part of solulu Pro
Each ticket [from, to] is a flight. All tickets belong to one traveller who starts at "JFK". Use every ticket exactly once and return the itinerary. If several itineraries are valid, return the one that is…
Lifetime ₹1,999 ₹999 · Launch offer
Item 93 of 150 · updated 2026-10-12