Question
Which condition must be satisfied for Kruskal’s
Algorithm to function correctly?Solution
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.
Who among the following served as the first Chief Justice of India?
Consider the following statement in the context of Deendayal Antyodaya Yojana-Â National Rural Livelihoods Mission.
1.   It is a centrall...
‘Electra Gold Cup’ word is associated with which of the following sports?
Who among the following appoints the Governor of State?
Which of the following Articles of the Constitution of India deals with establishment and constitution of Supreme Court?
Pusa Hybrid 4 is a hybrid variety of:
Who among the following was a renowned dancer and the first person from Odisha to receive 'Padma Vibhushan' in 2000?
The substance piperine is present in:
Which of the following statements about the Godavari river are correct?
1. The river rises in the Sahyadris, near Trimbakeshwar in the Nashik dis...
National Skill Development Mission was launched by the Prime Minister of India in: