반응형
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 |
Tags
- java
- mac os git error
- Java 1.8
- 스프링부트테스트
- java version
- error
- no sources given
- maybe not public or not valid?
- springboot
- springboottest
- log error
- AWS CLI
- Medium
- java 버전 변경
- springbatch error
- java 여러개 버전
- xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools)
- property or field 'jobparameters' cannot be found on object of type
- easy
- java 1.8 11
- No tests found for given includes
- LeetCode
- OpenFeign
- JUnit
- querydsl no sources given
- java 11
- el1008e
- parse
- aws
- yum install java
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