class Solution {
public:
vector<int> runningSum(vector<int>& nums) {
vector<int> runningSum;
int sum = 0;
int len = nums.size();
for(int i = 0; i < len; i++)
{
sum = sum + nums[i];
runningSum.push_back(sum);
}
return runningSum;
}
};