일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- 알고리즘풀기
- python sorted
- 상가수익률계산기
- leetcode 풀기
- python priority queue
- 파이썬 알고리즘 풀기
- binary search
- 잇츠디모
- 파이썬릿코드풀기
- LeetCode
- 릿코드풀이
- 파이썬릿코드
- 릿코드 풀기
- python 알고리즘
- 파이썬알고리즘
- leetcode풀이
- leetcode풀기
- 릿코드
- python Leetcode
- python zip_longest
- python 릿코드
- 릿코드 파이썬
- 릿코드풀기
- 코틀린기초
- 파이썬알고리즘풀기
- 알고리즘풀이
- python xor
- 파이썬 프로그래머스
- 파이썬 알고리즘
- 파이썬 릿코드
- Today
- Total
목록중위순회 (2)
소프트웨어에 대한 모든 것

1382. Balance a Binary Search Tree https://leetcode.com/problems/balance-a-binary-search-tree/ Balance a Binary Search Tree - 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 문제) 솔루션1) - Bianry Search Tree 풀이 전략: 넘겨 받은 root 트리를 inorder 순회하여 정렬된 val를 리스트를(nums) 구성 Binary Search Tree ..

938. Range Sum of BST https://leetcode.com/problems/range-sum-of-bst/ Range Sum of BST - 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 문제) 솔루션1) - inorder traversal 이진 트리의 전위, 중위, 후위 순회 뭐든 사용해도 상관없습니다. 트리의 전체를 순회하면서 val이 low, high의 사이 값인 경우 저장해서 sum을 구합니다. class Solution: def ran..