DIY: Maximum Subarray

Solve the interview question "Maximum Subarray" in this lesson.

Problem statement

Given an integer list, return the sum of the maximum contiguous subarray. The list may contain both positive and negative integers and is unsorted. ...