GATEverse Practice, past papers & mock tests
GATE 2016 · CS1 - Forenoon
AlgorithmsGraph AlgorithmsmediumNAT2 marks
Consider the weighted graph with distance 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 _______
Save your progress

Related Algorithms PYQs