A

Admin • 828.03K Points
Coach

Q. 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

Explanation by: Admin
when all the elements of a matrix are positive, the maximum sum rectangle is the 2d matrix itself.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.