Hi,
Can someone please explain the approach for the following problem :
Problem Link : https://codingcompetitions.withgoogle.com/kickstart/round/000000000019ff08/0000000000386d5c
There's an editorial blog as well, but am not quite able to understand the solution. Editorial Link : https://codeforces.me/blog/entry/80040