Airware interview question

Largest sum contiguous subarray