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