Cisco interview question

rotate a square matrix clockwise