What is the time complexity of Prim’s Minimum Spanning Tree algorithm, when…

What is the time complexity of Prim’s Minimum Spanning Tree algorithm, when implemented using Binary Heap?

  1. A.

    O(V+E)

  2. B.

    O(V log V)

  3. C.

    O(E log E)

  4. D.

    O(E log V)

Attempted by 176 students.

Sign up free to check your answer

Sign up free

Explore the full course: Isro

Loading lesson…