TO THE NEW interview question

Find maximum sum of a subarray