What is the time complexity of Dijkstra's algorithm using a binary heap?

What is the time complexity of Dijkstra's algorithm using a binary heap?

  1. A.

    O(ElogV)

  2. B.

    O(E+V)

  3. C.

    O(V^2)

  4. D.

    O(VlogE)

Attempted by 344 students.

Sign up free to check your answer

Sign up free

Explore the full course: Isro

Loading lesson…