IBM Interview Question

Rotate a 2D array 90 degree clock wise