Explanation: 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.
Q. Which search method takes less memory?
β
Correct Answer: (A)
depth-first search
Explanation by: Mr. Dubey
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.
Discussion
Question Analytics
482
Total Visits
3 y ago
Published
Mr. Dubey
Publisher
91%
Success Rate