GATEverse Practice, past papers & mock tests
GATE 2025 · CS1 - Forenoon
AlgorithmsGraph AlgorithmsmediumMCQ1 mark
Let G be any undirected graph with positive edge weights, and T be a minimum spanning tree of G. For any two vertices, u and v, let d1(u,v) and d2(u,v) be the shortest distances between u and v in G and T, respectively. Which ONE of the options is CORRECT for all possible G, T, u and v?
Save your progress

Related Algorithms PYQs