Tejas Networks interview question

Rotate matrix by 90 deg