[prev] 27 [next]

Other DFS Examples

Other problems to solve via DFS graph search
  • checking for the existence of a cycle
  • determining which connected component each vertex is in

[Diagram:Pic/example0.png]