Given an array of integers nums, return the running sum: index i of the result holds the sum of nums[0] through nums[i].
Running Sum of an Array (Set 1) — the data. This set runs 4 cases: nums holds arrays of 3–10 items, with values from -38 to 80. The hidden cases are the largest of the set.