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

TPSC Computer/IT Posts 2025GATE · 2006 · CS

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.

    Stack

  3. C.

    Heap

  4. D.

    B-Tree

Attempted by 871 students.

Sign up free to check your answer

Sign up free

Explore the full course: Isro

Loading lesson…