nice way. it is easy to visualize by taking example like if we take 6 vertex and 2 componenet. there r multiple way to draw the graph like (1,5) (2,4) (3,3)... so on in braket 1st no. shows vertex in first component like this if we draw this we see that maximum condition occurs only when all componets have 1 vertex and 1 component have all remaining vertices.