Examveda

Consider the following statements and select which of the following statement are true.
Statement 1: The maximum sum rectangle can be 1X1 matrix containing the largest element If the matrix size is 1X1
Statement 2: The maximum sum rectangle can be 1X1 matrix containing the largest element If all the elements are zero
Statement 3: The maximum sum rectangle can be 1X1 matrix containing the largest element If all the elements are negative

A. Only statement 1 is correct

B. Only statement 1 and Statement 2 are correct

C. Only statement 1 and Statement 3 are correct

D. Statement 1, Statement 2 and Statement 3 are correct

Answer: Option D


Join The Discussion

Related Questions on Dynamic Programming in Data Structures