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