The Closest Distance
Given a set of distinct points in the plane, find the squared Euclidean distance between the closest pair of distinct points. Points are supplied as a flattened integer array `[x1, y1, x2, y2, ...]`. Return the minimum squared distance as an integer.