find the sum of contiguous subarray within a one-dimensional array of numbers which has the largest sum or kadane’s algorithm June 25, 2016September 28, 2016 liesbeek Amazon