Consider the directed graph shown in the figure below. There are multiple…

PYQ GATE 2012

Consider the directed graph shown in the figure below. There are multiple shortest paths between vertices S and T. Which one will be reported by Dijkstra’s shortest path algorithm? Assume that, in any iteration, the shortest path to a vertex v is updated only when a strictly shorter path to vv is discovered.

  1. A.

    SDT

  2. B.

    SBDT

  3. C.

    SACDT

  4. D.

    SACET

Attempted by 250 students.

Sign up free to check your answer

Sign up free

Explore the full course: Algorithms

Loading lesson…