How to find the closest 2 points in a 100 dimensional space with 500,000 points?

Viewed 3341

I have a database with 500,000 points in a 100 dimensional space, and I want to find the closest 2 points. How do I do it?

Update: Space is Euclidean, Sorry. And thanks for all the answers. BTW this is not homework.

5 Answers
Related