Continue with your mobile number
Kruskal’s Algorithm constructs a Minimum Spanning Tree (MST) by selecting the smallest edges while ensuring no cycles are formed. For the algorithm to function correctly, the graph must be connected, meaning there exists a path between any two vertices. In a disconnected graph, Kruskal’s Algorithm would result in a Minimum Spanning Forest, not a single tree. Connectivity ensures that all vertices are included in a unified MST. Steps: • Sort edges by weight. • Use a Disjoint Set to detect and prevent cycles. • Add edges until all vertices are connected. Why Other Options Are Incorrect: 1. Directed Graph: Kruskal works on undirected graphs; additional considerations are needed for directed graphs. 2. Weighted Graph: While weights are essential, connectivity is a stricter requirement. 3. Distinct Weights: Not required; ties can be resolved arbitrarily. 4. No Cycles: The algorithm actively avoids cycles but does not require the graph to be cycle-free initially. Kruskal’s reliance on graph connectivity is a cornerstone of its application in MST problems.
Which Indian entity received the GEEF Global WaterTech Award 2024 under the category ‘Water Department of the Year’?
The Ministry of Commerce & Industry has released the 5th edition of the LEADS annual exercise - LEADS 2023 report, which provides insights into improvem...
The Reserve Bank has released the Financial Stability Report (FSR), which reflects the collective assessment of the Sub-Committee of the Financial Stabi...
Japan’s Mitsubishi Electric Corporation has signed an agreement with which state government to set up a Rs 1,895-crore unit, marking a rare instance o...
Consider the following statements with respect to Mukhyamantri Gramin Awas Nyay Yojana-
I. Under the Mukhyamantri Gramin Awas Nyay Yojana, the ...
Who among the following took charge as the 28th Controller General of Accounts (CGA)?
Which statement is correct about “Sukanya Samriddhi Yojana”
a.Sukanya Samriddhi Yojana, parents or legal guardians can open an account in the...
Which integrated complex is set to host the FIH Hockey5s World Cup qualifiers before the Summer 2024 Olympic Games in Paris?
Which Indian movie has been nominated for the Best Documentary Short in Oscar Awards 2023?
The index provider arm of the National Stock Exchange has announced five additions and deletions each to the Nifty Next 50 Index.Apart from the addition...