Use both the depth-fi rst strategy and the breadth-fi rst strategy to traverse the graph in Figure 20-33 , beginning with vertex 0, and the graph in Figure 20-36 , beginning with vertex a . List the vertices in the order in which each traversal visits them.
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here