Exercise #1
Which vertices will be visited during
dfs(g)
:
How can we ensure that
all
vertices are visited?