Depth-first search (DFS)
A specialization of the generic search that
tests one vertex at all depths
before checking others at the same depth.
A specialization of the generic search that
tests one vertex at all depths
before checking others at the same depth.