RECRECOV - Help Regarding Editorial Please

Can anyone please help how to solve this problem .I am unable to understand the editorials ? Problem Code is RECRECOV

//