Given an array nums, return its running sum.
The running sum is defined as runningSum[i] = sum(nums[0] ... nums[i]).
This is the prefix-sum array in its purest form - every prefix-sum problem starts by building this, even when the final solution never materializes the whole array.