Let s and t be two vertices in a undirected graph G + (V, E) having distinct…

PYQ GATE 2005

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 ∈ X and t ∈ 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

Attempted by 175 students.

Sign up free to check your answer

Sign up free

Explore the full course: Algorithms

Loading lesson…