Question: What is the primary difference between BFS and DFS in terms of traversal strategy?
Options:
Correct Answer: BFS uses a queue, DFS uses a stack
Solution:
BFS uses a queue to explore nodes level by level, while DFS uses a stack (or recursion) to explore as far as possible along each branch before backtracking.