Globant interview question

Maximum sum of subarray