Please help with this InterviewBit problem (graphs). I have tried a lot but I am unable to solve it

https://www.interviewbit.com/problems/delete-edge/ - Link to the problem.

I have read the solution but I cant understand it. Please explain it to me or provide with some easy to understand to understand reference. I am finding graphs to be difficult, any help will be much appreciated.

wait u know subtree size calculation? I think u have to practice some easier questions before this.

1 Like

I am also getting the same feeling. I am not ready for graphs.

no , baat ready ka nhi hai , practice some more easier questions first :slight_smile: