

McqMate
Q. |
Consider the 2×2 matrix {{-1,-2},{-3,-4}}. What is the sum of elements of the maximum sum rectangle? |
A. | 0 |
B. | -1 |
C. | -7 |
D. | -12 |
Answer» B. -1 | |
Explanation: since all the elements of the 2×2 matrix are negative, the maximum sum rectangle is {-1}, a 1×1 matrix containing the largest element. the sum of elements of the maximum sum rectangle is -1. |
View all MCQs in
Design and Analysis of AlgorithmsNo comments yet