I read the editorial of the this Problem but i am not able to get the idea, would anyone like to help me to understand the solution of problem .
I read the editorial of the this Problem but i am not able to get the idea, would anyone like to help me to understand the solution of problem .