rotateImage
perfect square comes to row and column rotate the image by 90 degrees clockwise 1 2 3 7 4 1 4 5 6 -> 8 5 2 7 8 9 9 6 3 0,0 0,1 0,2 -> 0,2, 1,2 2,2 1,0 1,1 1,2 -> 0,1 1,1 2,1 2,0 2,1 2,2 -> 0,0 1,0 2,0 transpose just swap row and column -> then change the order of column 123 147 456 -> 258 -> 789 369 swap a[i,j] = a[j, i]; int [] [] rotateImage(int [] [] matrix){ int N = maxtrix.length; //swap co..