---
title: "Discussion on \"Leetcode 75: Day 1: 1480. Running Sum of 1d Array\" | Hashnode"
description: "Discussion on \"Leetcode 75: Day 1: 1480. Running Sum of 1d Array\". Question\nGiven an array nums. We define a running sum of an array as runningSum[i] = sum(nums[0]…nums[i]).\nReturn the running sum of nums.\nExample 1:\nInput: nums = [1,2,3,4]\nOutput: [1,3,6,10]\nExplanation: Running sum is obtained as follows: [1, 1+2,..."
url: "https://hashnode.com/posts/leetcode-75-day-1-1480-running-sum-of-1d-array/62adc0480924134a80487893"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Leetcode 75: Day 1: 1480. Running Sum of 1d Array](https://raahulsaxena.hashnode.dev/leetcode-75-day-1-1480-running-sum-of-1d-array?utm_source=hashnode&utm_medium=feed)

Question 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. Example 1: Input: nums = \[1,2,3,4\] Output: \[1,3,6,10\] Explanation: Running sum is obtained as follows: \[1, 1+2,...

Jun 18, 2022 · 1 min read · raahulsaxena.hashnode.dev  
Read the article

-   [#array](https://hashnode.com/tag/array)
-   [#prefixsum](https://hashnode.com/tag/prefixsum)
-   [#leetcode75](https://hashnode.com/tag/leetcode75)

## Written by

[Rahul Saxena](https://hashnode.com/@raahulsaxena)

@raahulsaxena · India

  
[View profile](https://hashnode.com/@raahulsaxena)

Clarity | Focus | Discipline

I’m a Master’s student in Computer Science at the University of Massachusetts Amherst, specializing in Computer Vision and Natural Language Processing. I focus on enhancing image captioning, visual question answering (VQA), and text-to-image generation using deep learning. I’m seeking Fall 2024 internships, co-op opportunities, and full-time roles starting in 2025. With over four years of software development experience in healthcare and fintech, including roles at PayPal and Philips, I excel in C++, Java, Python, and JavaScript, with a preference for Python and C++. Outside of work, I’m passionate about photography and trail running, having participated in several marathons and ultra events. I’m open to connecting with professionals and recruiters who value collaboration. Reach out to me at rahulsaxena@umass.edu or connect on LinkedIn.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
