반응형
Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 | 29 |
30 | 31 |
Tags
- java version
- error
- no sources given
- querydsl no sources given
- springboot
- el1008e
- java 여러개 버전
- Java 1.8
- log error
- java 11
- aws
- 스프링부트테스트
- easy
- springbatch error
- java 1.8 11
- parse
- mac os git error
- property or field 'jobparameters' cannot be found on object of type
- Medium
- springboottest
- AWS CLI
- java
- No tests found for given includes
- OpenFeign
- java 버전 변경
- xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools)
- JUnit
- yum install java
- maybe not public or not valid?
- LeetCode
Archives
- Today
- Total
목록Running Sum of 1d Array (1)
쩨이엠 개발 블로그

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, 1+2+3, 1+2+3+4]. Example 2: Input: nums = [1,1,1,1,1] Output: [1,2,3,4,5] Explanation: Running sum is obtained as follows: [1, 1+1, 1+1+1, 1+1+1+1, 1+1+1+1+..
개발/Programming
2021. 1. 27. 10:03