Which data structure conveniently used to implement DFS?
A. Stacks
B. Queues
C. Priority Queues
D. All of the above
Answer:A
Which data structure conveniently used to implement DFS?
A. Stacks B. Queues C. Priority Queues D. All of the above