For which of the following inputs would Kadane’s algorithm produce the INCORRECT output?
Posted: Wed Jul 13, 2022 7:40 pm
a) {0,1,2,3}
b) {-1,0,1}
c) {-1,-2,-3,0}
d) {-4,-3,-2,-1}
b) {-1,0,1}
c) {-1,-2,-3,0}
d) {-4,-3,-2,-1}
Accurate answers. Every time.
https://answerhappy.com/