Connect all points with minimum total cost. Cost = Manhattan distance. Prim's MST: pick min-dist non-MST point, add to MST, update minDist.
[[0,0],[2,2],[3,10],[5,2],[7,0]]20Complete graph (all pairs). minDist[v]=cheapest edge from v to current MST. Greedy pick gives MST.