InterviewSolution
Saved Bookmarks
| 1. |
The time and space complexity of BFS is (For time and space complexity problems consider b as branching factor and d as depth of the search tree.)(a) O(bd+1) and O(bd+1)(b) O(b2) and O(d2)(c) O(d2) and O(b2)(d) O(d2) and O(d2)The question was posed to me in homework.My query is from Uninformed Search and Exploration in chapter Problem Solving of Artificial Intelligence |
|
Answer» The CORRECT answer is (a) O(bd+1) and O(bd+1) |
|