Which data structure conveniently used to implement DFS?
(a) Stacks
(b) Queues
(c) Priority Queues
(d) All of the mentioned
The question was posed to me during an interview.
This interesting question is from Uninformed Search and Exploration in chapter Problem Solving of Artificial Intelligence