Running Sum of 1d Array.
Q - Given an array nums. We define a running sum of an array as runningSum[i] = sum(nums[0]…nums[i]). Return the running sum of nums.
LeetCode Problem: Link | Click Here
class Solution {
public int[] runningSum(int[] nums) {
// Get the le...
perfinsights.hashnode.dev1 min read