MathWorks Interview Question

Maximum Subarray sum of an array