Question: What data structure is typically used to implement BFS?
Options:
Correct Answer: Queue
Solution:
BFS uses a queue to keep track of the vertices that need to be explored next, ensuring that vertices are processed in the order they are discovered.