GATE DA 2025 · Question 58 · Programming, Data Structures and Algorithms · Multiple select (MSQ) · 2 marks · no negative marks
Let G be a simple, unweighted, and undirected graph. A subset of the vertices and edges of G are shown below.
It is given that a - b - c - d is a shortest path between a and d; e - f - g - h is a shortest path between e and h; a - f - c - h is a shortest path between a and h. Which of the following is/are NOT the edges of G?

- (A) (b, d)
- (B) (b, g)
- (C) (b, h)
- (D) (e, g)
Answer
Answer (A), (C), (D)
Answer from the official GATE DA 2025 answer key.
The step-by-step solution, where available, is part of GATE DA Pro. See what Pro includes