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

654. Maximum Binary Tree https://leetcode.com/problems/maximum-binary-tree/ Maximum Binary 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) - 재귀 재귀적인 방법으로 왼쪽 서브트리, 오른쪽 서브트리를 구성합니다. 풀이 순서 초기에 루트 노드를 생성 nums에서 max 값과 idx를 탐색 idx 기준으로 왼쪽과 오른쪽으로 나눠서 배열을 나누고 재귀적으로 subtre..

897. Increasing Order Search Tree https://leetcode.com/problems/increasing-order-search-tree/ Increasing Order 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) - inorder traversal, insert 3 steps로 풀이를 접근 하였습니다. 1) 기존 노드르 inorder traversal 수행해서 정렬된 numbers를 리스..