| 110 |
Balanced Binary Tree |
Python |
O(N) |
O(h) |
| 107 |
Binary Tree Level Order Traversal II |
Python |
O(N) |
O(h) |
| 112 |
Path Sum |
Python |
O(N) |
O(h) |
Tutorial |
| 100 |
Same Tree |
Python |
O(N) |
O(1) |
| 101 |
Symmetric Tree |
Python |
O(N) |
O(1) |
Tutorial |
| 104 |
Maximum Depth of Binary Tree |
Python |
O(N) |
O(1) |
|
| 108 |
Convert Sorted Array to Binary Search Tree |
Python |
O(N) |
O(N) |
Tutorial |
| 111 |
Minimum Depth of Binary Tree |
Python |
O(N) |
O(1) |
|
| 235 |
Lowest Common Ancestor of a Binary Search Tree |
Python |
O(N) |
O(1) |
|
| 226 |
Invert Binary Tree |
Python |
O(N) |
O(1) |
Tutorial |
| 543 |
Diameter of Binary Tree |
Python |
O(N) |
O(h) |
Tutorial |
| 501 |
Find Mode in Binary Search Tree |
Python |
O(N) |
O(N) |
Tutorial |
| 257 |
Binary Tree Paths |
Python |
O(N) |
O(N) |
Tutorial |
| 572 |
Subtree of Another Tree |
Python |
O(S*T) |
O(1) |
Tutorial |
| 437 |
Path Sum III |
Python |
O(N^2) |
O(1) |
|
Tutorial |
| 404 |
Sum of Left Leaves |
Python |
O(N) |
O(1) |
Tutorial |
| 270 |
Closest Binary Search Tree Value |
Python |
O(N) |
O(1) |
Tutorial |
| 563 |
Binary Tree Tilt |
Python |
O(N) |
O(1) |
Tutorial |
| 538 |
Convert BST to Greater Tree |
Python |
O(N) |
O(1) |
Tutorial |
| 637 |
Average of Levels in Binary Tree |
Python |
O(N) |
O(1) |