Implement the algorithm for the closest pair problem in your favourite lan-
guage.
INPUT: Given n points in a plane.
OUTPUT: the pair with the least Euclidean distance.
Implement the algorithm for the closest pair problem in your favourite lan-
guage.
INPUT: Given n points in a plane.
OUTPUT: the pair with the least Euclidean distance.