LinkedIn Interview Question

return n closest points on a plane

Interview Answer

Anonymous

Jun 22, 2014

Was it 1. n closest points to a given point? (for example, the origin? OR 2. N closest to each other? That would mean cluster of points with N closest to each other.