I am trying to solve the problem (https://www.codechef.com/LRNDSA04/problems/ACM14KP1/). In order to solve this problem, I need to first understand the closest pair problem. I didn’t like the editorial provided on CC discuss.
I found some resources but they are for distinct x and y values. I request you all to post or direct me towards a good editorial or tutorial.
Thanks in advance