To implement Dijkstra's shortest path algorithm on unweighted graphs so that…

To implement Dijkstra's shortest path algorithm on unweighted graphs so that it runs in linear time, the data structure to be used is

  1. A.

    Queue

  2. B.

    B-tree

  3. C.

    Stack

  4. D.

    Heap

Attempted by 520 students.

Sign up free to check your answer

Sign up free

Explore the full course: Isro

Loading lesson…