Skip to content
Sign in
General Knowledge

Depth-First Search (DFS) typically uses which data structure?

Tap an option to check the answer. You can also press A–D.

Explanation
DFS uses a stack (or recursion) to explore as deep as possible before backtracking.