Veeva Systems interview question

Find closest points in a coordinate plane.