GATE CS 2016 · Set-1 · Graph Traversals (BFS & DFS)

NAT · 2 marks · Problem PROG-GRPH-0069

Consider the weighted undirected graph with 4 vertices,where the weigh to edge {i, j} is given by the entry Wij in the matrix W.\[W=\begin{bmatrix} 0 & 2&8 & 5\\ 2& 0& 5 &8 \\ 8 & 5 & 0& x\\ 5&8 & x&0 \end{bmatrix}\]The largest possible integer value of x, for which at least one shortest path between some pair of vertices will contain the edge with weight x is .

Numerical answer (NAT).

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

Show the worked solutionOfficial GATE Answer Key: [12.0, 12.0].See full step-by-step discussion on GateOverflow: https://gateoverflow.in/39731/gate2016-1-38

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