Re: Best way to...
- Posted by petelomax Oct 17, 2010
- 1830 views
I'd create two copies of the list, one sorted on x and the other on y. Then use a binary chop to locate the three closest in the x-axis and the three closest in the y-axis.
Regards, Pete