LeetCode 332: Reconstruct Itinerary
Problem Restatement We are given a list of airline tickets. Each ticket is a pair: [from, to] meaning there is a flight from airport from to airport to . We need to reconstruct the itinerary in order. Rules: Rule Meaning Start airport The itinerary must start from "JFK" Use all tickets Every ticket must be used exactly once Lexicographic order If multiple valid itineraries exist, return the smallest one Guarantee...