Reconstruct Itinerary — Shortest Paths & MST

Rebuild a pilot's airport route from shuffled one-way flight records, using each once, starting at a home airport and breaking ties alphabetically.

Shortest Paths & MST · Hard

More in Shortest Paths & MST

All algorithm problems