Assignment 12 Sample Problems Sample Problems
Assignment 12 Sample Problems Sample Problems
Sample problems
Graph Search
• In the following graphs, assume that if there is ever a
choice amongst multiple nodes, both the BFS and DFS
algorithms will choose the left-most node first.
• B: DFS
• B: DFS
• B: DFS
• B: DFS