Hebbia AI interview question

Find the contiguous subarray within an integer array that yields the maximum possible sum and return that sum