Examveda

In which of the following cases, the maximum sum rectangle is the 2D matrix itself?

A. When all the elements are negative

B. When all the elements are positive

C. When some elements are positive and some negative

D. When diagonal elements are positive and rest are negative

Answer: Option A


Join The Discussion

Related Questions on Dynamic Programming in Data Structures