Hey guys, sorry for again and again creating a blog for my doubts, but I don't know any other way of finding help. So, I was trying this problem(https://codeforces.com/contest/1588/problem/C), and after reading editorial, I didn't understood like how to solve it. I saw other people codes, but they doesn't make any sense to me. If you can help me with how to implement it, please do help.