Depth-First Search (DFS) & 3-Color Cycle Detection
Explore branches to completion, track `visiting` vs `visited` states, and classify back-edges.
This lesson has not been built yet.
Related problems 2
-
Number of Islands
-
Clone Graph
Explore branches to completion, track `visiting` vs `visited` states, and classify back-edges.
This lesson has not been built yet.