;; export a run function
Growth Plan: $59/month
。同城约会对此有专业解读
The dashed circle shows the current best distance. As the algorithm finds closer points, the circle shrinks, which causes more subtrees to fail the "could contain a closer point?" test and get pruned. The search usually gets cheaper as it progresses.
if (head === null) return [];