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

GATE · 2008 · CS

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 501 students.

Sign up free to check your answer

Sign up free

Explore the full course: Gate Guidance By Sanchit Sir

Loading lesson…