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