GATE CS 2005 · Shortest Path Algorithms

MCQ · 1 mark · Problem PROG-GRPH-0113

Let s and t be two vertices in a undirected graph G=(V, E) having distinct positive edge weights. Let [X, Y] be a partition of V such that s\(\in\)X and t\(\in\)Y. Consider the edge e having the minimum weight amongst all those edges that have one vertex in X and one vertex in Y. The edge e must definitely belong to:
  1. A
    the minimum weighted spanning tree of G
  2. B
    the weighted shortest path from s to t
  3. C
    each path from s to t
  4. D
    the weighted longest path from s to t

Solve it on GATE DA practice →More Graph Theory & Algorithms problems

Show the worked solutionOfficial GATE Answer Key: Option A.See full step-by-step discussion on GateOverflow: https://gateoverflow.in/1404/gate2005-83

GATE DA practice: past exam problems by chapter, with worked solutions · gatedaprep.com