반응형
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
- 그림
- csts
- 미켈란젤로
- react
- 연필소묘
- KSTQB
- 코드잇
- 코딩테스트
- 테스팅 자격증
- 연필
- Python
- 재택근무
- IT자격증
- 다비드상
- Kriss 재택
- 파이썬
- 토익 환급
- IT 자격증
- 취미
- 클린 코드
- 소묘
- 알고리즘
- 프로그래밍
- leetcode
- clean code
- 코딩
- 프로그래머스
- 색연필
- 웹개발
- PrivateRouter
Archives
- Today
- Total
목록Tree (2)
글모음
[leetcode] 563. Binary Tree Tilt [Python , Easy]
Tree 문제 [코드] Binary Tree Tilt - LeetCode Level up your coding skills and quickly land a job. This is the best place to expand your knowledge and get prepared for your next interview. leetcode.com
카테고리 없음
2021. 6. 18. 16:10
[Leetcode] 938. Range Sum of BST [Python, easy]
[ 문제 해설 ] Tree를 탐방해서 low와 high 사이에 해당하는 값을 전부 더해서 반환하는 문제다. [ 코드 1. Stack으로 구현 ] class Solution: def rangeSumBST(self, root: TreeNode, low: int, high: int) -> int: if not root: return 0 stack = [root] ans = 0 while stack: c_node = stack.pop() if c_node: if low
카테고리 없음
2021. 6. 12. 17:24