Which search finds the fewest stops?
Warm-up · Multiple choice · about 3 min
A metro map has stations as nodes and one edge per direct connection. Every connection counts as one stop. You want the route with the fewest stops. Pick the method.
Learn the idea first: Shortest paths in unweighted graphs; path reconstruction, a visual lesson.
More Shortest paths in unweighted graphs; path reconstruction problems
- Distance labels Warm-up
- Shortest path length Standard
- Reconstruct the path Standard
- Nearest exit in a maze Standard
- Spot the bug: wrong distances Standard
- Word ladder Challenge