Can anyone explain the editorial solution


#1

can anyone explain the editorial solution