| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 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
- 시바견
- 109. Convert Sorted List to Binary Search Tree
- t1
- 프로그래머스
- DWG
- kaggle
- iterator
- Decorator
- Substring with Concatenation of All Words
- 30. Substring with Concatenation of All Words
- 파이썬
- data science
- 밴픽
- 715. Range Module
- Convert Sorted List to Binary Search Tree
- 컴퓨터의 구조
- concurrency
- Class
- shiba
- Generator
- attribute
- Python Implementation
- Regular Expression
- 43. Multiply Strings
- Python Code
- 운영체제
- Python
- Protocol
- LeetCode
- 315. Count of Smaller Numbers After Self
Archives
- Today
- Total
Scribbling
LeetCode: 55. Jump Game 본문
class Solution:
def canJump(self, nums):
destination = len(nums) - 1
for i in range(len(nums)-2, -1, -1):
if i + nums[i] >= destination:
destination = i
return destination == 0'Computer Science > Coding Test' 카테고리의 다른 글
| LeetCode: 56. Merge Intervals (0) | 2021.09.23 |
|---|---|
| LeetCode: 54. Spiral Matrix (1) | 2021.09.17 |
| LeetCode: 52. N-Queens II (0) | 2021.09.15 |
| LeetCode: 51. N-Queens (0) | 2021.09.14 |
| LeetCode: 10. Regular Expression Matching (0) | 2021.09.14 |