Pergunta de entrevista da empresa Hebbia AI

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