Not able to undersatand the editotial

please tell me how to do it with example

Can you please put the editorial solution here on the discussion?
I will be able to explain it then

please also explain line number 62 and 65 specifically.

okay I will see to it

1 Like