#include <vector> class Solution { public: vector<int> FindGreatestSumOfSubArray(vector<int>& array) { // write code here vector<int> dp(array.size(), 0); int l = 0, r = 0; int res1 = 0, res2 = 0, res3 = 0, res4 = 0; dp[0] = arr...