If b is the branding factor and m is the maximum depth of the search tree, what is the space complexity of greedy search?
Show answerHide answer
Correct answer: (C) O(bᵐ)
Explanation
In the worst case greedy (best-first) search keeps all generated nodes in memory. With branching factor b and maximum depth m, the space complexity is O(bᵐ).