sequence would the BFS traversal of given
What sequence would the BFS traversal of the given graph yield?


Right Answer is:
A B D C E F
SOLUTION
In BFS nodes get explored and then the neighbors of the current node get explored, before moving on to the next levels.
The sequence of the BFS traversal of the given graph yield is A B D C E F.