Flight Itinerary Planner
Citadel interview questions · Hard · Coding round · 6 tests
Use every ticket exactly once, start from JFK, and choose the lexicographically smallest valid itinerary when multiple routes exist.
The full question, tests and reference solution are available with a plan that includes Citadel.
Run your code with Ctrl+Enter to see results.