TalentPace Interview Question

Swap array row into column and column into row