Kadane's Algorithm Demo

Max Subarray Sum: 0

Subarray: [4]

Iterations: 0

4
3
8
7
2
1
6
5