Which data structure is used for depth-first search (DFS)?
A. Stack
B. Queue
C. Array
D. Tree
Answer: Option A
Related Questions on Introduction to Data Structures
A. A collection of data values
B. A programming language
C. A set of algorithms
D. A way of organizing and storing data

Join The Discussion