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
- Array
- binary tree
- binary search
- 중간
- 미디움
- 재귀
- HashTable
- sorting
- list
- hash table
- Medium
- 이진트리
- recursive
- Depth-first Search
- linked list
- Python
- leetcode
- two pointers
- Binary
- easy
- string
- backtracking
- matrix
- 쉬움
- DP
- 문자열
- tree
- math
- dfs
- 리트코드
Archives
- Today
- Total
목록Invert Binary Tree (1)
부부의 코딩 성장 일기

1. 문제 링크 https://leetcode.com/problems/invert-binary-tree/ LeetCode - The World's Leading Online Programming Learning Platform 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 2. 문제 설명 binary tree의 root가 주어졌을 때, 이를 invert한 root를 반환 예시) input이 [4,2,7,1,3,6,9] 이면 output이 [4,7,2,9,6,3,1]로 각 노드의..
Algorithm/LeetCode
2024. 2. 10. 19:00