6
Exercise 1: Depth-first Traversal
Which vertices will be visited during
dfs(g)
:
How can we ensure that
all
vertices are visited?