ABCpath
hardNeetCode 150

Reconstruct Itinerary

Reconstruct Itinerary rewards structured search and good pruning more than raw cleverness. It's a hard one for a reason: it stresses structured exploration when the rules pile up. The gotcha is duplicates and dead ends—good pruning and ordering rules make this manageable.

BacktrackingBFS / DFSGraphs
👩‍🏫
👨‍💼

Meet Allison & Tim

Your AI coaches

Practice coding interviews out loud with real-time voice coaching. Your code actually runs.

Free · No sign up · Early access
1Reconstruct Flight Itineraryhard
Based onLeetCode

Get this problem sent to your inbox