In Dijkstra’s shortest path algorithm, which data structure gives \(O((V + E)…

TPSC Computer/IT Posts 2026

In Dijkstra’s shortest path algorithm, which data structure gives O((V+E)log⁡V)O((V + E) \log V) overall time complexity ?

  1. A.

    Simple array

  2. B.

    Binary min-heap

  3. C.

    Fibonacci heap

  4. D.

    Adjacency matrix

Attempted by 88 students.

Sign up free to check your answer

Sign up free

Explore the full course: Isro

Loading lesson…