I'm looking for a judge for test a solution for a problem related with: "find the closest pair of circles among many of them", where the amount of circles is large enough to make necessary to use an algorithm with complexity less than O( N^2 )?
I'm looking for a judge for test a solution for a problem related with: "find the closest pair of circles among many of them", where the amount of circles is large enough to make necessary to use an algorithm with complexity less than O( N^2 )?
Some one can hel me in this problem?? In an array of length at most 100000 and each number is <= 1000000. I need answer many querys (at most 100000) of: in an interval [a,b] : a < b, how many different numbers are inside of the interval