Given: A complete graph with 5 vertices and weights are 1,2,3,4,...,9,10.
Key point is: maximum possible weight that a minimum weight spanning tree of G
now, try to understand the meaning of above line, we have to find a MST but possible max weight(w).
So first consider below graph with 3 vertices, one edge with w=1 second w=2.
Now important point is, we have to consider max weight so we will take edge with w=3 in cycle.
Now, we have to add anyhow next to any vertex from 3 and it'll be consider to MST
Now, Similarly, edge with w=5 and w=6 can add to above graph to make a cycle
So, we will go for w=7
Finally, maximum possible weight that a minimum weight spanning tree of G= 1+2+4+7= 14