|
4 | 4 | |题目|出现次数|链接|
|
5 | 5 | |-|-|-|
|
6 | 6 | |72. 编辑距离|8|https://leetcode-cn.com/problems/edit-distance|
|
| 7 | +|103. 二叉树的锯齿形层次遍历|7|https://leetcode-cn.com/problems/binary-tree-zigzag-level-order-traversal| |
| 8 | +|215. 数组中的第K个最大元素|6|https://leetcode-cn.com/problems/kth-largest-element-in-an-array| |
| 9 | +|236. 二叉树的最近公共祖先|6|https://leetcode-cn.com/problems/lowest-common-ancestor-of-a-binary-tree| |
7 | 10 | |300. 最长上升子序列|6|https://leetcode-cn.com/problems/longest-increasing-subsequence|
|
8 |
| -|103. 二叉树的锯齿形层次遍历|5|https://leetcode-cn.com/problems/binary-tree-zigzag-level-order-traversal| |
9 |
| -|215. 数组中的第K个最大元素|4|https://leetcode-cn.com/problems/kth-largest-element-in-an-array| |
10 |
| -|33. 搜索旋转排序数组|3|https://leetcode-cn.com/problems/search-in-rotated-sorted-array| |
11 |
| -|200. 岛屿数量|3|https://leetcode-cn.com/problems/number-of-islands| |
| 11 | +|200. 岛屿数量|5|https://leetcode-cn.com/problems/number-of-islands| |
| 12 | +|33. 搜索旋转排序数组|4|https://leetcode-cn.com/problems/search-in-rotated-sorted-array| |
| 13 | +|69. x 的平方根|4|https://leetcode-cn.com/problems/sqrtx| |
| 14 | +|3. 无重复字符的最长子串|3|https://leetcode-cn.com/problems/longest-substring-without-repeating-characters| |
| 15 | +|23. 合并K个排序链表|3|https://leetcode-cn.com/problems/merge-k-sorted-lists| |
12 | 16 | |4. 寻找两个正序数组的中位数|3|https://leetcode-cn.com/problems/median-of-two-sorted-arrays|
|
| 17 | +|剑指 Offer 29. 顺时针打印矩阵|3|https://leetcode-cn.com/problems/shun-shi-zhen-da-yin-ju-zhen-lcof| |
| 18 | +|695. 岛屿的最大面积|3|https://leetcode-cn.com/problems/max-area-of-island| |
13 | 19 | |240. 搜索二维矩阵 II|3|https://leetcode-cn.com/problems/search-a-2d-matrix-ii|
|
14 | 20 | |102. 二叉树的层序遍历|3|https://leetcode-cn.com/problems/binary-tree-level-order-traversal|
|
15 |
| -|236. 二叉树的最近公共祖先|3|https://leetcode-cn.com/problems/lowest-common-ancestor-of-a-binary-tree| |
| 21 | +|49. 字母异位词分组|3|https://leetcode-cn.com/problems/group-anagrams| |
| 22 | +|209. 长度最小的子数组|3|https://leetcode-cn.com/problems/minimum-size-subarray-sum| |
| 23 | +|85. 最大矩形|3|https://leetcode-cn.com/problems/maximal-rectangle| |
| 24 | +|287. 寻找重复数|3|https://leetcode-cn.com/problems/find-the-duplicate-number| |
16 | 25 | |64. 最小路径和|3|https://leetcode-cn.com/problems/minimum-path-sum|
|
| 26 | +|5. 最长回文子串|3|https://leetcode-cn.com/problems/longest-palindromic-substring| |
| 27 | +|46. 全排列|3|https://leetcode-cn.com/problems/permutations| |
| 28 | +|121. 买卖股票的最佳时机|3|https://leetcode-cn.com/problems/best-time-to-buy-and-sell-stock| |
17 | 29 | |15. 三数之和|3|https://leetcode-cn.com/problems/3sum|
|
18 | 30 | |394. 字符串解码|3|https://leetcode-cn.com/problems/decode-string|
|
19 | 31 | |110. 平衡二叉树|2|https://leetcode-cn.com/problems/balanced-binary-tree|
|
20 |
| -|3. 无重复字符的最长子串|2|https://leetcode-cn.com/problems/longest-substring-without-repeating-characters| |
21 | 32 | |572. 另一个树的子树|2|https://leetcode-cn.com/problems/subtree-of-another-tree|
|
22 |
| -|23. 合并K个排序链表|2|https://leetcode-cn.com/problems/merge-k-sorted-lists| |
23 | 33 | |1. 两数之和|2|https://leetcode-cn.com/problems/two-sum|
|
24 |
| -|剑指 Offer 29. 顺时针打印矩阵|2|https://leetcode-cn.com/problems/shun-shi-zhen-da-yin-ju-zhen-lcof| |
25 |
| -|695. 岛屿的最大面积|2|https://leetcode-cn.com/problems/max-area-of-island| |
26 | 34 | |105. 从前序与中序遍历序列构造二叉树|2|https://leetcode-cn.com/problems/construct-binary-tree-from-preorder-and-inorder-traversal|
|
| 35 | +|206. 反转链表|2|https://leetcode-cn.com/problems/reverse-linked-list| |
27 | 36 | |88. 合并两个有序数组|2|https://leetcode-cn.com/problems/merge-sorted-array|
|
28 | 37 | |152. 乘积最大子数组|2|https://leetcode-cn.com/problems/maximum-product-subarray|
|
29 | 38 | |70. 爬楼梯|2|https://leetcode-cn.com/problems/climbing-stairs|
|
30 |
| -|49. 字母异位词分组|2|https://leetcode-cn.com/problems/group-anagrams| |
31 |
| -|209. 长度最小的子数组|2|https://leetcode-cn.com/problems/minimum-size-subarray-sum| |
32 | 39 | |48. 旋转图像|2|https://leetcode-cn.com/problems/rotate-image|
|
33 |
| -|85. 最大矩形|2|https://leetcode-cn.com/problems/maximal-rectangle| |
34 |
| -|287. 寻找重复数|2|https://leetcode-cn.com/problems/find-the-duplicate-number| |
35 |
| -|5. 最长回文子串|2|https://leetcode-cn.com/problems/longest-palindromic-substring| |
36 |
| -|46. 全排列|2|https://leetcode-cn.com/problems/permutations| |
| 40 | +|剑指 Offer 36. 二叉搜索树与双向链表|2|https://leetcode-cn.com/problems/er-cha-sou-suo-shu-yu-shuang-xiang-lian-biao-lcof| |
| 41 | +|179. 最大数|2|https://leetcode-cn.com/problems/largest-number| |
37 | 42 | |剑指 Offer 51. 数组中的逆序对|2|https://leetcode-cn.com/problems/shu-zu-zhong-de-ni-xu-dui-lcof|
|
38 | 43 | |143. 重排链表|2|https://leetcode-cn.com/problems/reorder-list|
|
39 | 44 | |239. 滑动窗口最大值|2|https://leetcode-cn.com/problems/sliding-window-maximum|
|
40 | 45 | |238. 除自身以外数组的乘积|2|https://leetcode-cn.com/problems/product-of-array-except-self|
|
41 |
| -|121. 买卖股票的最佳时机|2|https://leetcode-cn.com/problems/best-time-to-buy-and-sell-stock| |
| 46 | +|25. K 个一组翻转链表|2|https://leetcode-cn.com/problems/reverse-nodes-in-k-group| |
| 47 | +|129. 求根到叶子节点数字之和|2|https://leetcode-cn.com/problems/sum-root-to-leaf-numbers| |
42 | 48 | |补充题4. 手撕快速排序|2|https://leetcode-cn.com/problems/sort-an-array|
|
| 49 | +|42. 接雨水|2|https://leetcode-cn.com/problems/trapping-rain-water| |
43 | 50 | |415. 字符串相加|2|https://leetcode-cn.com/problems/add-strings|
|
44 |
| -|69. x 的平方根|2|https://leetcode-cn.com/problems/sqrtx| |
| 51 | +|221. 最大正方形|2|https://leetcode-cn.com/problems/maximal-square| |
| 52 | +|400. 第N个数字|2|https://leetcode-cn.com/problems/nth-digit| |
| 53 | +|54. 螺旋矩阵|2|https://leetcode-cn.com/problems/spiral-matrix| |
45 | 54 | |104. 二叉树的最大深度|1|https://leetcode-cn.com/problems/maximum-depth-of-binary-tree|
|
46 | 55 | |160. 相交链表|1|https://leetcode-cn.com/problems/intersection-of-two-linked-lists|
|
47 | 56 | |636. 函数的独占时间|1|https://leetcode-cn.com/problems/exclusive-time-of-functions|
|
|
54 | 63 | |509. 斐波那契数|1|https://leetcode-cn.com/problems/fibonacci-number|
|
55 | 64 | |128. 最长连续序列|1|https://leetcode-cn.com/problems/longest-consecutive-sequence|
|
56 | 65 | |20. 有效的括号|1|https://leetcode-cn.com/problems/valid-parentheses|
|
57 |
| -|206. 反转链表|1|https://leetcode-cn.com/problems/reverse-linked-list| |
58 | 66 | |264. 丑数 II|1|https://leetcode-cn.com/problems/ugly-number-ii|
|
59 | 67 | |437. 路径总和 III|1|https://leetcode-cn.com/problems/path-sum-iii|
|
60 | 68 | |560. 和为K的子数组|1|https://leetcode-cn.com/problems/subarray-sum-equals-k|
|
|
65 | 73 | |124. 二叉树中的最大路径和|1|https://leetcode-cn.com/problems/binary-tree-maximum-path-sum|
|
66 | 74 | |剑指 Offer 54. 二叉搜索树的第k大节点|1|https://leetcode-cn.com/problems/er-cha-sou-suo-shu-de-di-kda-jie-dian-lcof|
|
67 | 75 | |518. 零钱兑换 II|1|https://leetcode-cn.com/problems/coin-change-2|
|
68 |
| -|剑指 Offer 36. 二叉搜索树与双向链表|1|https://leetcode-cn.com/problems/er-cha-sou-suo-shu-yu-shuang-xiang-lian-biao-lcof| |
69 | 76 | |50. Pow(x, n)|1|https://leetcode-cn.com/problems/powx-n|
|
70 | 77 | |122. 买卖股票的最佳时机 II|1|https://leetcode-cn.com/problems/best-time-to-buy-and-sell-stock-ii|
|
71 |
| -|179. 最大数|1|https://leetcode-cn.com/problems/largest-number| |
72 | 78 | |807. 保持城市天际线|1|https://leetcode-cn.com/problems/max-increase-to-keep-city-skyline|
|
73 | 79 | |123. 买卖股票的最佳时机 III|1|https://leetcode-cn.com/problems/best-time-to-buy-and-sell-stock-iii|
|
74 | 80 | |315. 计算右侧小于当前元素的个数|1|https://leetcode-cn.com/problems/count-of-smaller-numbers-after-self|
|
75 | 81 | |1363. 形成三的最大倍数|1|https://leetcode-cn.com/problems/largest-multiple-of-three|
|
76 | 82 | |376. 摆动序列|1|https://leetcode-cn.com/problems/wiggle-subsequence|
|
77 |
| -|25. K 个一组翻转链表|1|https://leetcode-cn.com/problems/reverse-nodes-in-k-group| |
78 | 83 | |1143. 最长公共子序列|1|https://leetcode-cn.com/problems/longest-common-subsequence|
|
79 | 84 | |32. 最长有效括号|1|https://leetcode-cn.com/problems/longest-valid-parentheses|
|
80 | 85 | |718. 最长重复子数组|1|https://leetcode-cn.com/problems/maximum-length-of-repeated-subarray|
|
|
85 | 90 | |96. 不同的二叉搜索树|1|https://leetcode-cn.com/problems/unique-binary-search-trees|
|
86 | 91 | |41. 缺失的第一个正数|1|https://leetcode-cn.com/problems/first-missing-positive|
|
87 | 92 | |403. 青蛙过河|1|https://leetcode-cn.com/problems/frog-jump|
|
88 |
| -|129. 求根到叶子节点数字之和|1|https://leetcode-cn.com/problems/sum-root-to-leaf-numbers| |
89 | 93 | |726. 原子的数量|1|https://leetcode-cn.com/problems/number-of-atoms|
|
90 | 94 | |剑指 Offer 10- I. 斐波那契数列|1|https://leetcode-cn.com/problems/fei-bo-na-qi-shu-lie-lcof|
|
91 | 95 | |405. 数字转换为十六进制数|1|https://leetcode-cn.com/problems/convert-a-number-to-hexadecimal|
|
92 | 96 | |1420. 生成数组|1|https://leetcode-cn.com/problems/build-array-where-you-can-find-the-maximum-exactly-k-comparisons|
|
93 |
| -|42. 接雨水|1|https://leetcode-cn.com/problems/trapping-rain-water| |
94 | 97 | |306. 累加数|1|https://leetcode-cn.com/problems/additive-number|
|
95 | 98 | |98. 验证二叉搜索树|1|https://leetcode-cn.com/problems/validate-binary-search-tree|
|
96 |
| -|221. 最大正方形|1|https://leetcode-cn.com/problems/maximal-square| |
97 | 99 | |227. 基本计算器 II|1|https://leetcode-cn.com/problems/basic-calculator-ii|
|
98 | 100 | |1505. 最多 K 次交换相邻数位后得到的最小整数|1|https://leetcode-cn.com/problems/minimum-possible-integer-after-at-most-k-adjacent-swaps-on-digits|
|
99 | 101 | |632. 最小区间|1|https://leetcode-cn.com/problems/smallest-range-covering-elements-from-k-lists|
|
|
110 | 112 | |470. 用 Rand7() 实现 Rand10()|1|https://leetcode-cn.com/problems/implement-rand10-using-rand7|
|
111 | 113 | |164. 最大间距|1|https://leetcode-cn.com/problems/maximum-gap|
|
112 | 114 | |94. 二叉树的中序遍历|1|https://leetcode-cn.com/problems/binary-tree-inorder-traversal|
|
113 |
| -|剑指 Offer 62. 圆圈中最后剩下的数字|1|https://leetcode-cn.com/problems/yuan-quan-zhong-zui-hou-sheng-xia-de-shu-zi-lcof| |
| 115 | +|剑指 Offer 62. 圆圈中最后剩下的数字|1|https://leetcode-cn.com/problems/yuan-quan-zhong-zui-hou-sheng-xia-de-shu-zi-lcof| |
| 116 | +|658. 找到 K 个最接近的元素|1|https://leetcode-cn.com/problems/find-k-closest-elements| |
| 117 | +|704. 二分查找|1|https://leetcode-cn.com/problems/binary-search| |
| 118 | +|355. 设计推特|1|https://leetcode-cn.com/problems/design-twitter| |
| 119 | +|剑指 Offer 11. 旋转数组的最小数字|1|https://leetcode-cn.com/problems/xuan-zhuan-shu-zu-de-zui-xiao-shu-zi-lcof| |
| 120 | +|698. 划分为k个相等的子集|1|https://leetcode-cn.com/problems/partition-to-k-equal-sum-subsets| |
| 121 | +|224. 基本计算器|1|https://leetcode-cn.com/problems/basic-calculator| |
| 122 | +|剑指 Offer 22. 链表中倒数第k个节点|1|https://leetcode-cn.com/problems/lian-biao-zhong-dao-shu-di-kge-jie-dian-lcof| |
| 123 | +|31. 下一个排列|1|https://leetcode-cn.com/problems/next-permutation| |
| 124 | +|875. 爱吃香蕉的珂珂|1|https://leetcode-cn.com/problems/koko-eating-bananas| |
| 125 | +|145. 二叉树的后序遍历|1|https://leetcode-cn.com/problems/binary-tree-postorder-traversal| |
| 126 | +|19. 删除链表的倒数第N个节点|1|https://leetcode-cn.com/problems/remove-nth-node-from-end-of-list| |
| 127 | +|673. 最长递增子序列的个数|1|https://leetcode-cn.com/problems/number-of-longest-increasing-subsequence| |
| 128 | +|剑指 Offer 34. 二叉树中和为某一值的路径|1|https://leetcode-cn.com/problems/er-cha-shu-zhong-he-wei-mou-yi-zhi-de-lu-jing-lcof| |
| 129 | +|670. 最大交换|1|https://leetcode-cn.com/problems/maximum-swap| |
| 130 | +|141. 环形链表|1|https://leetcode-cn.com/problems/linked-list-cycle| |
| 131 | +|897. 递增顺序查找树|1|https://leetcode-cn.com/problems/increasing-order-search-tree| |
| 132 | +|653. 两数之和 IV - 输入 BST|1|https://leetcode-cn.com/problems/two-sum-iv-input-is-a-bst| |
| 133 | +|310. 最小高度树|1|https://leetcode-cn.com/problems/minimum-height-trees| |
| 134 | +|167. 两数之和 II - 输入有序数组|1|https://leetcode-cn.com/problems/two-sum-ii-input-array-is-sorted| |
| 135 | +|611. 有效三角形的个数|1|https://leetcode-cn.com/problems/valid-triangle-number| |
| 136 | +|92. 反转链表 II|1|https://leetcode-cn.com/problems/reverse-linked-list-ii| |
| 137 | +|剑指 Offer 07. 重建二叉树|1|https://leetcode-cn.com/problems/zhong-jian-er-cha-shu-lcof| |
| 138 | +|525. 连续数组|1|https://leetcode-cn.com/problems/contiguous-array| |
| 139 | +|144. 二叉树的前序遍历|1|https://leetcode-cn.com/problems/binary-tree-preorder-traversal| |
| 140 | +|378. 有序矩阵中第K小的元素|1|https://leetcode-cn.com/problems/kth-smallest-element-in-a-sorted-matrix| |
0 commit comments