반응형
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
- Medium
- Java 1.8
- mac os git error
- error
- 스프링부트테스트
- aws
- springboot
- el1008e
- xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools)
- log error
- java
- java 버전 변경
- springbatch error
- LeetCode
- maybe not public or not valid?
- java 1.8 11
- JUnit
- java 11
- java 여러개 버전
- OpenFeign
- querydsl no sources given
- springboottest
- easy
- java version
- parse
- yum install java
- AWS CLI
- property or field 'jobparameters' cannot be found on object of type
- no sources given
- No tests found for given includes
Archives
- Today
- Total
목록Running Sum of 1d Array (1)
쩨이엠 개발 블로그
[ Leetcode ] 1480. Running Sum of 1d Array - Java
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