Ad
  • Custom User Avatar

    What the highest possible sum is of the list when looking at all consecutive numbers.
    maxSequence [1,-2,3,0,4,-5]
    =>
    highest sum is from [3,0,4]
    =>
    highest sum is 7
    =>
    maxSequence [1,-2,3,0,4,-5] = 7