LeetCode 332: Reconstruct Itinerary — Step-by-Step Visual Trace
Hard — Graph | Depth-First Search | Eulerian Path | Backtracking
The Problem
Given a list of airline tickets represented as pairs of departure and arrival airports, return the itinerary in order starting from JFK, using all tickets exactly once.
Appr...
blog.tracelit.dev1 min read