Which data structure is generally used to implement Depth First Search (DFS)?
Options
- A. Queue
- B. Stack
- C. Priority Queue
- D. More than one of the above
- E. None of the above
Quiz Practice:
B. Stack
Correct Answer: B. Stack
Explanation: Depth First Search explores a path as deeply as possible before backtracking.