DSA Interview Question

2 max sum of array