42. Transpose a Matrix

Easy

Return the transpose of the 2-D tensor X (swap its rows and columns).

Sign in to write and run your own code.

Implement solve(...)