I didn’t understand the logic to solve the qstn especially the one which involves breaking the graph at every edge to get the 2 components and then calculating.
I didn’t understand the logic to solve the qstn especially the one which involves breaking the graph at every edge to get the 2 components and then calculating.