Explain breadth-first and depth-first search, when each fits, what goes wrong for DFS on infinite branches, how iterative deepening fixes it, and where these show up in practice.
Explain breadth-first and depth-first search, when each fits, what goes wrong for DFS on infinite branches, how iterative deepening fixes it, and where these show up in practice.
Opens with the full question.