일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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
- gcp
- nlp
- 리트코드
- 코드업
- Stack
- codeup
- Python3
- Greedy
- 릿코드
- 알고리즘
- 생성형AI
- dfs
- 파이썬알고리즘
- 니트코드
- SQL
- GenerativeAI
- 파이썬
- 파이썬기초100제
- heap
- LeetCode
- 슬라이딩윈도우
- slidingwindow
- array
- sql코테
- stratascratch
- GenAI
- two-pointer
- 투포인터
- 자연어처리
- Python
Archives
- Today
- Total
목록2025/06/09 (1)
Tech for good

https://leetcode.com/problems/jump-game/description/class Solution: def canJump(self, nums: List[int]) -> bool: max_reach = 0 for i in range(len(nums)): if i > max_reach: return False # Current index is unreachable max_reach = max(max_reach, i + nums[i]) # Update the farthest reachable index return True✅ Explanation:max_reach keeps t..
IT/Computer Science
2025. 6. 9. 22:41