The Breadth First Search algorithm has been implemented using the queue data structure. One possible order of visiting the nodes of the following graph is
MNOPQR
NQMPOR
QMNPRO
QMNPOR
This question is part of this quiz :
Top MCQs on Graph Traversals with Answers