CONTENTSERV interview question

take a 2D array and rotate it by 90 degree