GATE CSE Minimum Spanning Trees PYQs
Minimum Spanning Trees (MST) in GATE CS is tested heavily via theoretical properties (Cut and Cycle theorems), counting the number of distinct MSTs using Kruska… Read the guide
- Questions
- 13
- Asked
- since 2011
- Total marks
- 23
- Marks / paper
- 1
13 GATE CSE Minimum Spanning Trees PYQs with solutions, from Algorithms. Browse all GATE CSE PYQs.
Questions
Every official paper that asked this topic, newest first.
- GATE CSE 2026 Set 1 · Q49Let be a simple, undirected, edge-weighted graph with unique edge weights. Which of the following statements about the minimum spanning trees (MST) of is/are true?MSQ2 marksMediumSolve
- GATE CSE 2025 Set 1 · Q18Let be any undirected graph with positive edge weights, and be a minimum spanning tree of . For any two vertices, and , let and be the shortest distances between and in and , respectively. Which ONE of the options is CORRECT for all…MCQ1 markEasySolve
- GATE CSE 2024 Set 2 · Q51Let be an undirected connected graph in which every edge has a positive integer weight. Suppose that every spanning tree in has even weight. Which of the following statements is/are TRUE for every such graph ?MSQ2 marksMediumSolve
- GATE CSE 2024 Set 2 · Q59The number of distinct minimum-weight spanning trees of the following graph is ________NAT2 marksMediumDiagramSolve
- GATE CSE 2021 Set 1 · Q17Consider the following undirected graph with edge weights as shown: The number of minimum-weight spanning trees of the graph is _________.NAT1 markMediumDiagramSolve
- GATE CSE 2021 Set 2 · Q1Let be a connected undirected weighted graph. Consider the following two statements. : There exists a minimum weight edge in which is present in every minimum spanning tree of . : If every edge in has distinct weight, then has a unique minimum spanning tree. Which one of…MCQ1 markMediumSolve
- GATE CSE 2020 · Q31Let be a weighted undirected graph and let be a Minimum Spanning Tree (MST) of maintained using adjacency lists. Suppose a new weighted edge is added to . The worst case time complexity of determining if is still an MST of the resultant graph isMCQ2 marksMediumSolve
- GATE CSE 2020 · Q49Consider a graph , where , , and weight of the edge is . The weight of minimum spanning tree of is _______.NAT2 marksEasySolve
- GATE CSE 2016 Set 1 · Q39Let be a complete undirected graph on 4 vertices, having 6 edges with weights being 1, 2, 3, 4, 5, and 6. The maximum possible weight that a minimum weight spanning tree of can have is _______.NAT2 marksMediumSolve
- GATE CSE 2016 Set 1 · Q40 is an undirected simple graph in which each edge has a distinct weight, and is a particular edge of . Which of the following statements about the minimum spanning trees (MSTs) of is/are TRUE? I. If is the lightest edge of some cycle in , then every MST of includes …MCQ2 marksMediumSolve
- GATE CSE 2012 · Q29Let be a weighted graph with edge weights greater than one and be the graph constructed by squaring the weights of edges in . Let and be the minimum spanning trees of and , respectively, with total weights and . Which of the following statements is TRUE?MCQ2 marksMediumSolve
- GATE CSE 2011 · Q54Statement for Linked Answer Questions 54 and 55: An undirected graph contains () nodes named . Two nodes are connected if and only if . Each edge is assigned a weight . A sample graph with is shown…MCQ2 marksMediumDiagramSolve
- GATE CSE 2011 · Q55The length of the path from to in the MST of previous question with isMCQ2 marksMediumSolve
What GATE tests in Minimum Spanning Trees
Concepts, patterns, formulas and traps distilled from past papers.
Minimum Spanning Trees (MST) in GATE CS is tested heavily via theoretical properties (Cut and Cycle theorems), counting the number of distinct MSTs using Kruskal's stage-by-stage component logic, and parameterized/algebraic graph constructions. Questions frequently explore fundamental cycle edge swaps, algorithm time complexities for dynamic updates, and the structural relationship between graph shortest paths and tree paths.
Core concepts
- Cut Property: minimum weight edge crossing any cut is in an MST
- Cycle Property: strictly maximum weight edge in any cycle is not in any MST
- Vertex Cut Instance: lightest edge incident on any vertex v must be in an MST (cut {v} vs V {v})
- Kruskal's Algorithm and independent component counting across equal-weight edge batches
- Fundamental cycles and edge exchange property
- MST uniqueness under strictly distinct edge weights
- Monotonic weight transformations and preservation of MST edge sets
- Dynamic MST validation via tree path bottleneck check in (|V|) time
Recurring question patterns
Counting Distinct MSTs
CommonNAT2 marks2024, 2021A weighted undirected graph with duplicate edge weights is provided (often as a visual diagram). Candidates must determine the exact number of distinct MSTs by analyzing independent component connections at each weight class in Kruskal's algorithm.
Cut and Cycle Properties & Structural True/False
CommonMSQ2 marks2026, 2021, 2016Evaluating formal claims about whether the lightest or heaviest edge in a cycle, cut, or vertex incidence set is guaranteed to be inside or outside an MST, including uniqueness conditions.
Algebraically Defined Vertex-Index Graphs
OccasionalMCQ2 marks2020, 2011Graphs where vertices are indexed and edge existence/weights are given as functions of indices (e.g., with weight , or complete graph with weight ). Questions ask for MST total weight formula or path lengths in the tree.
MST Maintenance & Subgraph Comparisons
OccasionalMCQ2 marks2025, 2020, 2012Analyzing algorithmic complexity or metric bounds when modifying an existing MST, such as testing if remains an MST after adding a single edge, monotonic weight transformations (), or comparing shortest-path distances vs .
Spanning Tree Parity and Fundamental Cycles
RareMSQ2 marks2024, 2016Reasoning about properties of all spanning trees in a graph using the fundamental cycle edge-exchange argument to prove parity or weight bounds.
Formulas GATE uses
MST Tree Size Condition
Determining total number of edges required to form a valid spanning tree on vertices.
Fundamental Cycle Weight Exchange
Analyzing tree transformations when adding non-tree edge and removing an edge from the induced cycle.
Monotonic Weight Scaling Expansion
Comparing total tree weight before and after strictly monotonic transformations on edge weights.
Subgraph Distance Inequality
Comparing the shortest path distance in graph vs distance in a spanning tree .
Examiner traps in Minimum Spanning Trees
- Assuming the lightest edge in a cycle must be in the MST (it can be excluded if alternative paths outside the cycle are lighter).
- Assuming the heaviest edge incident on a vertex cannot be in the MST (it must be included if it is a bridge / leaf incident edge).
- Assuming an edge with overall global minimum weight must appear in every MST when multiple equal min-weight edges exist (e.g., in an equilateral triangle K3).
- Confusing shortest-path tree distances with MST path distances (MST minimizes total edge sum, not individual pairwise distances).
- Overcounting or undercounting MSTs when multiple duplicate-weight edges form internal cycles versus component-connecting bridges.
How questions are asked
- NAT: Count the exact number of distinct MSTs in a given weighted graph
- NAT: Find the maximum or minimum possible weight of an MST given a set of edge weights
- MCQ/MSQ: Identify correct theoretical statements on Cycle and Cut properties
- MCQ: Determine asymptotic time complexity for dynamic graph/tree update operations
- MCQ: Derive a closed-form formula for MST weight in parameterized graphs
Paper trends
Shift from linked MCQ and formula derivation toward NAT counting questions and multi-correct MSQs verifying nuanced cut/cycle edge properties.
2026, 2024, 2021, 2011
Increased focus on structural reasoning involving tree paths and fundamental cycles (e.g., dynamic edge insertion checking in O(|V|), parity invariance across fundamental cycles).
2025, 2024, 2020
Difficulty notes
Easy questions test direct definitions like or simple path MST calculations on index-weighted graphs. Medium questions require multi-step Kruskal component combinatorics (NAT) or rigorous counterexample evaluation for Cut/Cycle MSQ statements. Hard questions require structural tree invariance proofs (such as parity preservation across all fundamental cycles) or worst-case extremal configuration analysis.