LeetCode

Transpose Matrix

Click here for an explanation.