Which data structure is used in Depth First Search (DFS)?

Explanation:

DFS uses stack (either explicitly or via recursion) to explore nodes.

Explore more in Computer Science: