Question: What is the primary difference between BFS and DFS?
Options:
Correct Answer: BFS explores nodes level by level, DFS explores as far as possible along a branch
Solution:
The primary difference is that BFS explores nodes level by level, while DFS explores as far as possible along a branch before backtracking.