diff --git a/README.md b/README.md index a4910f6..5c386d9 100644 --- a/README.md +++ b/README.md @@ -23,7 +23,19 @@ :warning:若转载文章,需注明本仓库地址 -## 腾讯(更新牛客21.1.1~21.4.12日的面经) +## 美团(更新至牛客2021.4.23号面经) +
+按岗位分类 + +- [后端](https://github.com/afatcoder/LeetcodeTop/blob/master/meituan/backend.md) +- [算法](https://github.com/afatcoder/LeetcodeTop/blob/master/meituan/algorithm.md) +- [客户端](https://github.com/afatcoder/LeetcodeTop/blob/master/meituan/client.md) +- [前端](https://github.com/afatcoder/LeetcodeTop/blob/master/meituan/frontend.md) +- [测试](https://github.com/afatcoder/LeetcodeTop/blob/master/meituan/test.md) +- [数据开发](https://github.com/afatcoder/LeetcodeTop/blob/master/meituan/data.md) +
+ +## 腾讯(更新至牛客21.4.12日的面经)
按岗位分类 @@ -46,18 +58,6 @@ - [测试](https://github.com/afatcoder/LeetcodeTop/blob/master/bytedance/test.md)
-## 美团(牛客2020.8.15~牛客2021.3.30号面经) -
-按岗位分类 - -- [后端](https://github.com/afatcoder/LeetcodeTop/blob/master/meituan/backend.md) -- [算法](https://github.com/afatcoder/LeetcodeTop/blob/master/meituan/algorithm.md) -- [客户端](https://github.com/afatcoder/LeetcodeTop/blob/master/meituan/client.md) -- [前端](https://github.com/afatcoder/LeetcodeTop/blob/master/meituan/frontend.md) -- [测试](https://github.com/afatcoder/LeetcodeTop/blob/master/meituan/test.md) -- [数据开发](https://github.com/afatcoder/LeetcodeTop/blob/master/meituan/data.md) -
- ## 微软(更新至牛客3.20日的面经) - [SDE](https://github.com/afatcoder/LeetcodeTop/blob/master/microsoft/SDE.md) diff --git a/meituan/algorithm.md b/meituan/algorithm.md index f712f9e..b0f377c 100644 --- a/meituan/algorithm.md +++ b/meituan/algorithm.md @@ -1,13 +1,30 @@ # 算法 若想按部门/难度/题型筛选题目,请进入[CodeTop](https://codetop.cc)查询 + |题目|出现次数|链接| |-|-|-| -|补充题4. 手撕快速排序|4|https://leetcode-cn.com/problems/sort-an-array| -|121. 买卖股票的最佳时机|3|https://leetcode-cn.com/problems/best-time-to-buy-and-sell-stock| +|补充题4. 手撕快速排序|5|https://leetcode-cn.com/problems/sort-an-array| +|121. 买卖股票的最佳时机|4|https://leetcode-cn.com/problems/best-time-to-buy-and-sell-stock| +|215. 数组中的第K个最大元素|4|https://leetcode-cn.com/problems/kth-largest-element-in-an-array| |128. 最长连续序列|2|https://leetcode-cn.com/problems/longest-consecutive-sequence| +|1143. 最长公共子序列|2|https://leetcode-cn.com/problems/longest-common-subsequence| +|498. 对角线遍历|2|https://leetcode-cn.com/problems/diagonal-traverse| |剑指 Offer 65. 不用加减乘除做加法|2|https://leetcode-cn.com/problems/bu-yong-jia-jian-cheng-chu-zuo-jia-fa-lcof| -|215. 数组中的第K个最大元素|2|https://leetcode-cn.com/problems/kth-largest-element-in-an-array| +|53. 最大子序和|2|https://leetcode-cn.com/problems/maximum-subarray| +|2. 两数相加|2|https://leetcode-cn.com/problems/add-two-numbers| +|718. 最长重复子数组|2|https://leetcode-cn.com/problems/maximum-length-of-repeated-subarray| |21. 合并两个有序链表|1|https://leetcode-cn.com/problems/merge-two-sorted-lists| +|560. 和为K的子数组|1|https://leetcode-cn.com/problems/subarray-sum-equals-k| +|5. 最长回文子串|1|https://leetcode-cn.com/problems/longest-palindromic-substring| +|20. 有效的括号|1|https://leetcode-cn.com/problems/valid-parentheses| +|94. 二叉树的中序遍历|1|https://leetcode-cn.com/problems/binary-tree-inorder-traversal| +|104. 二叉树的最大深度|1|https://leetcode-cn.com/problems/maximum-depth-of-binary-tree| +|69. x 的平方根|1|https://leetcode-cn.com/problems/sqrtx| +|240. 搜索二维矩阵 II|1|https://leetcode-cn.com/problems/search-a-2d-matrix-ii| +|76. 最小覆盖子串|1|https://leetcode-cn.com/problems/minimum-window-substring| +|143. 重排链表|1|https://leetcode-cn.com/problems/reorder-list| +|103. 二叉树的锯齿形层次遍历|1|https://leetcode-cn.com/problems/binary-tree-zigzag-level-order-traversal| +|208. 实现 Trie (前缀树)|1|https://leetcode-cn.com/problems/implement-trie-prefix-tree| |3. 无重复字符的最长子串|1|https://leetcode-cn.com/problems/longest-substring-without-repeating-characters| |50. Pow(x, n)|1|https://leetcode-cn.com/problems/powx-n| |7. 整数反转|1|https://leetcode-cn.com/problems/reverse-integer| @@ -15,8 +32,6 @@ |25. K 个一组翻转链表|1|https://leetcode-cn.com/problems/reverse-nodes-in-k-group| |146. LRU缓存机制|1|https://leetcode-cn.com/problems/lru-cache| |15. 三数之和|1|https://leetcode-cn.com/problems/3sum| -|718. 最长重复子数组|1|https://leetcode-cn.com/problems/maximum-length-of-repeated-subarray| -|2. 两数相加|1|https://leetcode-cn.com/problems/add-two-numbers| |226. 翻转二叉树|1|https://leetcode-cn.com/problems/invert-binary-tree| |剑指 Offer 40. 最小的k个数|1|https://leetcode-cn.com/problems/zui-xiao-de-kge-shu-lcof| |73. 矩阵置零|1|https://leetcode-cn.com/problems/set-matrix-zeroes| diff --git a/meituan/backend.md b/meituan/backend.md index ec708c3..e5aefdc 100644 --- a/meituan/backend.md +++ b/meituan/backend.md @@ -1,75 +1,95 @@ # 后端 若想按部门/难度/题型筛选题目,请进入[CodeTop](https://codetop.cc)查询 + |题目|出现次数|链接| |-|-|-| -|206. 反转链表|16|https://leetcode-cn.com/problems/reverse-linked-list| -|补充题4. 手撕快速排序|10|https://leetcode-cn.com/problems/sort-an-array| -|88. 合并两个有序数组|8|https://leetcode-cn.com/problems/merge-sorted-array| -|718. 最长重复子数组|7|https://leetcode-cn.com/problems/maximum-length-of-repeated-subarray| -|102. 二叉树的层序遍历|6|https://leetcode-cn.com/problems/binary-tree-level-order-traversal| +|206. 反转链表|27|https://leetcode-cn.com/problems/reverse-linked-list| +|88. 合并两个有序数组|11|https://leetcode-cn.com/problems/merge-sorted-array| +|补充题4. 手撕快速排序|11|https://leetcode-cn.com/problems/sort-an-array| +|141. 环形链表|11|https://leetcode-cn.com/problems/linked-list-cycle| +|718. 最长重复子数组|10|https://leetcode-cn.com/problems/maximum-length-of-repeated-subarray| +|102. 二叉树的层序遍历|9|https://leetcode-cn.com/problems/binary-tree-level-order-traversal| +|剑指 Offer 22. 链表中倒数第k个节点|9|https://leetcode-cn.com/problems/lian-biao-zhong-dao-shu-di-kge-jie-dian-lcof| +|8. 字符串转换整数 (atoi)|8|https://leetcode-cn.com/problems/string-to-integer-atoi| +|92. 反转链表 II|8|https://leetcode-cn.com/problems/reverse-linked-list-ii| +|232. 用栈实现队列|7|https://leetcode-cn.com/problems/implement-queue-using-stacks| +|215. 数组中的第K个最大元素|7|https://leetcode-cn.com/problems/kth-largest-element-in-an-array| +|124. 二叉树中的最大路径和|6|https://leetcode-cn.com/problems/binary-tree-maximum-path-sum| +|144. 二叉树的前序遍历|6|https://leetcode-cn.com/problems/binary-tree-preorder-traversal| +|146. LRU缓存机制|6|https://leetcode-cn.com/problems/lru-cache| +|543. 二叉树的直径|6|https://leetcode-cn.com/problems/diameter-of-binary-tree| +|142. 环形链表 II|6|https://leetcode-cn.com/problems/linked-list-cycle-ii| +|160. 相交链表|6|https://leetcode-cn.com/problems/intersection-of-two-linked-lists| +|54. 螺旋矩阵|6|https://leetcode-cn.com/problems/spiral-matrix| |5. 最长回文子串|6|https://leetcode-cn.com/problems/longest-palindromic-substring| -|剑指 Offer 22. 链表中倒数第k个节点|6|https://leetcode-cn.com/problems/lian-biao-zhong-dao-shu-di-kge-jie-dian-lcof| -|8. 字符串转换整数 (atoi)|5|https://leetcode-cn.com/problems/string-to-integer-atoi| -|232. 用栈实现队列|5|https://leetcode-cn.com/problems/implement-queue-using-stacks| +|19. 删除链表的倒数第N个节点|6|https://leetcode-cn.com/problems/remove-nth-node-from-end-of-list| +|21. 合并两个有序链表|6|https://leetcode-cn.com/problems/merge-two-sorted-lists| +|25. K 个一组翻转链表|5|https://leetcode-cn.com/problems/reverse-nodes-in-k-group| +|236. 二叉树的最近公共祖先|5|https://leetcode-cn.com/problems/lowest-common-ancestor-of-a-binary-tree| |15. 三数之和|5|https://leetcode-cn.com/problems/3sum| -|142. 环形链表 II|5|https://leetcode-cn.com/problems/linked-list-cycle-ii| -|215. 数组中的第K个最大元素|5|https://leetcode-cn.com/problems/kth-largest-element-in-an-array| -|25. K 个一组翻转链表|4|https://leetcode-cn.com/problems/reverse-nodes-in-k-group| -|144. 二叉树的前序遍历|4|https://leetcode-cn.com/problems/binary-tree-preorder-traversal| -|146. LRU缓存机制|4|https://leetcode-cn.com/problems/lru-cache| +|94. 二叉树的中序遍历|5|https://leetcode-cn.com/problems/binary-tree-inorder-traversal| +|82. 删除排序链表中的重复元素 II|5|https://leetcode-cn.com/problems/remove-duplicates-from-sorted-list-ii| +|143. 重排链表|5|https://leetcode-cn.com/problems/reorder-list| +|3. 无重复字符的最长子串|5|https://leetcode-cn.com/problems/longest-substring-without-repeating-characters| +|56. 合并区间|5|https://leetcode-cn.com/problems/merge-intervals| +|剑指 Offer 36. 二叉搜索树与双向链表|4|https://leetcode-cn.com/problems/er-cha-sou-suo-shu-yu-shuang-xiang-lian-biao-lcof| +|415. 字符串相加|4|https://leetcode-cn.com/problems/add-strings| +|704. 二分查找|4|https://leetcode-cn.com/problems/binary-search| +|191. 位1的个数|4|https://leetcode-cn.com/problems/number-of-1-bits| |20. 有效的括号|4|https://leetcode-cn.com/problems/valid-parentheses| -|543. 二叉树的直径|4|https://leetcode-cn.com/problems/diameter-of-binary-tree| -|160. 相交链表|4|https://leetcode-cn.com/problems/intersection-of-two-linked-lists| -|141. 环形链表|4|https://leetcode-cn.com/problems/linked-list-cycle| +|113. 路径总和 II|4|https://leetcode-cn.com/problems/path-sum-ii| +|7. 整数反转|4|https://leetcode-cn.com/problems/reverse-integer| +|2. 两数相加|4|https://leetcode-cn.com/problems/add-two-numbers| +|53. 最大子序和|4|https://leetcode-cn.com/problems/maximum-subarray| |剑指 Offer 40. 最小的k个数|4|https://leetcode-cn.com/problems/zui-xiao-de-kge-shu-lcof| +|103. 二叉树的锯齿形层次遍历|4|https://leetcode-cn.com/problems/binary-tree-zigzag-level-order-traversal| +|151. 翻转字符串里的单词|4|https://leetcode-cn.com/problems/reverse-words-in-a-string| +|1143. 最长公共子序列|3|https://leetcode-cn.com/problems/longest-common-subsequence| |110. 平衡二叉树|3|https://leetcode-cn.com/problems/balanced-binary-tree| -|236. 二叉树的最近公共祖先|3|https://leetcode-cn.com/problems/lowest-common-ancestor-of-a-binary-tree| -|415. 字符串相加|3|https://leetcode-cn.com/problems/add-strings| -|191. 位1的个数|3|https://leetcode-cn.com/problems/number-of-1-bits| +|1. 两数之和|3|https://leetcode-cn.com/problems/two-sum| +|199. 二叉树的右视图|3|https://leetcode-cn.com/problems/binary-tree-right-side-view| |234. 回文链表|3|https://leetcode-cn.com/problems/palindrome-linked-list| -|94. 二叉树的中序遍历|3|https://leetcode-cn.com/problems/binary-tree-inorder-traversal| +|93. 复原IP地址|3|https://leetcode-cn.com/problems/restore-ip-addresses| |498. 对角线遍历|3|https://leetcode-cn.com/problems/diagonal-traverse| -|92. 反转链表 II|3|https://leetcode-cn.com/problems/reverse-linked-list-ii| +|33. 搜索旋转排序数组|3|https://leetcode-cn.com/problems/search-in-rotated-sorted-array| |62. 不同路径|3|https://leetcode-cn.com/problems/unique-paths| -|2. 两数相加|3|https://leetcode-cn.com/problems/add-two-numbers| -|143. 重排链表|3|https://leetcode-cn.com/problems/reorder-list| -|53. 最大子序和|3|https://leetcode-cn.com/problems/maximum-subarray| -|19. 删除链表的倒数第N个节点|3|https://leetcode-cn.com/problems/remove-nth-node-from-end-of-list| -|21. 合并两个有序链表|3|https://leetcode-cn.com/problems/merge-two-sorted-lists| +|169. 多数元素|3|https://leetcode-cn.com/problems/majority-element| +|剑指 Offer 62. 圆圈中最后剩下的数字|3|https://leetcode-cn.com/problems/yuan-quan-zhong-zui-hou-sheng-xia-de-shu-zi-lcof| +|70. 爬楼梯|3|https://leetcode-cn.com/problems/climbing-stairs| +|补充题5. 手撕归并排序|3|https://leetcode-cn.com/problems/sort-an-array| +|468. 验证IP地址|3|https://leetcode-cn.com/problems/validate-ip-address| +|补充题8. 计算数组的小和|3|https://mp.weixin.qq.com/s/0ih4W6nawzFUPSj3GOnYTQ| +|83. 删除排序链表中的重复元素|3|https://leetcode-cn.com/problems/remove-duplicates-from-sorted-list| |78. 子集|3|https://leetcode-cn.com/problems/subsets| +|46. 全排列|3|https://leetcode-cn.com/problems/permutations| |34. 在排序数组中查找元素的第一个和最后一个位置|2|https://leetcode-cn.com/problems/find-first-and-last-position-of-element-in-sorted-array| -|剑指 Offer 36. 二叉搜索树与双向链表|2|https://leetcode-cn.com/problems/er-cha-sou-suo-shu-yu-shuang-xiang-lian-biao-lcof| |384. 打乱数组|2|https://leetcode-cn.com/problems/shuffle-an-array| -|1. 两数之和|2|https://leetcode-cn.com/problems/two-sum| -|704. 二分查找|2|https://leetcode-cn.com/problems/binary-search| -|199. 二叉树的右视图|2|https://leetcode-cn.com/problems/binary-tree-right-side-view| |226. 翻转二叉树|2|https://leetcode-cn.com/problems/invert-binary-tree| |69. x 的平方根|2|https://leetcode-cn.com/problems/sqrtx| -|93. 复原IP地址|2|https://leetcode-cn.com/problems/restore-ip-addresses| |41. 缺失的第一个正数|2|https://leetcode-cn.com/problems/first-missing-positive| -|113. 路径总和 II|2|https://leetcode-cn.com/problems/path-sum-ii| |300. 最长上升子序列|2|https://leetcode-cn.com/problems/longest-increasing-subsequence| -|82. 删除排序链表中的重复元素 II|2|https://leetcode-cn.com/problems/remove-duplicates-from-sorted-list-ii| -|33. 搜索旋转排序数组|2|https://leetcode-cn.com/problems/search-in-rotated-sorted-array| -|7. 整数反转|2|https://leetcode-cn.com/problems/reverse-integer| +|9. 回文数|2|https://leetcode-cn.com/problems/palindrome-number| |剑指 Offer 10- II. 青蛙跳台阶问题|2|https://leetcode-cn.com/problems/qing-wa-tiao-tai-jie-wen-ti-lcof| -|剑指 Offer 62. 圆圈中最后剩下的数字|2|https://leetcode-cn.com/problems/yuan-quan-zhong-zui-hou-sheng-xia-de-shu-zi-lcof| -|54. 螺旋矩阵|2|https://leetcode-cn.com/problems/spiral-matrix| -|补充题5. 手撕归并排序|2|https://leetcode-cn.com/problems/sort-an-array| -|468. 验证IP地址|2|https://leetcode-cn.com/problems/validate-ip-address| +|64. 最小路径和|2|https://leetcode-cn.com/problems/minimum-path-sum| |687. 最长同值路径|2|https://leetcode-cn.com/problems/longest-univalue-path| -|补充题8. 计算数组的小和|2|https://mp.weixin.qq.com/s/0ih4W6nawzFUPSj3GOnYTQ| +|剑指 Offer 10- I. 斐波那契数列|2|https://leetcode-cn.com/problems/fei-bo-na-qi-shu-lie-lcof| |179. 最大数|2|https://leetcode-cn.com/problems/largest-number| -|83. 删除排序链表中的重复元素|2|https://leetcode-cn.com/problems/remove-duplicates-from-sorted-list| -|3. 无重复字符的最长子串|2|https://leetcode-cn.com/problems/longest-substring-without-repeating-characters| +|162. 寻找峰值|2|https://leetcode-cn.com/problems/find-peak-element| +|剑指 Offer 21. 调整数组顺序使奇数位于偶数前面|2|https://leetcode-cn.com/problems/diao-zheng-shu-zu-shun-xu-shi-qi-shu-wei-yu-ou-shu-qian-mian-lcof| +|121. 买卖股票的最佳时机|2|https://leetcode-cn.com/problems/best-time-to-buy-and-sell-stock| +|125. 验证回文串|2|https://leetcode-cn.com/problems/valid-palindrome| |6. Z 字形变换|2|https://leetcode-cn.com/problems/zigzag-conversion| -|1143. 最长公共子序列|1|https://leetcode-cn.com/problems/longest-common-subsequence| +|101. 对称二叉树|2|https://leetcode-cn.com/problems/symmetric-tree| +|242. 有效的字母异位词|2|https://leetcode-cn.com/problems/valid-anagram| +|剑指 Offer 15. 二进制中1的个数|2|https://leetcode-cn.com/problems/er-jin-zhi-zhong-1de-ge-shu-lcof| +|120. 三角形最小路径和|2|https://leetcode-cn.com/problems/triangle| +|283. 移动零|2|https://leetcode-cn.com/problems/move-zeroes| +|118. 杨辉三角|2|https://leetcode-cn.com/problems/pascals-triangle| |剑指 Offer 58 - I. 翻转单词顺序|1|https://leetcode-cn.com/problems/fan-zhuan-dan-ci-shun-xu-lcof| |剑指 Offer 09. 用两个栈实现队列|1|https://leetcode-cn.com/problems/yong-liang-ge-zhan-shi-xian-dui-lie-lcof| |387. 字符串中的第一个唯一字符|1|https://leetcode-cn.com/problems/first-unique-character-in-a-string| |153. 寻找旋转排序数组中的最小值|1|https://leetcode-cn.com/problems/find-minimum-in-rotated-sorted-array| |55. 跳跃游戏|1|https://leetcode-cn.com/problems/jump-game| -|124. 二叉树中的最大路径和|1|https://leetcode-cn.com/problems/binary-tree-maximum-path-sum| |1245. 树的直径|1|https://leetcode-cn.com/problems/tree-diameter| |1044. 最长重复子串|1|https://leetcode-cn.com/problems/longest-duplicate-substring| |679. 24 点游戏|1|https://leetcode-cn.com/problems/24-game| @@ -78,7 +98,7 @@ |43. 字符串相乘|1|https://leetcode-cn.com/problems/multiply-strings| |105. 从前序与中序遍历序列构造二叉树|1|https://leetcode-cn.com/problems/construct-binary-tree-from-preorder-and-inorder-traversal| |117. 填充每个节点的下一个右侧节点指针 II|1|https://leetcode-cn.com/problems/populating-next-right-pointers-in-each-node-ii| -|补充题6. 手撕堆排序|1|sort-an-array| +|补充题6. 手撕堆排序|1|https://leetcode-cn.com/problems/sort-an-array| |509. 斐波那契数|1|https://leetcode-cn.com/problems/fibonacci-number| |268. 缺失数字|1|https://leetcode-cn.com/problems/missing-number| |26. 删除排序数组中的重复项|1|https://leetcode-cn.com/problems/remove-duplicates-from-sorted-array| @@ -87,49 +107,53 @@ |42. 接雨水|1|https://leetcode-cn.com/problems/trapping-rain-water| |面试题 16.03. 交点|1|https://leetcode-cn.com/problems/intersection-lcci| |108. 将有序数组转换为二叉搜索树|1|https://leetcode-cn.com/problems/convert-sorted-array-to-binary-search-tree| -|9. 回文数|1|https://leetcode-cn.com/problems/palindrome-number| |240. 搜索二维矩阵 II|1|https://leetcode-cn.com/problems/search-a-2d-matrix-ii| -|169. 多数元素|1|https://leetcode-cn.com/problems/majority-element| |450. 删除二叉搜索树中的节点|1|https://leetcode-cn.com/problems/delete-node-in-a-bst| |剑指 Offer 14- I. 剪绳子|1|https://leetcode-cn.com/problems/jian-sheng-zi-lcof| |203. 移除链表元素|1|https://leetcode-cn.com/problems/remove-linked-list-elements| |227. 基本计算器 II|1|https://leetcode-cn.com/problems/basic-calculator-ii| |31. 下一个排列|1|https://leetcode-cn.com/problems/next-permutation| |剑指 Offer 58 - II. 左旋转字符串|1|https://leetcode-cn.com/problems/zuo-xuan-zhuan-zi-fu-chuan-lcof| -|70. 爬楼梯|1|https://leetcode-cn.com/problems/climbing-stairs| |617. 合并二叉树|1|https://leetcode-cn.com/problems/merge-two-binary-trees| -|64. 最小路径和|1|https://leetcode-cn.com/problems/minimum-path-sum| |1095. 山脉数组中查找目标值|1|https://leetcode-cn.com/problems/find-in-mountain-array| |354. 俄罗斯套娃信封问题|1|https://leetcode-cn.com/problems/russian-doll-envelopes| -|剑指 Offer 10- I. 斐波那契数列|1|https://leetcode-cn.com/problems/fei-bo-na-qi-shu-lie-lcof| |104. 二叉树的最大深度|1|https://leetcode-cn.com/problems/maximum-depth-of-binary-tree| |198. 打家劫舍|1|https://leetcode-cn.com/problems/house-robber| |155. 最小栈|1|https://leetcode-cn.com/problems/min-stack| |剑指 Offer 53 - I. 在排序数组中查找数字 I|1|https://leetcode-cn.com/problems/zai-pai-xu-shu-zu-zhong-cha-zhao-shu-zi-lcof| |138. 复制带随机指针的链表|1|https://leetcode-cn.com/problems/copy-list-with-random-pointer| -|162. 寻找峰值|1|https://leetcode-cn.com/problems/find-peak-element| |剑指 Offer 11. 旋转数组的最小数字|1|https://leetcode-cn.com/problems/xuan-zhuan-shu-zu-de-zui-xiao-shu-zi-lcof| |137. 只出现一次的数字 II|1|https://leetcode-cn.com/problems/single-number-ii| |518. 零钱兑换 II|1|https://leetcode-cn.com/problems/coin-change-2| |59. 螺旋矩阵 II|1|https://leetcode-cn.com/problems/spiral-matrix-ii| |4. 寻找两个正序数组的中位数|1|https://leetcode-cn.com/problems/median-of-two-sorted-arrays| -|剑指 Offer 21. 调整数组顺序使奇数位于偶数前面|1|https://leetcode-cn.com/problems/diao-zheng-shu-zu-shun-xu-shi-qi-shu-wei-yu-ou-shu-qian-mian-lcof| -|103. 二叉树的锯齿形层次遍历|1|https://leetcode-cn.com/problems/binary-tree-zigzag-level-order-traversal| -|121. 买卖股票的最佳时机|1|https://leetcode-cn.com/problems/best-time-to-buy-and-sell-stock| |补充题20. 立方根|1|| |剑指 Offer 65. 不用加减乘除做加法|1|https://leetcode-cn.com/problems/bu-yong-jia-jian-cheng-chu-zuo-jia-fa-lcof| -|125. 验证回文串|1|https://leetcode-cn.com/problems/valid-palindrome| -|56. 合并区间|1|https://leetcode-cn.com/problems/merge-intervals| |165. 比较版本号|1|https://leetcode-cn.com/problems/compare-version-numbers| |123. 买卖股票的最佳时机 III|1|https://leetcode-cn.com/problems/best-time-to-buy-and-sell-stock-iii| -|46. 全排列|1|https://leetcode-cn.com/problems/permutations| |136. 只出现一次的数字|1|https://leetcode-cn.com/problems/single-number| -|101. 对称二叉树|1|https://leetcode-cn.com/problems/symmetric-tree| |129. 求根到叶子节点数字之和|1|https://leetcode-cn.com/problems/sum-root-to-leaf-numbers| |剑指 Offer 43. 1~n整数中1出现的次数|1|https://leetcode-cn.com/problems/1nzheng-shu-zhong-1chu-xian-de-ci-shu-lcof| -|242. 有效的字母异位词|1|https://leetcode-cn.com/problems/valid-anagram| |面试题 02.08. 环路检测|1|https://leetcode-cn.com/problems/linked-list-cycle-lcci| -|剑指 Offer 15. 二进制中1的个数|1|https://leetcode-cn.com/problems/er-jin-zhi-zhong-1de-ge-shu-lcof| |128. 最长连续序列|1|https://leetcode-cn.com/problems/longest-consecutive-sequence| -|120. 三角形最小路径和|1|https://leetcode-cn.com/problems/triangle| -|283. 移动零|1|https://leetcode-cn.com/problems/move-zeroes| \ No newline at end of file +|47. 全排列 II|1|https://leetcode-cn.com/problems/permutations-ii| +|61. 旋转链表|1|https://leetcode-cn.com/problems/rotate-list| +|剑指 Offer 03. 数组中重复的数字|1|https://leetcode-cn.com/problems/shu-zu-zhong-zhong-fu-de-shu-zi-lcof| +|剑指 Offer 29. 顺时针打印矩阵|1|https://leetcode-cn.com/problems/shun-shi-zhen-da-yin-ju-zhen-lcof| +|面试题 02.01. 移除重复节点|1|https://leetcode-cn.com/problems/remove-duplicate-node-lcci| +|面试题 02.02. 返回倒数第 k 个节点|1|https://leetcode-cn.com/problems/kth-node-from-end-of-list-lcci| +|11. 盛最多水的容器|1|https://leetcode-cn.com/problems/container-with-most-water| +|172. 阶乘后的零|1|https://leetcode-cn.com/problems/factorial-trailing-zeroes| +|14. 最长公共前缀|1|https://leetcode-cn.com/problems/longest-common-prefix| +|补充题21. 字符串相减|1|https://mp.weixin.qq.com/s/kCue4c0gnLSw0HosFl_t7w| +|516. 最长回文子序列|1|https://leetcode-cn.com/problems/longest-palindromic-subsequence| +|692. 前K个高频单词|1|https://leetcode-cn.com/problems/top-k-frequent-words| +|91. 解码方法|1|https://leetcode-cn.com/problems/decode-ways| +|面试题 02.05. 链表求和|1|https://leetcode-cn.com/problems/sum-lists-lcci| +|面试题 03.05. 栈排序|1|https://leetcode-cn.com/problems/sort-of-stacks-lcci| +|23. 合并K个排序链表|1|https://leetcode-cn.com/problems/merge-k-sorted-lists| +|876. 链表的中间结点|1|https://leetcode-cn.com/problems/middle-of-the-linked-list| +|145. 二叉树的后序遍历|1|https://leetcode-cn.com/problems/binary-tree-postorder-traversal| +|622. 设计循环队列|1|https://leetcode-cn.com/problems/design-circular-queue| +|343. 整数拆分|1|https://leetcode-cn.com/problems/integer-break| +|112. 路径总和|1|https://leetcode-cn.com/problems/path-sum| \ No newline at end of file diff --git a/meituan/client.md b/meituan/client.md index 8b2cdd6..ebbf92f 100644 --- a/meituan/client.md +++ b/meituan/client.md @@ -2,37 +2,42 @@ 若想按部门/难度/题型筛选题目,请进入[CodeTop](https://codetop.cc)查询 |题目|出现次数|链接| |-|-|-| +|补充题4. 手撕快速排序|4|https://leetcode-cn.com/problems/sort-an-array| |142. 环形链表 II|4|https://leetcode-cn.com/problems/linked-list-cycle-ii| |剑指 Offer 10- I. 斐波那契数列|3|https://leetcode-cn.com/problems/fei-bo-na-qi-shu-lie-lcof| -|补充题4. 手撕快速排序|3|https://leetcode-cn.com/problems/sort-an-array| +|155. 最小栈|3|https://leetcode-cn.com/problems/min-stack| |206. 反转链表|3|https://leetcode-cn.com/problems/reverse-linked-list| +|236. 二叉树的最近公共祖先|2|https://leetcode-cn.com/problems/lowest-common-ancestor-of-a-binary-tree| |53. 最大子序和|2|https://leetcode-cn.com/problems/maximum-subarray| -|54. 螺旋矩阵|2|https://leetcode-cn.com/problems/spiral-matrix| +|69. x 的平方根|2|https://leetcode-cn.com/problems/sqrtx| |141. 环形链表|2|https://leetcode-cn.com/problems/linked-list-cycle| -|19. 删除链表的倒数第N个节点|2|https://leetcode-cn.com/problems/remove-nth-node-from-end-of-list| -|155. 最小栈|2|https://leetcode-cn.com/problems/min-stack| -|46. 全排列|2|https://leetcode-cn.com/problems/permutations| -|236. 二叉树的最近公共祖先|2|https://leetcode-cn.com/problems/lowest-common-ancestor-of-a-binary-tree| +|232. 用栈实现队列|2|https://leetcode-cn.com/problems/implement-queue-using-stacks| +|54. 螺旋矩阵|2|https://leetcode-cn.com/problems/spiral-matrix| |剑指 Offer 52. 两个链表的第一个公共节点|2|https://leetcode-cn.com/problems/liang-ge-lian-biao-de-di-yi-ge-gong-gong-jie-dian-lcof| -|199. 二叉树的右视图|1|https://leetcode-cn.com/problems/binary-tree-right-side-view| +|46. 全排列|2|https://leetcode-cn.com/problems/permutations| +|19. 删除链表的倒数第N个节点|2|https://leetcode-cn.com/problems/remove-nth-node-from-end-of-list| +|86. 分隔链表|1|https://leetcode-cn.com/problems/partition-list| +|48. 旋转图像|1|https://leetcode-cn.com/problems/rotate-image| |312. 戳气球|1|https://leetcode-cn.com/problems/burst-balloons| |718. 最长重复子数组|1|https://leetcode-cn.com/problems/maximum-length-of-repeated-subarray| -|468. 验证IP地址|1|https://leetcode-cn.com/problems/validate-ip-address| +|169. 多数元素|1|https://leetcode-cn.com/problems/majority-element| |151. 翻转字符串里的单词|1|https://leetcode-cn.com/problems/reverse-words-in-a-string| -|889. 根据前序和后序遍历构造二叉树|1|https://leetcode-cn.com/problems/construct-binary-tree-from-preorder-and-postorder-traversal| -|1143. 最长公共子序列|1|https://leetcode-cn.com/problems/longest-common-subsequence| |78. 子集|1|https://leetcode-cn.com/problems/subsets| |146. LRU缓存机制|1|https://leetcode-cn.com/problems/lru-cache| |234. 回文链表|1|https://leetcode-cn.com/problems/palindrome-linked-list| -|69. x 的平方根|1|https://leetcode-cn.com/problems/sqrtx| +|1143. 最长公共子序列|1|https://leetcode-cn.com/problems/longest-common-subsequence| +|83. 删除排序链表中的重复元素|1|https://leetcode-cn.com/problems/remove-duplicates-from-sorted-list| |21. 合并两个有序链表|1|https://leetcode-cn.com/problems/merge-two-sorted-lists| |876. 链表的中间结点|1|https://leetcode-cn.com/problems/middle-of-the-linked-list| |剑指 Offer 22. 链表中倒数第k个节点|1|https://leetcode-cn.com/problems/lian-biao-zhong-dao-shu-di-kge-jie-dian-lcof| +|剑指 Offer 21. 调整数组顺序使奇数位于偶数前面|1|https://leetcode-cn.com/problems/diao-zheng-shu-zu-shun-xu-shi-qi-shu-wei-yu-ou-shu-qian-mian-lcof| |239. 滑动窗口最大值|1|https://leetcode-cn.com/problems/sliding-window-maximum| +|63. 不同路径 II|1|https://leetcode-cn.com/problems/unique-paths-ii| |64. 最小路径和|1|https://leetcode-cn.com/problems/minimum-path-sum| |补充题19. 判断一个点是否在三角形内|1|https://mp.weixin.qq.com/s/qnVUJq4lmnLsXJgyHCXngA| |24. 两两交换链表中的节点|1|https://leetcode-cn.com/problems/swap-nodes-in-pairs| |200. 岛屿数量|1|https://leetcode-cn.com/problems/number-of-islands| +|226. 翻转二叉树|1|https://leetcode-cn.com/problems/invert-binary-tree| |25. K 个一组翻转链表|1|https://leetcode-cn.com/problems/reverse-nodes-in-k-group| |7. 整数反转|1|https://leetcode-cn.com/problems/reverse-integer| |225. 用队列实现栈|1|https://leetcode-cn.com/problems/implement-stack-using-queues| @@ -44,13 +49,14 @@ |102. 二叉树的层序遍历|1|https://leetcode-cn.com/problems/binary-tree-level-order-traversal| |559. N叉树的最大深度|1|https://leetcode-cn.com/problems/maximum-depth-of-n-ary-tree| |剑指 Offer 40. 最小的k个数|1|https://leetcode-cn.com/problems/zui-xiao-de-kge-shu-lcof| -|300. 最长上升子序列|1|https://leetcode-cn.com/problems/longest-increasing-subsequence| -|232. 用栈实现队列|1|https://leetcode-cn.com/problems/implement-queue-using-stacks| +|199. 二叉树的右视图|1|https://leetcode-cn.com/problems/binary-tree-right-side-view| |20. 有效的括号|1|https://leetcode-cn.com/problems/valid-parentheses| |4. 寻找两个正序数组的中位数|1|https://leetcode-cn.com/problems/median-of-two-sorted-arrays| |160. 相交链表|1|https://leetcode-cn.com/problems/intersection-of-two-linked-lists| -|113. 路径总和 II|1|https://leetcode-cn.com/problems/path-sum-ii| |34. 在排序数组中查找元素的第一个和最后一个位置|1|https://leetcode-cn.com/problems/find-first-and-last-position-of-element-in-sorted-array| |剑指 Offer 10- II. 青蛙跳台阶问题|1|https://leetcode-cn.com/problems/qing-wa-tiao-tai-jie-wen-ti-lcof| -|63. 不同路径 II|1|https://leetcode-cn.com/problems/unique-paths-ii| -|70. 爬楼梯|1|https://leetcode-cn.com/problems/climbing-stairs| \ No newline at end of file +|113. 路径总和 II|1|https://leetcode-cn.com/problems/path-sum-ii| +|70. 爬楼梯|1|https://leetcode-cn.com/problems/climbing-stairs| +|300. 最长上升子序列|1|https://leetcode-cn.com/problems/longest-increasing-subsequence| +|889. 根据前序和后序遍历构造二叉树|1|https://leetcode-cn.com/problems/construct-binary-tree-from-preorder-and-postorder-traversal| +|468. 验证IP地址|1|https://leetcode-cn.com/problems/validate-ip-address| \ No newline at end of file diff --git a/meituan/data.md b/meituan/data.md index 97a39fc..9b91902 100644 --- a/meituan/data.md +++ b/meituan/data.md @@ -3,17 +3,25 @@ |题目|出现次数|链接| |-|-|-| |补充题4. 手撕快速排序|3|https://leetcode-cn.com/problems/sort-an-array| +|141. 环形链表|3|https://leetcode-cn.com/problems/linked-list-cycle| +|704. 二分查找|2|https://leetcode-cn.com/problems/binary-search| |215. 数组中的第K个最大元素|2|https://leetcode-cn.com/problems/kth-largest-element-in-an-array| |54. 螺旋矩阵|2|https://leetcode-cn.com/problems/spiral-matrix| -|21. 合并两个有序链表|1|https://leetcode-cn.com/problems/merge-two-sorted-lists| -|155. 最小栈|1|https://leetcode-cn.com/problems/min-stack| -|239. 滑动窗口最大值|1|https://leetcode-cn.com/problems/sliding-window-maximum| -|剑指 Offer 22. 链表中倒数第k个节点|1|https://leetcode-cn.com/problems/lian-biao-zhong-dao-shu-di-kge-jie-dian-lcof| -|20. 有效的括号|1|https://leetcode-cn.com/problems/valid-parentheses| -|15. 三数之和|1|https://leetcode-cn.com/problems/3sum| -|53. 最大子序和|1|https://leetcode-cn.com/problems/maximum-subarray| -|剑指 Offer 51. 数组中的逆序对|1|https://leetcode-cn.com/problems/shu-zu-zhong-de-ni-xu-dui-lcof| |120. 三角形最小路径和|1|https://leetcode-cn.com/problems/triangle| -|剑指 Offer 27. 二叉树的镜像|1|https://leetcode-cn.com/problems/er-cha-shu-de-jing-xiang-lcof| +|151. 翻转字符串里的单词|1|https://leetcode-cn.com/problems/reverse-words-in-a-string| +|1143. 最长公共子序列|1|https://leetcode-cn.com/problems/longest-common-subsequence| +|26. 删除排序数组中的重复项|1|https://leetcode-cn.com/problems/remove-duplicates-from-sorted-array| +|117. 填充每个节点的下一个右侧节点指针 II|1|https://leetcode-cn.com/problems/populating-next-right-pointers-in-each-node-ii| +|104. 二叉树的最大深度|1|https://leetcode-cn.com/problems/maximum-depth-of-binary-tree| +|124. 二叉树中的最大路径和|1|https://leetcode-cn.com/problems/binary-tree-maximum-path-sum| +|153. 寻找旋转排序数组中的最小值|1|https://leetcode-cn.com/problems/find-minimum-in-rotated-sorted-array| |补充题5. 手撕归并排序|1|https://leetcode-cn.com/problems/sort-an-array| -|153. 寻找旋转排序数组中的最小值|1|https://leetcode-cn.com/problems/find-minimum-in-rotated-sorted-array| \ No newline at end of file +|剑指 Offer 27. 二叉树的镜像|1|https://leetcode-cn.com/problems/er-cha-shu-de-jing-xiang-lcof| +|21. 合并两个有序链表|1|https://leetcode-cn.com/problems/merge-two-sorted-lists| +|剑指 Offer 51. 数组中的逆序对|1|https://leetcode-cn.com/problems/shu-zu-zhong-de-ni-xu-dui-lcof| +|53. 最大子序和|1|https://leetcode-cn.com/problems/maximum-subarray| +|15. 三数之和|1|https://leetcode-cn.com/problems/3sum| +|20. 有效的括号|1|https://leetcode-cn.com/problems/valid-parentheses| +|剑指 Offer 22. 链表中倒数第k个节点|1|https://leetcode-cn.com/problems/lian-biao-zhong-dao-shu-di-kge-jie-dian-lcof| +|239. 滑动窗口最大值|1|https://leetcode-cn.com/problems/sliding-window-maximum| +|155. 最小栈|1|https://leetcode-cn.com/problems/min-stack| \ No newline at end of file diff --git a/meituan/frontend.md b/meituan/frontend.md index 59cffee..72a0c51 100644 --- a/meituan/frontend.md +++ b/meituan/frontend.md @@ -2,42 +2,48 @@ 若想按部门/难度/题型筛选题目,请进入[CodeTop](https://codetop.cc)查询 |题目|出现次数|链接| |-|-|-| -|70. 爬楼梯|3|https://leetcode-cn.com/problems/climbing-stairs| -|补充题4. 手撕快速排序|3|https://leetcode-cn.com/problems/sort-an-array| -|剑指 Offer 10- I. 斐波那契数列|3|https://leetcode-cn.com/problems/fei-bo-na-qi-shu-lie-lcof| -|88. 合并两个有序数组|2|https://leetcode-cn.com/problems/merge-sorted-array| -|48. 旋转图像|2|https://leetcode-cn.com/problems/rotate-image| +|补充题4. 手撕快速排序|7|https://leetcode-cn.com/problems/sort-an-array| +|70. 爬楼梯|4|https://leetcode-cn.com/problems/climbing-stairs| +|88. 合并两个有序数组|4|https://leetcode-cn.com/problems/merge-sorted-array| +|剑指 Offer 10- I. 斐波那契数列|4|https://leetcode-cn.com/problems/fei-bo-na-qi-shu-lie-lcof| +|104. 二叉树的最大深度|3|https://leetcode-cn.com/problems/maximum-depth-of-binary-tree| +|300. 最长上升子序列|3|https://leetcode-cn.com/problems/longest-increasing-subsequence| +|20. 有效的括号|2|https://leetcode-cn.com/problems/valid-parentheses| +|415. 字符串相加|2|https://leetcode-cn.com/problems/add-strings| +|46. 全排列|2|https://leetcode-cn.com/problems/permutations| +|1047. 删除字符串中的所有相邻重复项|2|https://leetcode-cn.com/problems/remove-all-adjacent-duplicates-in-string| +|498. 对角线遍历|2|https://leetcode-cn.com/problems/diagonal-traverse| |322. 零钱兑换|2|https://leetcode-cn.com/problems/coin-change| +|48. 旋转图像|2|https://leetcode-cn.com/problems/rotate-image| |136. 只出现一次的数字|2|https://leetcode-cn.com/problems/single-number| -|415. 字符串相加|2|https://leetcode-cn.com/problems/add-strings| -|104. 二叉树的最大深度|2|https://leetcode-cn.com/problems/maximum-depth-of-binary-tree| -|53. 最大子序和|1|https://leetcode-cn.com/problems/maximum-subarray| -|718. 最长重复子数组|1|https://leetcode-cn.com/problems/maximum-length-of-repeated-subarray| -|283. 移动零|1|https://leetcode-cn.com/problems/move-zeroes| -|1518. 换酒问题|1|https://leetcode-cn.com/problems/water-bottles| -|78. 子集|1|https://leetcode-cn.com/problems/subsets| -|补充题19. 判断一个点是否在三角形内|1|https://mp.weixin.qq.com/s/qnVUJq4lmnLsXJgyHCXngA| -|704. 二分查找|1|https://leetcode-cn.com/problems/binary-search| +|54. 螺旋矩阵|1|https://leetcode-cn.com/problems/spiral-matrix| |141. 环形链表|1|https://leetcode-cn.com/problems/linked-list-cycle| |654. 最大二叉树|1|https://leetcode-cn.com/problems/maximum-binary-tree| +|704. 二分查找|1|https://leetcode-cn.com/problems/binary-search| |557. 反转字符串中的单词 III|1|https://leetcode-cn.com/problems/reverse-words-in-a-string-iii| |102. 二叉树的层序遍历|1|https://leetcode-cn.com/problems/binary-tree-level-order-traversal| |21. 合并两个有序链表|1|https://leetcode-cn.com/problems/merge-two-sorted-lists| -|54. 螺旋矩阵|1|https://leetcode-cn.com/problems/spiral-matrix| +|206. 反转链表|1|https://leetcode-cn.com/problems/reverse-linked-list| |199. 二叉树的右视图|1|https://leetcode-cn.com/problems/binary-tree-right-side-view| -|498. 对角线遍历|1|https://leetcode-cn.com/problems/diagonal-traverse| -|20. 有效的括号|1|https://leetcode-cn.com/problems/valid-parentheses| -|59. 螺旋矩阵 II|1|https://leetcode-cn.com/problems/spiral-matrix-ii| +|42. 接雨水|1|https://leetcode-cn.com/problems/trapping-rain-water| +|64. 最小路径和|1|https://leetcode-cn.com/problems/minimum-path-sum| +|补充题5. 手撕归并排序|1|https://leetcode-cn.com/problems/sort-an-array| +|50. Pow(x, n)|1|https://leetcode-cn.com/problems/powx-n| |172. 阶乘后的零|1|https://leetcode-cn.com/problems/factorial-trailing-zeroes| -|1. 两数之和|1|https://leetcode-cn.com/problems/two-sum| |105. 从前序与中序遍历序列构造二叉树|1|https://leetcode-cn.com/problems/construct-binary-tree-from-preorder-and-inorder-traversal| -|260. 只出现一次的数字 III|1|https://leetcode-cn.com/problems/single-number-iii| -|46. 全排列|1|https://leetcode-cn.com/problems/permutations| -|1047. 删除字符串中的所有相邻重复项|1|https://leetcode-cn.com/problems/remove-all-adjacent-duplicates-in-string| -|15. 三数之和|1|https://leetcode-cn.com/problems/3sum| -|14. 最长公共前缀|1|https://leetcode-cn.com/problems/longest-common-prefix| -|384. 打乱数组|1|https://leetcode-cn.com/problems/shuffle-an-array| -|63. 不同路径 II|1|https://leetcode-cn.com/problems/unique-paths-ii| -|6. Z 字形变换|1|https://leetcode-cn.com/problems/zigzag-conversion| +|剑指 Offer 48. 最长不含重复字符的子字符串|1|https://leetcode-cn.com/problems/zui-chang-bu-han-zhong-fu-zi-fu-de-zi-zi-fu-chuan-lcof| |剑指 Offer 10- II. 青蛙跳台阶问题|1|https://leetcode-cn.com/problems/qing-wa-tiao-tai-jie-wen-ti-lcof| -|剑指 Offer 48. 最长不含重复字符的子字符串|1|https://leetcode-cn.com/problems/zui-chang-bu-han-zhong-fu-zi-fu-de-zi-zi-fu-chuan-lcof| \ No newline at end of file +|6. Z 字形变换|1|https://leetcode-cn.com/problems/zigzag-conversion| +|63. 不同路径 II|1|https://leetcode-cn.com/problems/unique-paths-ii| +|384. 打乱数组|1|https://leetcode-cn.com/problems/shuffle-an-array| +|14. 最长公共前缀|1|https://leetcode-cn.com/problems/longest-common-prefix| +|15. 三数之和|1|https://leetcode-cn.com/problems/3sum| +|260. 只出现一次的数字 III|1|https://leetcode-cn.com/problems/single-number-iii| +|补充题19. 判断一个点是否在三角形内|1|https://mp.weixin.qq.com/s/qnVUJq4lmnLsXJgyHCXngA| +|1. 两数之和|1|https://leetcode-cn.com/problems/two-sum| +|718. 最长重复子数组|1|https://leetcode-cn.com/problems/maximum-length-of-repeated-subarray| +|59. 螺旋矩阵 II|1|https://leetcode-cn.com/problems/spiral-matrix-ii| +|53. 最大子序和|1|https://leetcode-cn.com/problems/maximum-subarray| +|283. 移动零|1|https://leetcode-cn.com/problems/move-zeroes| +|1518. 换酒问题|1|https://leetcode-cn.com/problems/water-bottles| +|78. 子集|1|https://leetcode-cn.com/problems/subsets| \ No newline at end of file diff --git a/meituan/test.md b/meituan/test.md index 93b85c5..8e11c0d 100644 --- a/meituan/test.md +++ b/meituan/test.md @@ -2,44 +2,50 @@ 若想按部门/难度/题型筛选题目,请进入[CodeTop](https://codetop.cc)查询 |题目|出现次数|链接| |-|-|-| -|3. 无重复字符的最长子串|6|https://leetcode-cn.com/problems/longest-substring-without-repeating-characters| +|3. 无重复字符的最长子串|8|https://leetcode-cn.com/problems/longest-substring-without-repeating-characters| +|1. 两数之和|7|https://leetcode-cn.com/problems/two-sum| +|704. 二分查找|6|https://leetcode-cn.com/problems/binary-search| +|20. 有效的括号|6|https://leetcode-cn.com/problems/valid-parentheses| +|232. 用栈实现队列|5|https://leetcode-cn.com/problems/implement-queue-using-stacks| +|141. 环形链表|4|https://leetcode-cn.com/problems/linked-list-cycle| +|14. 最长公共前缀|4|https://leetcode-cn.com/problems/longest-common-prefix| +|46. 全排列|4|https://leetcode-cn.com/problems/permutations| +|7. 整数反转|4|https://leetcode-cn.com/problems/reverse-integer| +|53. 最大子序和|4|https://leetcode-cn.com/problems/maximum-subarray| +|136. 只出现一次的数字|4|https://leetcode-cn.com/problems/single-number| |242. 有效的字母异位词|4|https://leetcode-cn.com/problems/valid-anagram| -|232. 用栈实现队列|4|https://leetcode-cn.com/problems/implement-queue-using-stacks| -|704. 二分查找|4|https://leetcode-cn.com/problems/binary-search| |8. 字符串转换整数 (atoi)|4|https://leetcode-cn.com/problems/string-to-integer-atoi| -|46. 全排列|4|https://leetcode-cn.com/problems/permutations| -|53. 最大子序和|3|https://leetcode-cn.com/problems/maximum-subarray| -|补充题4. 手撕快速排序|3|https://leetcode-cn.com/problems/sort-an-array| -|1. 两数之和|3|https://leetcode-cn.com/problems/two-sum| -|20. 有效的括号|3|https://leetcode-cn.com/problems/valid-parentheses| -|7. 整数反转|3|https://leetcode-cn.com/problems/reverse-integer| -|剑指 Offer 53 - I. 在排序数组中查找数字 I|3|https://leetcode-cn.com/problems/zai-pai-xu-shu-zu-zhong-cha-zhao-shu-zi-lcof| -|136. 只出现一次的数字|3|https://leetcode-cn.com/problems/single-number| +|151. 翻转字符串里的单词|3|https://leetcode-cn.com/problems/reverse-words-in-a-string| |468. 验证IP地址|3|https://leetcode-cn.com/problems/validate-ip-address| -|718. 最长重复子数组|2|https://leetcode-cn.com/problems/maximum-length-of-repeated-subarray| -|141. 环形链表|2|https://leetcode-cn.com/problems/linked-list-cycle| +|补充题14. 阿拉伯数字转中文数字|3|| +|剑指 Offer 53 - I. 在排序数组中查找数字 I|3|https://leetcode-cn.com/problems/zai-pai-xu-shu-zu-zhong-cha-zhao-shu-zi-lcof| +|169. 多数元素|3|https://leetcode-cn.com/problems/majority-element| +|补充题4. 手撕快速排序|3|https://leetcode-cn.com/problems/sort-an-array| +|128. 最长连续序列|2|https://leetcode-cn.com/problems/longest-consecutive-sequence| |83. 删除排序链表中的重复元素|2|https://leetcode-cn.com/problems/remove-duplicates-from-sorted-list| +|21. 合并两个有序链表|2|https://leetcode-cn.com/problems/merge-two-sorted-lists| +|88. 合并两个有序数组|2|https://leetcode-cn.com/problems/merge-sorted-array| |226. 翻转二叉树|2|https://leetcode-cn.com/problems/invert-binary-tree| |剑指 Offer 21. 调整数组顺序使奇数位于偶数前面|2|https://leetcode-cn.com/problems/diao-zheng-shu-zu-shun-xu-shi-qi-shu-wei-yu-ou-shu-qian-mian-lcof| +|718. 最长重复子数组|2|https://leetcode-cn.com/problems/maximum-length-of-repeated-subarray| +|76. 最小覆盖子串|2|https://leetcode-cn.com/problems/minimum-window-substring| |239. 滑动窗口最大值|2|https://leetcode-cn.com/problems/sliding-window-maximum| -|21. 合并两个有序链表|2|https://leetcode-cn.com/problems/merge-two-sorted-lists| -|151. 翻转字符串里的单词|2|https://leetcode-cn.com/problems/reverse-words-in-a-string| -|165. 比较版本号|2|https://leetcode-cn.com/problems/compare-version-numbers| |剑指 Offer 57 - II. 和为s的连续正数序列|2|https://leetcode-cn.com/problems/he-wei-sde-lian-xu-zheng-shu-xu-lie-lcof| -|补充题14. 阿拉伯数字转中文数字|2|| -|128. 最长连续序列|2|https://leetcode-cn.com/problems/longest-consecutive-sequence| -|50. Pow(x, n)|1|https://leetcode-cn.com/problems/powx-n| -|剑指 Offer 61. 扑克牌中的顺子|1|https://leetcode-cn.com/problems/bu-ke-pai-zhong-de-shun-zi-lcof| -|76. 最小覆盖子串|1|https://leetcode-cn.com/problems/minimum-window-substring| +|165. 比较版本号|2|https://leetcode-cn.com/problems/compare-version-numbers| +|153. 寻找旋转排序数组中的最小值|1|https://leetcode-cn.com/problems/find-minimum-in-rotated-sorted-array| |876. 链表的中间结点|1|https://leetcode-cn.com/problems/middle-of-the-linked-list| -|14. 最长公共前缀|1|https://leetcode-cn.com/problems/longest-common-prefix| -|169. 多数元素|1|https://leetcode-cn.com/problems/majority-element| +|70. 爬楼梯|1|https://leetcode-cn.com/problems/climbing-stairs| |796. 旋转字符串|1|https://leetcode-cn.com/problems/rotate-string| |72. 编辑距离|1|https://leetcode-cn.com/problems/edit-distance| |460. LFU缓存|1|https://leetcode-cn.com/problems/lfu-cache| |106. 从中序与后序遍历序列构造二叉树|1|https://leetcode-cn.com/problems/construct-binary-tree-from-inorder-and-postorder-traversal| -|70. 爬楼梯|1|https://leetcode-cn.com/problems/climbing-stairs| +|231. 2的幂|1|https://leetcode-cn.com/problems/power-of-two| |415. 字符串相加|1|https://leetcode-cn.com/problems/add-strings| +|50. Pow(x, n)|1|https://leetcode-cn.com/problems/powx-n| +|40. 组合总和 II|1|https://leetcode-cn.com/problems/combination-sum-ii| +|628. 三个数的最大乘积|1|https://leetcode-cn.com/problems/maximum-product-of-three-numbers| +|215. 数组中的第K个最大元素|1|https://leetcode-cn.com/problems/kth-largest-element-in-an-array| +|剑指 Offer 61. 扑克牌中的顺子|1|https://leetcode-cn.com/problems/bu-ke-pai-zhong-de-shun-zi-lcof| |剑指 Offer 45. 把数组排成最小的数|1|https://leetcode-cn.com/problems/ba-shu-zu-pai-cheng-zui-xiao-de-shu-lcof| |240. 搜索二维矩阵 II|1|https://leetcode-cn.com/problems/search-a-2d-matrix-ii| |23. 合并K个排序链表|1|https://leetcode-cn.com/problems/merge-k-sorted-lists| @@ -47,7 +53,6 @@ |剑指 Offer 10- I. 斐波那契数列|1|https://leetcode-cn.com/problems/fei-bo-na-qi-shu-lie-lcof| |26. 删除排序数组中的重复项|1|https://leetcode-cn.com/problems/remove-duplicates-from-sorted-array| |283. 移动零|1|https://leetcode-cn.com/problems/move-zeroes| -|88. 合并两个有序数组|1|https://leetcode-cn.com/problems/merge-sorted-array| |34. 在排序数组中查找元素的第一个和最后一个位置|1|https://leetcode-cn.com/problems/find-first-and-last-position-of-element-in-sorted-array| |125. 验证回文串|1|https://leetcode-cn.com/problems/valid-palindrome| |28. 实现 strStr()|1|https://leetcode-cn.com/problems/implement-strstr|