Computer Sciences > GATE 2025 SET-1 > Minimum Spanning Trees
The maximum value of x such that the edge between the nodes B and C is included in every minimum spanning tree of the given graph is ______ (answer in integer)

Correct : 5

The correct answer is 5.
For an edge to appear in every MST, its weight must be strictly less than the bottleneck of every alternative path connecting the same two nodes. The bottleneck of a path is the maximum edge weight along that path.
Let"s check all simple paths from B to C (other than the direct edge BC = x):
• Path B → A → C: edges 7 and 1 → bottleneck = 7
• Path B → D → C: edges 3 and 8 → bottleneck = 8
• Path B → D → A → C: edges 3, 6, and 1 → bottleneck = 6
The minimum of these bottlenecks is 6 (from path B→D→A→C).
For edge BC to be forced into every MST, its weight x must be strictly less than 6. If x = 6, Kruskal"s algorithm could skip BC and use the path B→D→A→C instead — so BC would not be in every MST.
The largest integer satisfying x < 6 is x = 5.

Similar Questions

A palindrome is a word that reads the same forwards and backwards. In a game of words, a player has the following two plates painted with letters. From...
#1 MCQ
Which number does not belong in the series below? 2, 5, 10, 17, 26, 37, 50, 64
#4 MCQ
Choose the word that is opposite in meaning to the word “coherent”.
#5 MCQ

Related Topics

GATE CS 2025 GATE CS 2025 Set-1 Q64 Minimum Spanning Tree MST Edge Inclusion Maximum x Edge BC Kruskal Algorithm Graph Theory GATE Bottleneck Path MST Condition GATE Computer Science 2025 Spanning Tree Edge Weight Condition GATE CS Solved Graph Algorithms

Unique Visitor Count

Total Unique Visitors

Loading......