Altimetrik interview question

Matrix transpose