class Solution { public: int FindGreatestSumOfSubArray(vector<int> array) { int sum=array[0],max_sum=array[0],max=array[0]; for(int i=0;i&l...