Amazon interview question

Maximum subarray sum. DSA question in OA round