DSA interview question

2 max sum of array