in function maxSumSubmatrix during inisialization of result it is equal to INT_MIN, please explain me why is this so ??
Maximum sum submatrix
@neelmani98 Here you have to find maximum of all possibilities.
Whenever you have to find maximum of all possibilities, you can use such a statement:
int maximum_so_far=INT_MIN;
maximum_so_far=max(maximum_so_far, a_possibility);
INT_MIN is the minimum value of an integer. So such a statement is very much obvious in finding maximum of all possibilities. Do a dry run with some random values and you will get it.