Which algorithm would you use to find the shortest path in a graph from a…

Which algorithm would you use to find the shortest path in a graph from a single source to all other vertices?

  1. A.

    Dijkstra's Algorithm

  2. B.

    Kruskal's Algorithm

  3. C.

    Prim's Algorithm

  4. D.

    None of the above

Attempted by 513 students.

Sign up free to check your answer

Sign up free

Explore the full course: Isro

Loading lesson…