You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|104|[Maximum Depth of Binary Tree](https://leetcode.com/problems/maximum-depth-of-binary-tree/)|[Python](./tree/Yu/104_maxDepth.py)|_O(N)_|_O(1)_| Easy |||
85
-
|235|[Lowest Common Ancestor of a Binary Search Tree](https://leetcode.com/problems/lowest-common-ancestor-of-a-binary-search-tree/#/description)|[Python](./tree/Yu/235_lca_bst.py)|_O(N)_|_O(1)_| Easy |||
86
-
87
-
88
78
## Tree Easy
89
79
| # | Title | Solution | Time | Space | Difficulty |Tag| Note|
|104|[Maximum Depth of Binary Tree](https://leetcode.com/problems/maximum-depth-of-binary-tree/)|[Python](./tree/Yu/104_maxDepth.py)|_O(N)_|_O(1)_| Easy |||
91
84
|108|[Convert Sorted Array to Binary Search Tree](https://leetcode.com/problems/convert-sorted-array-to-binary-search-tree/#/solutions)|[Python [Yu]](./tree/Yu/108.py)|_O(N)_|_O(N)_| Easy ||[公瑾讲解](https://www.youtube.com/watch?v=lBrb4fXPcMM)|
85
+
|111|[Minimum Depth of Binary Tree](https://leetcode.com/problems/minimum-depth-of-binary-tree/#/description)|[Python [Yu]](https://github.com/yuzhoujr/LeetCode/blob/master/tree/Yu/111_minDepth.py)|_O(N)_|_O(1)_| Easy |||
86
+
|235|[Lowest Common Ancestor of a Binary Search Tree](https://leetcode.com/problems/lowest-common-ancestor-of-a-binary-search-tree/#/description)|[Python](./tree/Yu/235_lca_bst.py)|_O(N)_|_O(1)_| Easy |||
|543|[Diameter of Binary Tree](https://leetcode.com/problems/diameter-of-binary-tree/#/description)|[Python [Yu]](./tree/Yu/543.py)|_O(N)_|_O(h)_| Easy ||[公瑾讲解](https://www.youtube.com/watch?v=0VnOfu2pYTo)|
94
89
|501|[Find Mode in Binary Search Tree](https://leetcode.com/problems/find-mode-in-binary-search-tree/#/description)|[Python [Yu]](./tree/Yu/501.py)|_O(N)_|_O(N)_| Easy ||[公瑾讲解](https://youtu.be/v4F4x_uwMb8)|
90
+
|257|[Binary Tree Paths](https://leetcode.com/problems/binary-tree-paths/#/description)|[Python [Yu]](./tree/Yu/257.py)|_O(N)_|_O(N)_| Easy ||[公瑾讲解](https://youtu.be/Zr_7qq2f16k)|
95
91
|572|[Subtree of Another Tree](https://leetcode.com/problems/subtree-of-another-tree/#/description)|[Python [Yu]](./tree/Yu/572.py)|_O(S*T)_|_O(1)_| Easy ||[公瑾讲解](https://youtu.be/v4F4x_uwMb8)|
96
92
|437|[Path Sum III](https://leetcode.com/problems/path-sum-iii/#/description)|[Python [Yu]](./tree/Yu/437.py)|_O(N^2)_|_O(1)_| Easy |||
97
93
|404|[Sum of Left Leaves](https://leetcode.com/problems/sum-of-left-leaves/#/description)|[Python [Yu]](./tree/Yu/404_sum_of_Left_Leaves.py)|_O(N)_|_O(1)_| Easy |
|270|[Closest Binary Search Tree Value](https://leetcode.com/problems/closest-binary-search-tree-value/#/description)|[Python [Yu]](./tree/Yu/270)|_O(N)_|_O(1)_| Easy ||[公瑾讲解](https://youtu.be/RwvQyKJxHZk)|
96
+
|563|[Binary Tree Tilt](https://leetcode.com/problems/binary-tree-tilt/#/description)|[Python [Yu]](./tree/Yu/563.py)|_O(N)_|_O(1)_| Easy ||[公瑾讲解](https://youtu.be/47FQVP4ynk0)|
101
97
102
98
103
99
104
-
105
-
|563|[Binary Tree Tilt](https://leetcode.com/problems/binary-tree-tilt/#/description)|[Python [Yu]](./tree/Yu/563.py)|_O(N)_|_O(1)_| Easy||[公瑾讲解](https://youtu.be/47FQVP4ynk0)|
106
-
|257|[Binary Tree Paths](https://leetcode.com/problems/binary-tree-paths/#/description)|[Python [Yu]](./tree/Yu/257.py)|_O(N)_|_O(N)_| Easy ||[公瑾讲解](https://youtu.be/Zr_7qq2f16k)|
100
+
## Tree Medium
101
+
| # | Title | Solution | Time | Space|Difficulty |Tag| Note|
|102|[Binary Tree Level Order Traversal](https://leetcode.com/problems/binary-tree-level-order-traversal/#/description)|[Python [Yu]](./tree/Yu/102.py)|_O(N)_|_O(N)_| Medium ||[公瑾讲解](https://youtu.be/IWiprpdSgzg)|
108
104
|107|[Binary Tree Level Order Traversal II](https://leetcode.com/problems/binary-tree-level-order-traversal-ii/#/description)|[Python [Yu]](./tree/Yu/107.py)|_O(N)_|_O(N)_| Medium |||
109
105
|515|[Find Largest Value in Each Tree Row](https://leetcode.com/problems/find-largest-value-in-each-tree-row/#/description)|[Python [Yu]](./tree/Yu/515.py)|_O(N)_|_O(1)_| Medium |||
0 commit comments