Reconstruct Itinerary at eBay

Hard44.3% acceptance

This problem has 75.0% frequency at eBay.

Problem Description

You are given a list of airline `tickets` where `tickets[i] = [fromi, toi]` represent the departure and the arrival airports of one flight. Reconstruct the itinerary in order and return it. All of the tickets belong to a man who departs from `"JFK"`, thus, the itinerary must begin with `"JFK"`. If...

Read full problem and hints

Topics

Also asked at 21 companies


More eBay Questions

View all eBay questions