Problem 1971 · Easy

Find if Path Exists in Graph

Decide whether a path exists between two vertices in an undirected graph. The visual expands a search outward from the source and marks each reached vertex.

Open the interactive visualisation