I have no idea why my code isgetting TLE forthis problem.
I have just implemented closest pair of points o(n logn logn ) approach. And the problem is for the cases like 10^5 inputs having value 10^4 each term is getting TLE. I am sure the complexity is working perfectly but not understanding the problem for this getting TLE verdict even when 10^5 inputs with having smaller input in each term works well. Can anyone suggest ?