GATE DA 2025, Q.58: Which edges cannot exist given three shortest paths
The question
G is a simple undirected graph on a to h. a − b − c − d is a shortest a–d path, e − f − g − h is a shortest e–h path, and a − f − c − h is a shortest a–h path. Which are NOT edges of G? (A) (b, d). (B) (b, g). (C) (b, h). (D) (e, g).
- (A) (b, d)
- (B) (b, g)
- (C) (b, h)
- (D) (e, g)
This question uses a figure in the official paper. Eight vertices drawn in two rows (a b c d / e f g h); edges as implied by the three paths. See the official paper.
Checking your access…
The answer and full solution are in the GATE DA past-paper pack. All 195 questions from 2024, 2025 and 2026, each solved step by step and checked against the official key. ₹499, lifetime access.
What's in the pack · 60 questions are free to try.
Unlock this solution and every other question. ₹499, one payment, lifetime access.
Could not load the solution. Refresh the page, or email hello@gradientlab.dev.
Source: official GATE DA 2025 question paper and answer key (IIT Roorkee). The question is lightly reworded; every number and option is kept.