Perfect application of max sum rectangle in 2D matrix


#1

The question is a mixture of 2 concpets.
1.> How to you apply the concept of Max Sum Rectangle in 2D matrix in this problem?
2.> Count no of subarray in array whose sum is equal to zero.