Help me out there

https://ide.codingblhttps://leetcode.com/problems/max-sum-of-rectangle-no-larger-than-k/ocks.com/s/389783

Hey @shivammishra20121999
Please share the links again


@Kartikkhariwal1 are u there ??

Yeah what is the issue, why u are printing log1/ …

I think u share the wrong code

@Kartikkhariwal1

@Kartikkhariwal1 sorry bro i had copied wrong link ???

@Kartikkhariwal1 are u there bro…

@Kartikkhariwal1 ???/

Yeah … …
so u are having buffer issue ?

@Kartikkhariwal1 you have run on leetcode ??

yeah

            for(int k=0;k<row;k++)
            {
                temp[k]+=mat[right][k]; //updated this 
            }

@Kartikkhariwal1 why bro ??

You want to take one row at a time
right?

I just change it according to ur code

@Kartikkhariwal1 i think you didinot get what i am doing?

Tell me your algo
I will tell you where u are going wrong

@Kartikkhariwal1
i am starting from each row and make all pssible rectangles
with the help of kadane algoeithms

Hey @shivammishra20121999
Please write comments in your code for maxSumSubmatrix function