Source: AMAZON INTERVIEW QUESTION
Given a point P and other N points in two dimensional space, find K points out of the N points which are nearest to P.
What is the most optimal way to do this ?
This Wiki page does not provide much of help in building a algorithm.Any ideas/approaches people.