Max Sum of Rectangle No Larger Than K
Problem statement
Given an m x n matrix matrix and an integer k, return the max sum of a rectangle in the matrix such that its sum is no larger than k.
It is guaranteed that there will be a rectangle with a sum no larger than k.
Problem statement tak...
alkesh26.hashnode.dev7 min read