Solution1 Traverse

Assign matrix[i][j] to res[j][i]

Last updated

Was this helpful?