Question: What is the primary purpose of Breadth-First Search (BFS) in graph traversal?
Options:
Correct Answer: To explore all vertices at the present depth before moving on to vertices at the next depth level
Solution:
BFS explores all vertices at the present depth level before moving on to the next level, making it suitable for finding the shortest path in unweighted graphs.