Depth-first search

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

Definition

Pseudocode

DFS(G)

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

3
4
5
6