GATE Assistant

Past questions › Data Science and Artificial Intelligence › GATE 2025

GATE 2025 · DA · MSQ · 2 marks · Programming, Data Structures and Algorithms › Shortest Paths

GATE 2025 Data Science and Artificial Intelligence question: Let G be a simple, unweighted, and undirected graph. A subset of the vertices and edges…

Let be a simple, unweighted, and undirected graph. A subset of the vertices and edges of are shown below.

figure

It is given that is a shortest path between and ; is a shortest path between and ; is a shortest path between and . Which of the following is/are NOT the edges of ?

  1. (A)

  2. (B)

  3. (C)

  4. (D)

Show answer

Official answer: A,C,D

Practise this question with exam-style marking

Discussion

No discussion yet.

Join the discussion