Match the following time complexities of Dijkstra’s algorithm with the…

Match the following time complexities of Dijkstra’s algorithm with the corresponding priority queue implementations.

List-A List-B

P: Binary heap X: O(v2 )

Q: Array Y: O(E log2 V)

R: Fibonacci Heap Z: O(V log2 V +E)

  1. A.

    P-Y, Q-Z, R-X

  2. B.

    P-Z, Q-Y, R-X

  3. C.

    P-Y, Q-X, R-Z

  4. D.

    P-X, Q-Y, R-Z

Attempted by 294 students.

Sign up free to check your answer

Sign up free

Explore the full course: Isro

Loading lesson…