Dijkstra’s single source shortest path algorithm when run from vertex a in the…

PYQ GATE 2008

Dijkstra’s single source shortest path algorithm when run from vertex a in the below graph, computes the correct shortest path distance to

image.png



  1. A.

    only vertex a

  2. B.

    only vertices a, e, f, g, h

  3. C.

    only vertices a, b, c, d

  4. D.

    all the vertices

Attempted by 360 students.

Sign up free to check your answer

Sign up free

Explore the full course: Algorithms

Loading lesson…