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.
Refer the following summarized Balance Sheet of Roy Ltd. as on 31ā3ā2023:
A companyās share is currently quoted at a market price of ā¹120 per share. The company is expected to pay a dividend of ā¹12 per share in the next ...
A large NBFC reported an increase in operating profit over the last year. However, its cash flow from operations was negative due to a sharp rise in rec...
Which of the following formulae correctly calculates the Operating Profit Margin?
A firmās EBIT is ā¹20 lakh and interest is ā¹5 lakh. What is interest coverage ratio?
ā¹200 paid as wages for erecting a machine should be debited to:
Debt Equity Ratio 2:1; Total Assets ā¹15,00,000; Equity = ?
If MOS = 50000 units and BE units are 35000, then what are the Budgeted Sales units?
From the following, calculate the Operating Profit Ratio: Net Sales ā¹5,00,000, Cost of Goods Sold ā¹3,00,000, Operating Expenses ā¹1,00,000, Non-ope...
If Current Ratio is 2.5:1 and Working Capital is ā¹1,50,000, what are Current Assets?