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
πŸ’¬ Discuss
βœ… Correct Answer: (A) when all the elements are negative
Explanation: when all the elements of a matrix are positive, the maximum sum rectangle is the 2d matrix itself.

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

πŸ’¬ Discussion

πŸ“Š Question Analytics

πŸ‘οΈ
744
Total Visits
πŸ“½οΈ
3 y ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
99%
Success Rate