GateAI
Minimum Spanning Trees

GATE CSE 2026 Set 1 · Q49

MSQ2 marksMedium

Time

Let G(V,E)G(V, E) be a simple, undirected, edge-weighted graph with unique edge weights. Which of the following statements about the minimum spanning trees (MST) of GG is/are true?

Select all that applyOne or more correct

Pick every correct option

Solution

Step-by-step verified solution

Official answer: A) In every cycle C of G, the edge with the largest weight in C is not in any MST; D) For every vertex v ∈ V, the edge with the smallest weight incident on v is in every MST

Minimum Spanning Trees

Since all edge weights are distinct, graph GG has a unique Minimum Spanning Tree (MST).

  • Option (A) is TRUE: By the Cycle Property of MSTs, for any cycle CC in a graph with distinct edge weights, the edge with the strictly largest weight in CC cannot belong to any MST.

  • Option (B) is FALSE: The edge with the smallest weight in a specific cycle CC is not guaranteed to be in the MST. For example, consider a 3-cycle A−B−C−AA-B-C-A with edge weights e(A,B)=10e(A, B) = 10, e(B,C)=20e(B, C) = 20, and e(A,C)=30e(A, C) = 30. If there is another path between AA and BB via node DD with edge weights e(A,D)=1e(A, D) = 1 and e(D,B)=2e(D, B) = 2, then in the cycle A−D−B−AA-D-B-A, the edge e(A,B)=10e(A, B) = 10 is the heaviest edge and will not be in the MST, even though it is the lightest edge in cycle A−B−C−AA-B-C-A.

  • Option (C) is FALSE: If a vertex vv has degree 11 (a leaf node), its only incident edge is simultaneously the smallest and largest weight edge incident on vv. This edge is a bridge and must be present in every spanning tree. More generally, the heaviest edge incident on a vertex can belong to an MST if it is required for connectivity (e.g., a bridge).

  • Option (D) is TRUE: By the Cut Property of MSTs, consider the cut partition (S,V∖S)(S, V \setminus S) where S={v}S = \{v\}. The edges crossing this cut are precisely all edges incident on vertex vv. Since the edge with the smallest weight incident on vv is the unique minimum-weight crossing edge for this cut, it must be present in the MST.

Hence, the correct statements are A and D.

Try the question first, then check your work.

Think the official key or this write-up is wrong?

Report error or challenge

Examiner trap

The misconception this question tests

This Minimum Spanning Trees previous year question is Q49 of the GATE CSE 2026 Set 1 paper. Find more GATE CSE PYQs on Minimum Spanning Trees in Algorithms, or browse all GATE CSE PYQs.

Free diagnostic

Where do you stand for GATE?

Take the 20-minute diagnostic: the 3 topics that cost you the most marks, and a rank range. Or sit 5 related Minimum Spanning Trees PYQs now with no account.

One GATE CSE PYQ every morning

An official question by email at 7 AM IST, with a link to its verified solution. Unsubscribe in one click.

Minimum Spanning Trees in GATE CSE

Minimum Spanning Trees has 13 GATE CSE PYQs across 9 papers from 2011 to 2026. 2 of them are 2-mark MSQs like this one, and it is the only one in GATE CSE 2026 Set 1.

How GATE tests Minimum Spanning Trees

More from GATE CSE 2026 Set 1

Share this solution

A plain-text card for WhatsApp or Telegram study groups.

GateAI solution cardGATE CSE 2026 Set 1 · Q49 · MSQ

Let G(V, E) be a simple, undirected, edge-weighted graph with unique edge weights. Which of the following statements about the minimum spanning trees (MST) of G is/are true?

Topic-wise GATE CS PYQs with verified steps

Independent practice explanation verified by the GateAI team. GATE is conducted by the IITs; question text follows the official paper.