Start learning 50% faster. Sign in now
Get Started with ixamBee
Start learning 50% faster. Sign in nowKruskal’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.
Who assumed the additional role of CEO at the Government e-Marketplace (GeM)?
Which of the following cities of Madhya Pradesh have been selected for UNESCO’s ‘Historic Urban Landscape’ project in July 2021?
What art form from Jharkhand did PM Narendra Modi gift to Russian President Vladimir Putin during the BRICS summit?
In biological terms, _________is a relationship between two organisms in which one organism benefits and the other is unaffected.
’Chapchar Kut’ is a popular festival of which of the following Indian state/ UT?
Consider the following statements about Chhattisgarh's climatic and geographical features and identify the correct ones:
(I) Chhattisgarh gets mo...
What is the currency of Fiji?
Which of the following has been reelected as the Environment’s Goodwill Ambassador for India?
Kelucharan Mohapatra is renowned for which classical dance form?
Numaligarh Refinery Limited (NRL) is a subsidiary of which company?