[QUIZ] Maximum Sub-Array (#131)

So, it means I have to dump my written code directly to trash? :frowning:

···

On 7/13/07, Matt Greer <matt.e.greer / gmail.com> wrote:
>
> > by Harlan
> >
> > Given an array of integers, find the sub-array with maximum sum. For
> > example:
> >
> > array: [-1, 2, 5, -1, 3, -2, 1]
> > maximum sub-array: [2, 5, -1, 3]
>
> Just to confirm the problem. Wouldn't the maximum sub array be
>
> [2, 5, 3] ?
>

Duh. Nevermind :slight_smile: Maximum sub *array*. I get it. Carry on. Don't mind me...

Matt