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
- 상가수익률계산기
- 잇츠디모
- 릿코드 파이썬
- 파이썬릿코드
- python priority queue
- 파이썬 알고리즘
- python xor
- 파이썬 알고리즘 풀기
- 릿코드 풀기
- 릿코드
- 알고리즘풀기
- leetcode풀기
- python 릿코드
- leetcode 풀기
- 릿코드풀기
- LeetCode
- 파이썬릿코드풀기
- python sorted
- 파이썬알고리즘
- 알고리즘풀이
- python Leetcode
- 코틀린기초
- python 알고리즘
- python zip_longest
- leetcode풀이
- 파이썬 프로그래머스
- binary search
- 파이썬알고리즘풀기
- 릿코드풀이
- 파이썬 릿코드
Archives
- Today
- Total
목록leetcode daily (1)
소프트웨어에 대한 모든 것
1413. Minimum Value to Get Positive Step by Step Sum 문제) 솔루션1) class Solution: def minStartValue(self, nums: List[int]) -> int: if nums[0] > 0: start = 1 else: start = abs(nums[0]) + 1 while True: r = start for n in nums: if r+n int: return abs(min(accumulate(nums, initial=0))) + 1
알고리즘/LeetCode
2021. 11. 12. 08:34