Primathon Interview Question

Transpose a 2 D matrix