Given a matrix represented as a 2D integer list, return its transpose. The transpose of a matrix is obtained by swapping its rows with its columns or vice versa.
Constraints:
1≤m, n≤100
...
⋮
Problem
Submissions
Solution: Transpose Matrix
Statement▼
Given a matrix represented as a 2D integer list, return its transpose. The transpose of a matrix is obtained by swapping its rows with its columns or vice versa.