def max_sum_subarray(arr): size=len(arr) curr_sum=0 max_so_far=arr[0] st=0;end=0;poi=0 for i in range(0,size): curr_sum=curr_sum+arr[i] if(max_so_far