Let G be the directed, weighted graph shown below What is the cost of the…

Let G be the directed, weighted graph shown below

image.png

What is the cost of the shortest paths from ‘a’ to all other remaining vertices in the above graph?

  1. A.

     (a, b, 50) (a, c, 45) (a, d, 10) (a, e, 10) (a, f,28)

  2. B.

     (a, b, 45) (a, c, 45) (a, d, 10) (a, e, ∞) (a, f, ∞)

  3. C.

    (a, b, 45) (a, c, 45) (a, d, 10) (a, e, 25)(a, f,∞)

  4. D.

    (a, b, 45) (a, c, 45) (a, d, 10) (a, e, 25)(a, f,8)

Attempted by 88 students.

Sign up free to check your answer

Sign up free

Explore the full course: Isro

Loading lesson…