# | title | describe | difficulty | completion | recommend |
---|---|---|---|---|---|
1 | tow sum | 两数之和 | easy | yes | yes |
2 | add two numbers | 两数相加 | medium | yes | yes |
3 | longest substring without repeating characters | 无重复字符的最长子串 | medium | yes | yes |
4 | median of two sorted arrays | 寻找两个有序数组的中位数 | hard | no | no |
5 | longest palindromic substring | 最长回文子串 | medium | no | yes |
7 | reverse integer | 整数反转 | easy | yes | . |
9 | palindrome number | 回文数 | easy | yes | . |
14 | longest common prefix | 最长公共前缀 | easy | yes | yes |
20 | valid parentheses | 有效的括号 | easy | yes | . |
35 | search insert position | 搜索插入位置 | easy | no | . |
53 | Maximum Subarray | 最大子序和 | easy | yes | yes |
66 | plus one | 加1 | easy | yes | . |
67 | add binary | 二进制求和 | easy | yes | . |
69 | sqrtx | x的平方根 | easy | yes | yes |
70 | climbing stairs | 爬楼梯 | easy | yes | yes |
83 | remove duplicates from sorted list | 删除排序链表中的重复元素 | easy | yes | yes |
94 | binary tree inorder traversal | 二叉树的中序遍历 | medium | yes | yes |
100 | same tree | 相同的树 | easy | yes | . |
101 | symmetric tree | 对称二叉树 | easy | yes | . |
104 | maximum depth of binary tree | 二叉树的最大深度 | easy | yes | yes |
110 | balanced binary tree | 平衡二叉树 | easy | yes | . |
111 | minimum depth of binary tree | 二叉树的最小深度 | easy | yes | yes |
144 | binary tree preorder traversal | 二叉树的前序遍历 | medium | yes | yes |
145 | binary tree postorder traversal | 二叉树的后序遍历 | hard | yes | yes |
169 | majority element | 求众数 | easy | yes | . |
189 | rotate array | 旋转数组 | easy | yes | yes |
190 | reverse bits | 颠倒二进制位 | easy | yes | . |
191 | number of 1 bits | 位1的个数 | easy | yes | . |
206 | reverse linked list | 反转链表 | easy | no | . |
215 | kth largest element in an array | 数组中的第K个最大元素 | medium | no | yes |
226 | invert binary tree | 翻转二叉树 | easy | yes | . |
257 | binary tree paths | 二叉树的所有路径 | easy | yes | . |
450 | delete node in a bst | 删除二叉搜索树中的节点 | medium | yes | yes |
617 | merge two binary trees | 合并二叉树 | easy | no | . |
700 | search in a binary search tree | 二叉搜索树中的搜索 | easy | yes | . |
# | title | describe | difficulty | completion | recommend |
---|---|---|---|---|---|
175 | combine two tables | 组合两个表 | easy | yes | . |
176 | second highest salary | 第二高薪 | easy | yes | . |
181 | employees earning more than their managers | 超过经理收入的员工 | easy | yes | . |
183 | customers who never order | 从不订购的客户 | easy | yes | . |
196 | delete-duplicate-emails | 删除重复的电子邮箱 | easy | yes | . |