Depth-first search

From Algowiki
Revision as of 16:19, 14 August 2014 by JanR (talk | contribs)
Jump to navigation Jump to search

Definition

Pseudocode

DFS(G)

1for each vertex uV [G]
2do color[u] ← WHITE

3
4
5
6