Sum of an array as runningSum[i] = sum(nums[0]…nums[i]).
Return the running sum of nums. Input: nums = Output: Explanation: Running sum is obtained as follows: .
VICKY CHHETRI
Return the running sum of nums. Input: nums = Output: Explanation: Running sum is obtained as follows: .