| 1 | class Solution: |
| 2 | def runningSum(self, nums: List[int]) -> List[int]: |
| 3 | # declare array to return |
| 4 | output = list() |
| 5 | |
| 6 | # compute running sum for each index |
| 7 | for i in range(len(nums)): |
| 8 | output.append(sum(nums[:i+1])) |
| 9 | |
| 10 | return output |
nothing calls this directly
no outgoing calls
no test coverage detected