Matrix Transpose

Given an integer matrix matrix, implement a function to return the transpose of the matrix. The transpose of a matrix is the new matrix obtained by exchanging the rows and columns of the original ma...

Example

Unlock to view complete problem details

and practice with sample input/output

Was this article helpful?

View Test Cases & Run Code requires membership

Standard Input
Execution Result: