ThoughtSpot interview question

Rotate a matrix 90 degree clockwise