GATEverse Practice, past papers & mock tests
GATE 2025 · CS1 - Forenoon
AlgorithmsGraph AlgorithmshardMCQ2 marks
Let G(V,E) be an undirected and unweighted graph with 100 vertices. Let d(u,v) denote the number of edges in a shortest path between vertices u and v in V. Let the maximum value of d(u,v), u,v in V such that u ≠ v, be 30. Let T be any breadth-first-search tree of G. Which ONE of the given options is CORRECT for every such graph G?
Save your progress

Related Algorithms PYQs