Cisco Interview Question

rotate a square matrix clockwise