Q208. Which data structure conveniently used to implement DFS?
✅ Correct Answer: A) Stacks
Explanation: DFS requires node to be expanded the one most recent visited, hence stack is convenient to implement.
Q208. Which data structure conveniently used to implement DFS?
✅ Correct Answer: A) Stacks
Explanation: DFS requires node to be expanded the one most recent visited, hence stack is convenient to implement.