Kruskal’s algorithm for finding a minimum spanning tree of a weighted graph G…

GATE · 1991 · CS · Question 3 subpartsModified — slightly modified from the official paper; see the solution

Kruskal’s algorithm for finding a minimum spanning tree of a weighted graph G with n vertices and m edges has which tightest listed worst-case time complexity? Assume a simple graph and comparison sorting of edges.

  1. A.

    O(n²)

  2. B.

    O(mn)

  3. C.

    O(m + n)

  4. D.

    O(m log n)

  5. E.

    O(m²)

Attempted by 18 students.

Sign up free to check your answer

Sign up free

Explore the full course: Gate Guidance By Sanchit Sir

Loading lesson…