| 101 |
Symmetric Tree |
DFS |
E |
1 |
| 103 |
Binary Tree Zigzag Level Order Traversal |
DFS/BFS |
E+ |
2 |
| 104 |
Maximum Depth of Binary Tree |
DFS |
E |
1 |
| 105 |
Construct Binary Tree from Preorder and Inorder Traversal |
二叉树 |
M |
4 |
| 106 |
Construct Binary Tree from Inorder and Postorder Traversal |
二叉树 |
M |
4 |
| 107 |
Binary Tree Level Order Traversal II |
DFS/BFS |
E |
2 |
| 108 |
Convert Sorted Array to Binary Search Tree |
BST |
M- |
3 |
| 109 |
Convert Sorted List to Binary Search Tree |
BST |
M |
3 |
| 110 |
Balanced Binary Tree |
BST |
E- |
1 |
| 113 |
Path Sum II |
遍历 |
E- |
1 |
| 114 |
Flatten Binary Tree to Linked List |
遍历 |
M |
3 |
| 115 |
Distinct Subsequences |
DP |
M+ |
4 |
| 117 |
Populating Next Right Pointers in Each Node II |
BFS |
M |
4 |
| 118 |
Pascal’s Triangle |
组合数学 |
E |
1 |
| 119 |
Pascal’s Triangle II |
组合数学 |
M- |
2 |
| 120 |
Triangle |
DP |
E |
2 |
| 121 |
Best Time to Buy and Sell Stock |
DP/贪心 |
E |
2 |
| 122 |
Best Time to Buy and Sell Stock II |
贪心 |
M- |
3 |
| 123 |
Best Time to Buy and Sell Stock III |
DP |
M+ |
5 |
| 124 |
Binary Tree Maximum Path Sum |
树状DP |
M |
5 |
| 126 |
Word Ladder II |
BFS/DFS |
H- |
3 |
| 127 |
Word Ladder |
BFS/DFS |
M |
3 |
| 128 |
Longest Consecutive Sequence |
并查集/hash |
H- |
5 |
| 130 |
Surrounded Regions |
BFS/DFS |
E+ |
3 |
| 131 |
Palindrome Partitioning |
DFS |
E+ |
2 |
| 132 |
Palindrome Partitioning II |
DP |
M+ |
4 |
| 133 |
Clone Graph |
DFS |
M |
5 |
| 134 |
Gas Station |
贪心 |
H- |
5 |
| 135 |
Candy |
贪心 |
M |
4 |
| 136 |
Single Number |
Bitmask |
E |
3 |
| 137 |
Single Number II |
Bitmask |
H- |
5 |
| 138 |
Copy List with Random Pointer |
DFS |
M |
4 |
| 139 |
Word Break |
DFS Trie |
M+ |
4 |
| 140 |
Word Break II |
DFS Trie |
M+ |
4 |
| 141 |
Linked List Cycle |
Ad hoc |
M- |
5 |
| 142 |
Linked List Cycle II |
Ad hoc |
H- |
5 |
| 144 |
Binary Tree Preorder Traversal |
遍历 |
E- |
2 |
| 145 |
Binary Tree Postorder Traversal |
遍历 |
E- |
2 |
| 146 |
LRU Cache |
Linkedlist |
H- |
5 |
| 148 |
Sort List |
Sort |
M |
3 |
| 149 |
Max Points on a Line |
计算几何 |
M+ |
3 |
| 150 |
Evaluate Reverse Polish Notation |
Stack |
M- |
3 |