Shortest path in city graph
Filed under Cvent
The question
Find the shortest path from city 1 to city N, where moves are allowed to x+1, x-1, or any city with the same character.
No write-up yet. Related questions below have one.
Related Cvent questions
Collected from public candidate posts and coding forums. Updated Nov 2026.