Find departure and destination cities from the itinerary
You are on a business trip and traveling from one city to another. you have a stack of unsorted flight boarding passes. The only departure city and destination city are on the boarding pass. how do you find the first departure city and your final destination city, Example: [Dallas, Austin], [Houston, Dallas], [Austin, Seattle] Output: … Read more Find departure and destination cities from the itinerary