Maximum Subarray Leetcode problem solved in JavaScript.

Published --