TOPIC
TREE RECURSION
Every tree recursion problem in the series, in the order the worlds teach them.
13 STAGES
EASY1:28Invert Binary Tree
LC 226▶ START
EASY1:29Maximum Depth of Binary Tree
LC 104▶ START
EASY1:42Same Tree
LC 100▶ START
EASY1:35Symmetric Tree
LC 101▶ START
EASY1:40Diameter of Binary Tree
LC 543▶ START
EASY1:39Balanced Binary Tree
LC 110▶ START
EASY1:39Subtree of Another Tree
LC 572▶ START
MEDIUM1:38Validate BST
LC 98▶ START
EASY1:37Convert Sorted Array to Binary Search Tree
LC 108▶ START
MEDIUM1:34Lowest Common Ancestor
LC 236▶ START
MEDIUM1:47Construct Binary Tree from Preorder and Inorder Traversal
LC 105▶ START
HARD1:43Binary Tree Maximum Path Sum
LC 124▶ START
HARD1:37Binary Tree Cameras
LC 968▶ START
More topics
- Dynamic programming 19
- Backtracking 17
- Greedy 17
- Bit manipulation 8
- Design 8
- Two pointers 8
- Hash map 7
- Heap 7
- Binary search 6
- Breadth-first search 5
- Linked list 5
- Fast and slow pointers 4
- Grid search 4
- Shortest path 4
- Depth-first search 3
- Math 3
- Carry 2
- Hash set 2
- Matrix 2
- Monotonic stack 2
- Prefix sums 2
- Sliding window 2
- Stack 2
- Topological sort 2
- Trie 2