I would like to compare the points from one array to the points from another array and find the closest pair. Till now whatever I have come across is with a single array. I do not want to compare the points from the same array. The brute force algorithm works but it is too slow. Is there an algorithm or implementation for this using divide and conquer method?
EDIT 1 : A point is defined as the pair (latitude, longitude) on the earth's surface.