1.

For which of the following inputs would Kadane’s algorithm produce the INCORRECT output?

A. {0,1,2,3}
B. {-1,0,1}
C. {-1,-2,-3,0}
D. {-4,-3,-2,-1}
Answer» E.


Discussion

No Comment Found