My-LeetCode-Solvings

C# Code Challenges Solved on LeetCode


Project maintained by F4NT0 Hosted on GitHub Pages — Theme by mattgraham

1480. Running Sum of 1d Array

Level: Easy

Language: C#

Topic: Arrays

Unit Tests: 1480 - Testing Results


Given an array nums. We define a running sum of an array as

runningSum[i] = sum(nums[0]nums[i]).

Expected: Return the running sum of nums.

Example 1:

Example 2:

Example 3:

Constraints: