GATE CS 2026 Set 1 — Question 49
Go beyond PYQs with Success TrackerAI-powered personalised practice and doubt support. Unlimited practice on eligible plans; AI usage limits apply.MSQ+2 / -0MediumKruskal's MSTGreedy AlgorithmsAlgorithmsPrim's MST
Algorithms → Greedy Algorithms → Kruskal's MST
Last updated
Question
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 is/are true?Correct 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
Solution
For a simple undirected graph with unique edge weights, the Minimum Spanning Tree (MST) is unique.Statement (A) is True: This is known as the Cycle Property of MSTs. For any cycle in the graph, the edge with the strictly largest weight in cannot be part of any MST. If it were, we could remove it and replace it with any other edge from the cycle to create a spanning tree with a smaller total weight, contradicting the definition of an MST.Statement (B) is False: There is no general property that the smallest edge in a cycle must be in the MST. For example, if the vertices of a cycle are connected by even smaller edges outside of that cycle, the smallest edge within the cycle might still be redundant and excluded from the MST.Statement (C) is False: Consider a graph with only two vertices and connected by a single edge . For vertex , this edge is the largest (and only) incident edge, and it must be in the MST to ensure connectivity.Statement (D) is True: This follows from the Cut Property. For any vertex , the set of edges incident on forms a cut separating from the rest of the graph (). The minimum weight edge crossing any cut must be part of every MST. Here, the minimum weight edge crossing this specific cut is the edge with the smallest weight incident on .
Continue learning with Success Tracker
A step still unclear? Work through it with support
Use Success Tracker to ask about the reasoning, then try another GATE CS question to check your understanding.
AI-powered practice· Unlimited practice on eligible plans
- PYQs with solutions
- Attempt available previous-year questions, then compare your reasoning with the worked solution. Coverage varies by stream.
- Practice that adapts
- Choose a topic, work on weaker areas and bookmark questions to revisit. Your attempts feed your progress tracking.
- AI doubt support
- Ask follow-up questions about a step or concept while practising, instead of stopping at the final answer.
Unlimited practice is available on eligible plans. Free practice and AI usage have limits; check the current plan allowances before choosing.
This page stays readable without an account. AI responses can be wrong; check them against the solution and source material.
More questions on Greedy Algorithms
2026 Set 1 Q17Consider the following recurrence relations: For all ,…2026 Set 2 Q24Consider the following functions, where is a positive integer.…2026 Set 2 Q25Which of the following can be recurrence relation(s) corresponding to an algorithm with time…2026 Set 2 Q32Consider an array . Suppose the merge sort algorithm is…2026 Set 2 Q37Let be a weighted directed acyclic graph with edges and vertices. Given and a…