Microsoft interview question

Programs/ Algo: maximum sum of any sub-arrays from an integer array.