Function that returns the maximum sub - array sum after removing an element from the same sub - array
int maximizeSum ( int a [ ] , int n ) { int cnt = 0 ; int mini = INT_MAX ; int minSubarray = INT_MAX ;