Question: Which algorithm is more memory efficient for deep graphs?
Options:
Correct Answer: DFS
Solution:
DFS is generally more memory efficient for deep graphs because it uses a stack and does not need to store all nodes at the current level like BFS does.