Question: In Depth-First Search (DFS), which data structure is primarily used?
Options:
Correct Answer: Stack
Solution:
DFS uses a stack to keep track of the nodes to be explored, either explicitly or through recursion.