LeetCode
Max Sum of Rectangle No Larger Than K
Click
here
for an explanation.