GATE CS 2025 Set 1 | Question 64
Algorithms › Graph Algorithms · NAT · 2 marks · Answer: 5
- Question 64Algorithmsnat2 marksThe maximum value of 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)

Answer: 5
Solution
Answer: 5 Edge weights: , and the diagonals and are and . An edge is in every MST iff, in every cycle containing , some other edge is strictly heavier than (cut/cycle property). The binding cycle through is , whose other edges are with maximum weight . For to be forced into every MST we need , i.e. . Check : after adding the two light diagonals ( and ) the two components and must be joined by the cheapest crossing edge; the crossing edges are , and is the unique minimum → is in every MST. At , ties with and is no longer forced. Hence .
More GATE PYQ on Graph Algorithms
All GATE CS Algorithms PYQ →Attempt GATE CS 2025 Set 1 in real GATE exam mode
Full paper with a timer, the GATE interface and a topic-wise analysis — free.
Create free account →