Maximum sum rectangle in a 2D matrix

1 min read

https://practice.geeksforgeeks.org/problems/maximum-sum-rectangle/0

Largest area rectangular sub-matrix with equal number of 1s and 0s
Maximum profit by buying and selling a share at most K times