Q152
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}
AnswerAnswer: Option D
Solution
Answer: Option D
No explanation is given for this question Let's Discuss on Board