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

https://neetcode.io/problems/daily-temperatures?list=neetcode150 NeetCode neetcode.ioApproach 1 -> nest loop (time complexity: O(n^2)) class Solution: def dailyTemperatures(self, temperatures: List[int]) -> List[int]: res = [] # t = temperature[i] for i, t in enumerate(temperatures): j = i+1 while j = temperatures[j]: j+=1 ..
IT/Computer Science
2025. 6. 28. 04:08

https://neetcode.io/problems/minimum-stack?list=neetcode150 NeetCode neetcode.ioclass MinStack: def __init__(self): self.stack = [] self.min_stack = [] def push(self, val: int) -> None: self.stack.append(val) if self.min_stack: min_stack_element = self.min_stack[-1] self.min_stack.append(min(val, min_stack_element)) else: ..
IT/Computer Science
2025. 6. 28. 03:39