Faanghut
  • Home
  • About
Sign in Subscribe

LeetCode

Running Sum of 1D Array

Running Sum of 1D Array

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.
Vishnu Jan 22, 2023

Subscribe to Faanghut

Don't miss out on the latest articles. Sign up now.
  • Privacy Policy
Faanghut © 2023. Powered by Ghost