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
| 144 |[Binary Tree Preorder Traversal](https://leetcode.com/problems/binary-tree-preorder-traversal/)|[Java](./Java/binary-tree-preorder-traversal.java)|_O(n)_|_O(logn)_| Medium | Binary Tree, Stack ||
184
184
| 145 |[Binary Tree Postorder Traversal](https://leetcode.com/problems/binary-tree-postorder-traversal/)|[Java](./Java/binary-tree-postorder-traversal.java)|_O(n)_|_O(logn)_| Hard | Binary Tree, Stack ||
185
-
| 103 |[ZigZag Level Order](https://leetcode.com/problems/binary-tree-zigzag-level-order-traversal/)|[JavaScript](./JavaScript/Binary-Tree-ZigZag-Traversal.js)|_O(n)_|_O(n)_| Medium | Binary Tree ||
185
+
| 103 |[ZigZag Level Order](https://leetcode.com/problems/binary-tree-zigzag-level-order-traversal/)|[JavaScript](./JavaScript/Binary-Tree-ZigZag-Traversal.js)<br> [C++](./C++/binary-tree-preorder-traversal.java)|_O(n)_|_O(n)_| Medium | Binary Tree ||
186
186
| 129 |[Sum Root to Leaf Numbers](https://leetcode.com/problems/sum-root-to-leaf-numbers/)|[Java](./Java/sum-root-to-leaf-numbers.java)|_O(n)_|_O(logn)_| Medium | Binary Tree, Depth First Search ||
187
187
| 307 |[Range Sum Query - Mutable](https://leetcode.com/problems/range-sum-query-mutable/)|[Java](./Java/Range-Sum-Query-Mutable.java)|_O(logn)_|_O(n)_| Medium | Segment Tree ||
188
188
| 919 |[Complete Binary Tree Inserter](https://leetcode.com/problems/complete-binary-tree-inserter/)|[Java](./Java/complete-binary-tree-inserter.java)|_O(n)_|_O(n)_| Medium | Tree ||
189
189
| 124 |[Binary Tree Maximum Path Sum](https://leetcode.com/problems/binary-tree-maximum-path-sum/)|[C++](./C++/Binary-Tree-Maximum-Path-Sum.cpp)|_O(n)_|_O(n)_| Hard | Tree ||
190
190
| 1028 |[Recover a Tree From Preorder Traversal](https://leetcode.com/problems/recover-a-tree-from-preorder-traversal/)|[C++](./C++/Recover-a-Tree-From-Preorder-Traversal.cpp)|_O(n)_|_O(n)_| Hard | Tree ||
191
-
192
-
| # | Title | Solution | Time | Space | Difficulty | Tag | Note |
| 144 |[Binary Tree Preorder Traversal](https://leetcode.com/problems/binary-tree-preorder-traversal/)|[Java](./Java/binary-tree-preorder-traversal.java)|_O(n)_|_O(logn)_| Medium | Binary Tree, Stack ||
197
-
| 145 |[Binary Tree Postorder Traversal](https://leetcode.com/problems/binary-tree-postorder-traversal/)|[Java](./Java/binary-tree-postorder-traversal.java)|_O(n)_|_O(logn)_| Hard | Binary Tree, Stack ||
198
-
| 103 |[ZigZag Level Order](https://leetcode.com/problems/binary-tree-zigzag-level-order-traversal/)|[JavaScript](./JavaScript/Binary-Tree-ZigZag-Traversal.js)|_O(n)_|_O(n)_| Medium | Binary Tree ||
199
-
| 129 |[Sum Root to Leaf Numbers](https://leetcode.com/problems/sum-root-to-leaf-numbers/)|[Java](./Java/sum-root-to-leaf-numbers.java)|_O(n)_|_O(logn)_| Medium | Binary Tree, Depth First Search ||
200
-
| 307 |[Range Sum Query - Mutable](https://leetcode.com/problems/range-sum-query-mutable/)|[Java](./Java/Range-Sum-Query-Mutable.java)|_O(logn)_|_O(n)_| Medium | Segment Tree ||
201
-
| 919 | [Complete Binary Tree Inserter](https://leetcode.com/problems/complete-binary-tree-inserter/) | [Java](./Java/complete-binary-tree-inserter.java) | _O(n)_ | _O(n)_ | Medium | Tree
202
-
| 103 | [Binary Tree Zigzag Level Order Traversal](https://leetcode.com/problems/binary-tree-zigzag-level-order-traversal/) | [C++](./C++/binary-tree-preorder-traversal.java) | _O(n)_ | _O(n)_ | Medium | Binary Tree, Stack
203
191
| 968 | [Binary Tree Cameras](https://leetcode.com/problems/binary-tree-cameras/) | [C++](./C++/Binary-Tree-Cameras.cpp) | _O(n)_ | _O(logn)_ | Hard | Binary Tree, Dynamic Programming
0 commit comments