Notice
Recent Posts
Recent Comments
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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
- SW Expert Academy
- 금융문자분석경진대회
- 캐치카페
- gs25
- 맥북
- ubuntu
- Real or Not? NLP with Disaster Tweets
- 백준
- 파이썬
- Kaggle
- github
- 코로나19
- Baekjoon
- PYTHON
- 자연어처리
- 편스토랑 우승상품
- 프로그래머스 파이썬
- programmers
- 편스토랑
- 우분투
- dacon
- 프로그래머스
- leetcode
- AI 경진대회
- ChatGPT
- hackerrank
- 더현대서울 맛집
- Git
- 데이콘
- Docker
Archives
- Today
- Total
목록
반응형
2020/09/02 (1)
반응형
솜씨좋은장씨
[leetCode] 1480. Running Sum of 1d Array (Python)
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/코딩 1일 1문제
2020. 9. 2. 00:15
반응형