Java Easy || SImple
\tclass Solution {\n\t\tpublic int[][] rangeAddQueries(int n, int[][] q) {\n\t\t\tint[][] mat = new int[n][n];\n\t\t\tfor(int[] arr:q){\n\t\t\t\tint row1=arr[0]
\tclass Solution {\n\t\tpublic int[][] rangeAddQueries(int n, int[][] q) {\n\t\t\tint[][] mat = new int[n][n];\n\t\t\tfor(int[] arr:q){\n\t\t\t\tint row1=arr[0],col1=arr[1], row2=arr[2],col2=arr[3];\n\t\t\t\tfor(int i=row1;i<=row2 && i<n;i++){\n\t\t\t\t\tfor(int j=col1;j<=col2 && j<n;j++){\n\t\t\t\t\t\tmat[i][j]+=1;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n\t\t\treturn mat;\n\t\t}\n\t}
['Matrix', 'Java']