If there is a cycle in a graph that is reachable from source then Dijkastra’s…

If there is a cycle in a graph that is reachable from source then Dijkastra’s shortest-path algorithm may relax an edge more than once in the graph ?

  1. A.

    True

  2. B.

    False

  3. C.

    Sometimes yes, some times not

  4. D.

    None of the above

Attempted by 421 students.

Sign up free to check your answer

Sign up free

Explore the full course: Isro

Loading lesson…