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.
When a Hindu inherits the property from his father under Section 8 of the Hindu Succession Act 1956, he takes it as :
When can an appeal lie from SAT to Supreme Court?
Who is the ex- officio chairman of the Council of States?
What is the jurisdiction of District Commission ?
Which of the following statements about the "Public Procurement (Preference to Make in India) Order" is correct with respect to the Law of tenders?
A statement recorded under which section of CrPC  need not be signed by the maker?
Where both the parties to an agreement are under a mistake as to a matter of fact essential to the agreement, the agreement is__________________
As per the Specific Relief Act a person dispossessed of an immovable property can file a suit within____________
According to Section 56 of the Civil Procedure Code, in the execution of a decree for the payment of money, the court shall not order the arrest or dete...
In the context of a lease, what happens if a lessee or under-lessee remains in possession of the property after the determination of the lease, and the ...