Pregunta de entrevista de MAQ Software

To find the subarray with maximum sum