Disadvantage of BFS over DFS is
-
it requires more memory
-
it requires less memory
-
it is inefficient
-
none of the above
A
Correct answer
Explanation
Breadth-First Search (BFS) must store all nodes at the current depth level in the queue, which leads to exponential memory usage as the search tree grows. Depth-First Search (DFS) only needs to store the current path, making it more memory-efficient.