public static void main(String args[]){

        int matrix[][] = {{1,2,3,4,20},{5,6,7,8,30},{9,10,11,12,40},{13,14,15,16,50},{21,22,23,24,25}};
        RotateImage ti = new RotateImage();
        ti.rotate(matrix);
        ti.print(matrix);
    }
Date 07/31/2016
@author Tushar Roy

You are given an n x n 2D matrix representing an image.
Rotate the image by 90 degrees (clockwise).

https://leetcode.com/problems/rotate-image/
src/com/interview/multiarray/RotateImage.java