the condition of the problem states
" The rectangle inside the matrix must have an area > 0."
so given input [[2,2,-1]] 0, why is the expected result -1? rectangle with negative area should not even been considered.
[[2,2,-1]] 0 expect -1 in system?
Looks like your connection to LeetCode Discuss was lost, please wait while we try to reconnect.