diff --git a/Java/rotate180 b/Java/rotate180 new file mode 100644 index 0000000..b6a7d14 --- /dev/null +++ b/Java/rotate180 @@ -0,0 +1,33 @@ +public class rotate180d{ + static void rotateMatrix(int[][] mat){ + int n=mat.length; + int [][] res= new int[n][n]; + for(int i=0;i