The weight of minimum spanning tree in graph đș, calculated using KruskalâsâŠ
2019
The weight of minimum spanning tree in graph đș, calculated using Kruskalâs algorithm is:

- A.
14
- B.
15
- C.
17
- D.
18
Attempted by 544 students.
Show answer & explanation
Correct answer: B
Answer: 15
Apply Kruskalâs algorithm. List the edges by increasing weight and pick them if they do not form a cycle.
Sorted edge weights (with their locations): 2 (top apexâtop-left), 3 (bottom-leftâbottom-right), 4 (diagonal top-leftâbottom-right), 5 (left vertical), 6 (top horizontal), 7 (right vertical), 8 (slanted top-right)
Pick the smallest edge: weight 2 (connects top apex and top-left).
Next pick weight 3 (connects bottom-left and bottom-right).
Next pick weight 4 (the diagonal between top-left and bottom-right). This merges the two components without creating a cycle.
Check the next smallest edge (weight 5). Adding the weight-5 edge would create a cycle, so skip it.
Next valid edge to connect any remaining vertex is weight 6 (top horizontal). Pick it; now all vertices are connected.
Selected edges and their weights: 2, 3, 4, 6
Total weight = 2 + 3 + 4 + 6 = 15
Therefore the weight of the minimum spanning tree is 15.
A video solution is available for this question â log in and enroll to watch it.