Which search algorithm takes less memory?
Answers
Answered by
0
Hey Friend :-)
Here is your answer
It depends upon what type of search you are performing.in general case on a tree based searching methods Depth-First Search takes less memory since only the nodes on the current path are stored, but in Breadth First Search, all of the tree that has generated must be stored.
Hoping it helps
Thanks :D
Here is your answer
It depends upon what type of search you are performing.in general case on a tree based searching methods Depth-First Search takes less memory since only the nodes on the current path are stored, but in Breadth First Search, all of the tree that has generated must be stored.
Hoping it helps
Thanks :D
Similar questions