Closest Pair of Points
In short: finding the two closest points among n by checking every pair
is O(n²). Divide and conquer brings it to O(n log n): sort by x, split in
half, find the closest pair in each half recursively, and keep the smaller
distance as best. The only question left is whether some pair straddles
the dividing line and beats best — and that can only happen within a
narrow strip of width 2 * best around the line. Sort that strip by y,
and for each point in it, only the next 7 points in y-order could
possibly be close enough to matter. That bound turns an O(n²) strip check
into O(n), so the whole algorithm is O(n log n): one sort, then a recursion
whose merge step is linear.

Two stops near the depot
Eight of Meridian's stops are scattered around a depot. Which two sit closest together?
(0,0) and (1,1) turn out to be the closest pair — a distance of
sqrt(2) ≈ 1.4142 — and the brute-force base case finds them directly,
because with 8 points the recursion's two halves (4 points each) both
bottom out at the n <= 3 base case almost immediately.