Minimum Distance Between Points in a Plane
Q:
Given a finite set \(P\) of points in \(\mathbb{R}^2\), construct
-
a \(O(n^2)\) algorithm
-
a \(O(n \log n)\) algorithm
-
a \(O(n)\) algorithm
for finding two points \(x, y \in P\) such that \(\left\lVert x-y \right\lVert\) is minimized.