22. Pairwise Distances

Medium

Z is an (n, 2) float tensor of coordinates. Return the (n, n) matrix of pairwise Euclidean distances between every pair of rows.

Implement solve(...)