AlgoFrames

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