Visa Inc. interview question

Find the contiguous subarray with the largest sum?