Math, asked by ayushagrawal02212, 6 months ago

what is the space complexity of depth-first search?​

Answers

Answered by Anonymous
0

Answer:

Depth First Search has a time complexity of O(b^m), where b is the maximum branching factor of the search tree and m is the maximum depth of the state space. Terrible if m is much larger than d, but if search tree is "bushy", may be much faster than Breadth First Search.

Answered by deekshitha565
0

Answer:

Depth First Search has a time complexity of O(b^m), where b is the maximum branching factor of the search tree and m is the maximum depth of the state space. Terrible if m is much larger than d, but if search tree is "bushy", may be much faster than Breadth First Search.

Similar questions