A

Admin • 833K Points
Coach

Q. Which search method takes less memory?

  • (A) depth-first search
  • (B) breadth-first search
  • (C) linear search
  • (D) optimal search

Explanation by: Admin

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.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.