ThoughtSpot Interview Question

Rotate a matrix 90 degree clockwise