Depth-first search
Jump to navigation
Jump to search
Definition
Pseudocode
DFS(G)
- 1for each vertex u ∈ V [G]
- 2do color[u] ← WHITE
- 2do color[u] ← WHITE
3
4
5
6