Oblong Industries interview question

Write code to transpose a matrix

Interview Answer

Anonymous

25 Jan 2017

Walk aling the diagonal and swap nm with mn. Make sure to not walk the full wisth of the matrix