Consider a graph \(G=(V,E)\), where \(V=\{v_1,v_2,...,v_{100}\}\), \(E=\{(v_i,v_j)|1\leq i \lt j\leq 100\}\), and weight of the edge \((v_i,v_j)\; is \; |i-j|\). The weight of minimum spanning tree of G is
GATE CS 2020 · Shortest Path Algorithms
Solve it on GATE DA practice →More Graph Theory & Algorithms problems