What does a greedy strategy mean in the context of Dijkstra's algorithm?

What does a greedy strategy mean in the context of Dijkstra's algorithm?

  1. A.

    Choosing the vertex with the shortest known distance from the source

  2. B.

    Choosing the vertex with the longest known distance from the source

  3. C.

    Choosing the vertex with the maximum degree

  4. D.

    Choosing the vertex with the minimum degree

Attempted by 287 students.

Sign up free to check your answer

Sign up free

Explore the full course: Isro

Loading lesson…