#Leetcode

Опубликовано: 29 Октябрь 2024
на канале: The Exception Handler
350
19

Here is the solution to "Running Sum of 1d Array" leetcode question. Hope that you will like the way I have explained the solution.

Problem Statement
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.



******* Table of content *******
00:00 Understanding the problem statement
02:21 understanding problem with an example
08:50 Algo
13:05 Final code in Golang
14:46 Thank you

#leetcode #leetcodesolution #programming #interviewquestions #codinginterview #1480leetcodesolution #amazoninterview #theexceptionhandler