The Breadth First Search algorithm has been implemented using the queue data…

PYQ GATE 2008

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

image.png

  1. A.

    MNOPQR

  2. B.

    NQMPOR

  3. C.

    QMNPRO

  4. D.

    QMNPOR

Attempted by 582 students.

Sign up free to check your answer

Sign up free

Explore the full course: Zero To Hero

Loading lesson…