52. Point-by-Point Distances

Medium

Z is an (n, 2) array of coordinates. Return the (n, n) matrix of pairwise Euclidean distances.

Implement solve(...)