44. Cartesian to Polar

Medium

Z is an (n, 2) array of cartesian (x, y) coordinates. Return an (n, 2) array of polar coordinates (R, T) where R = sqrt(x²+y²) and T = arctan2(y, x).

Implement solve(...)