Pregunta de entrevista de Oracle

To find the maximum sum subarray from the given array.