Bandwidth
May 6, 2024
Question 680 – RAM
May 6, 2024
Bandwidth
May 6, 2024
Question 680 – RAM
May 6, 2024

Question 10464 – Algorithms

Complexity of Kruskal’s algorithm for finding the minimum spanning tree of an undirected graph containing n vertices and m edges if the edges are sorted is __________

Correct Answer: A

Question 39 Explanation: 
Though the edges are to be sorted still due to union find operation complexity is O(m log n).
A
O(m log n)

Leave a Reply

Your email address will not be published. Required fields are marked *