Sponsored
Use these hints if you're stuck. Try solving on your own first.
We don't need any special algorithms to do this. You just need to know what the transpose of a matrix looks like. Rows become columns and vice versa!
Solve with full IDE support and test cases