Comcast interview question

Find the subarray which will give a largest sum