maximum subarray kadane algorithm
See more