数组
题号 | 题目 | 难度 |
---|---|---|
1 | Two Sum | ☆ |
7 | Reverse Integer | ☆ |
9 | Palindrome Number | ☆ |
66 | Plus One | ☆ |
67 | Add Binary | ☆ |
88 | Merge Sorted Array | ☆ |
136 | Single number | ☆ |
137 | Single number II | ☆ |
146 | LRU Cache | ☆☆☆☆ |
260 | Single Number III | ☆ |
575 | Distribute Candies | ☆ |
836 | Rectangle Overlap | ☆ |
字符串
链表
树
二叉树的遍历
二叉树的构建
题号 | 题目 | 难度 |
---|---|---|
105 | Construct Binary Tree from Preorder and Inorder Traversal | ☆☆☆ |
106 | Construct Binary Tree from Inorder and Postorder Traversal | ☆☆☆ |
二叉查找树
题号 | 题目 | 难度 |
---|---|---|
96 | Unique Binary Search Trees | ☆ |
235 | Lowest Common Ancestor of a Binary Search Tree | ☆ |
二叉树的递归
题号 | 题目 | 难度 |
---|---|---|
104 | Maximum Depth of Binary Tree | ☆ |
112 | Path Sum | ☆ |
113 | Path Sum II | ☆☆ |
129 | Sum Root to Leaf Numbers | ☆ |
226 | Invert Binary Tree | ☆ |
257 | Binary Tree Paths | ☆☆☆ |
437 | Path Sum III | ☆☆☆☆ |
二分查找
题号 | 题目 | 难度 |
---|---|---|
34 | Find First and Last Position of Element in Sorted Array | ☆ |
35 | Search Insert Position | ☆ |
74 | Search a 2D Matrix | ☆ |
动态规划
题号 | 题目 | 难度 |
---|---|---|
62 | Unique Paths | ☆ |
63 | Unique Paths II | ☆☆☆ |
64 | Minimum Path Sum | ☆ |
70 | Climbing Stairs | ☆ |
96 | Unique Binary Search Trees | ☆ |
120 | Triangle | ☆☆ |
198 | House Robber | ☆ |
343 | Integer Break | ☆☆ |
分治法
题号 | 题目 | 难度 |
---|---|---|
50 / 69 | Pow(x, n) / Sqrt(x) | ☆ |
148 | Sort List (链表排序) | ☆☆ |
105 | Construct Binary Tree from Preorder and Inorder Traversal | ☆☆☆ |
106 | Construct Binary Tree from Inorder and Postorder Traversal | ☆☆☆ |