AlgoMaster Logo

Running Sum of 1d Array

nums=[1, 2, 3, 4]
0 / 4
Input (nums)01122334Running Sum1
algomaster.io
Step:Start: result[0] = nums[0], then accumulate from left to right