Given an unordered list of flights taken by someone, each represented as (origin, destination) pairs, and a starting airport, compute the person's itinerary. If no such itinerary exists, return null. If there are multiple possible itineraries, return the lexicographically smallest one. All flights must be used in the itinerary
Answers
Answered by
0
Answer:
addjyfvbgddghbfthbbvgujbvfhhvftwSxcvgsaaed ghjkioklgdthbkopoyrcvhji
Similar questions