Bharti Airtel interview question

Modification of maximum subarray sum