Depth First Search
1. Which one of the following data structures is used in DFS?
2. What is backtracking in DFS?
3. What should DFS do when it encounters an already visited vertex?
4. Which statement correctly describes recursive DFS?
5. In DFS, why is a visited array or set maintained?
6. Which of the following can DFS be used for?
7. Which of the following best describes the DFS traversal of a graph with cycles?
8. Suppose DFS starts at vertex and follows the path . Vertex has no unvisited adjacent vertex. What should happen next?
9. If an iterative DFS uses a stack, which vertex is processed first when several vertices are available on the stack?