GATE DA 2026, Q.40: Reachability in G and its reverse
The question
G is a directed graph (no self-loops, cycles possible, not necessarily strongly connected). GR is G with every edge reversed. BFS and DFS visit only vertices reachable from the start. Which must always be true?
- (A) If u is reachable in BFS of GR from v, then u is reachable in DFS of G from v.
- (B) In GR, BFS from v visits exactly the same vertex set as DFS from v in G.
- (C) The BFS order in GR from v is the reverse of the DFS order in G from v.
- (D) If u is reachable in DFS of G from v, then v is reachable in BFS of GR from u.
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 2026 question paper and answer key (IIT Guwahati). The question is lightly reworded; every number and option is kept.