diff --git a/amazon/SDE.md b/amazon/SDE.md index 26e64f8..ba8b5db 100644 --- a/amazon/SDE.md +++ b/amazon/SDE.md @@ -3,29 +3,29 @@ |题目|出现次数|链接| |-|-|-| -|3. 无重复字符的最长子串|2|https://leetcode-cn.com/problems/longest-substring-without-repeating-characters| -|146. LRU缓存机制|2|https://leetcode-cn.com/problems/lru-cache| -|120. 三角形最小路径和|2|https://leetcode-cn.com/problems/triangle| -|102. 二叉树的层序遍历|2|https://leetcode-cn.com/problems/binary-tree-level-order-traversal| -|110. 平衡二叉树|2|https://leetcode-cn.com/problems/balanced-binary-tree| -|200. 岛屿数量|1|https://leetcode-cn.com/problems/number-of-islands| -|10. 正则表达式匹配|1|https://leetcode-cn.com/problems/regular-expression-matching| -|129. 求根到叶子节点数字之和|1|https://leetcode-cn.com/problems/sum-root-to-leaf-numbers| -|227. 基本计算器 II|1|https://leetcode-cn.com/problems/basic-calculator-ii| -|343. 整数拆分|1|https://leetcode-cn.com/problems/integer-break| -|215. 数组中的第K个最大元素|1|https://leetcode-cn.com/problems/kth-largest-element-in-an-array| -|121. 买卖股票的最佳时机|1|https://leetcode-cn.com/problems/best-time-to-buy-and-sell-stock| -|剑指 Offer 53 - II. 0~n-1中缺失的数字|1|https://leetcode-cn.com/problems/que-shi-de-shu-zi-lcof| -|378. 有序矩阵中第K小的元素|1|https://leetcode-cn.com/problems/kth-smallest-element-in-a-sorted-matrix| -|8. 字符串转换整数 (atoi)|1|https://leetcode-cn.com/problems/string-to-integer-atoi| -|486. 预测赢家|1|https://leetcode-cn.com/problems/predict-the-winner| -|15. 三数之和|1|https://leetcode-cn.com/problems/3sum| -|781. 森林中的兔子|1|https://leetcode-cn.com/problems/rabbits-in-forest| -|剑指 Offer 36. 二叉搜索树与双向链表|1|https://leetcode-cn.com/problems/er-cha-sou-suo-shu-yu-shuang-xiang-lian-biao-lcof| -|46. 全排列|1|https://leetcode-cn.com/problems/permutations| -|23. 合并K个排序链表|1|https://leetcode-cn.com/problems/merge-k-sorted-lists| -|460. LFU缓存|1|https://leetcode-cn.com/problems/lfu-cache| -|2. 两数相加|1|https://leetcode-cn.com/problems/add-two-numbers| -|4. 寻找两个正序数组的中位数|1|https://leetcode-cn.com/problems/median-of-two-sorted-arrays| -|611. 有效三角形的个数|1|https://leetcode-cn.com/problems/valid-triangle-number| -|面试题 08.05. 递归乘法|1|https://leetcode-cn.com/problems/recursive-mulitply-lcci| +|3. 无重复字符的最长子串|2|https://leetcode.cn/problems/longest-substring-without-repeating-characters| +|146. LRU缓存机制|2|https://leetcode.cn/problems/lru-cache| +|120. 三角形最小路径和|2|https://leetcode.cn/problems/triangle| +|102. 二叉树的层序遍历|2|https://leetcode.cn/problems/binary-tree-level-order-traversal| +|110. 平衡二叉树|2|https://leetcode.cn/problems/balanced-binary-tree| +|200. 岛屿数量|1|https://leetcode.cn/problems/number-of-islands| +|10. 正则表达式匹配|1|https://leetcode.cn/problems/regular-expression-matching| +|129. 求根到叶子节点数字之和|1|https://leetcode.cn/problems/sum-root-to-leaf-numbers| +|227. 基本计算器 II|1|https://leetcode.cn/problems/basic-calculator-ii| +|343. 整数拆分|1|https://leetcode.cn/problems/integer-break| +|215. 数组中的第K个最大元素|1|https://leetcode.cn/problems/kth-largest-element-in-an-array| +|121. 买卖股票的最佳时机|1|https://leetcode.cn/problems/best-time-to-buy-and-sell-stock| +|剑指 Offer 53 - II. 0~n-1中缺失的数字|1|https://leetcode.cn/problems/que-shi-de-shu-zi-lcof| +|378. 有序矩阵中第K小的元素|1|https://leetcode.cn/problems/kth-smallest-element-in-a-sorted-matrix| +|8. 字符串转换整数 (atoi)|1|https://leetcode.cn/problems/string-to-integer-atoi| +|486. 预测赢家|1|https://leetcode.cn/problems/predict-the-winner| +|15. 三数之和|1|https://leetcode.cn/problems/3sum| +|781. 森林中的兔子|1|https://leetcode.cn/problems/rabbits-in-forest| +|剑指 Offer 36. 二叉搜索树与双向链表|1|https://leetcode.cn/problems/er-cha-sou-suo-shu-yu-shuang-xiang-lian-biao-lcof| +|46. 全排列|1|https://leetcode.cn/problems/permutations| +|23. 合并K个排序链表|1|https://leetcode.cn/problems/merge-k-sorted-lists| +|460. LFU缓存|1|https://leetcode.cn/problems/lfu-cache| +|2. 两数相加|1|https://leetcode.cn/problems/add-two-numbers| +|4. 寻找两个正序数组的中位数|1|https://leetcode.cn/problems/median-of-two-sorted-arrays| +|611. 有效三角形的个数|1|https://leetcode.cn/problems/valid-triangle-number| +|面试题 08.05. 递归乘法|1|https://leetcode.cn/problems/recursive-mulitply-lcci| diff --git a/baidu/algorithm.md b/baidu/algorithm.md index 0128d20..42fb935 100644 --- a/baidu/algorithm.md +++ b/baidu/algorithm.md @@ -1,21 +1,21 @@ | 公司 | 岗位 | 题目 | 链接 | 频度 | |----|----|------------------------------|-----------------------------------------------------------------------------------------------------|----| -| 百度 | 算法 | 215. 数组中的第K个最大元素 | https://leetcode-cn.com/problems/kth-largest-element-in-an-array/ | 7 | -| 百度 | 算法 | 142. 环形链表 II | https://leetcode-cn.com/problems/linked-list-cycle-ii/ | 2 | -| 百度 | 算法 | 103. 二叉树的锯齿形层次遍历 | https://leetcode-cn.com/problems/binary-tree-zigzag-level-order-traversal/ | 2 | -| 百度 | 算法 | 1339. 分裂二叉树的最大乘积 | https://leetcode-cn.com/problems/maximum-product-of-splitted-binary-tree/ | 1 | -| 百度 | 算法 | 101. 对称二叉树 | https://leetcode-cn.com/problems/symmetric-tree/ | 1 | -| 百度 | 算法 | 46. 全排列 | https://leetcode-cn.com/problems/permutations/ | 1 | -| 百度 | 算法 | 53. 最大子序和 | https://leetcode-cn.com/problems/maximum-subarray/ | 1 | -| 百度 | 算法 | 98. 验证二叉搜索树 | https://leetcode-cn.com/problems/validate-binary-search-tree/ | 1 | -| 百度 | 算法 | 102. 二叉树的层序遍历 | https://leetcode-cn.com/problems/binary-tree-level-order-traversal/ | 1 | -| 百度 | 算法 | 62. 不同路径 | https://leetcode-cn.com/problems/unique-paths/ | 1 | -| 百度 | 算法 | 69. x 的平方根 | https://leetcode-cn.com/problems/sqrtx/ | 1 | -| 百度 | 算法 | 208. 实现 Trie (前缀树) | https://leetcode-cn.com/problems/implement-trie-prefix-tree/ | 1 | -| 百度 | 算法 | 72. 编辑距离 | https://leetcode-cn.com/problems/edit-distance/ | 1 | -| 百度 | 算法 | 5. 最长回文子串 | https://leetcode-cn.com/problems/longest-palindromic-substring/ | 1 | -| 百度 | 算法 | 206. 反转链表 | https://leetcode-cn.com/problems/reverse-linked-list/ | 1 | -| 百度 | 算法 | 234. 回文链表 | https://leetcode-cn.com/problems/palindrome-linked-list/ | 1 | -| 百度 | 算法 | 剑指 Offer 59 - I. 滑动窗口的最大值 | https://leetcode-cn.com/problems/hua-dong-chuang-kou-de-zui-da-zhi-lcof/ | 1 | -| 百度 | 算法 | 404. 左叶子之和 | https://leetcode-cn.com/problems/sum-of-left-leaves/ | 1 | -| 百度 | 算法 | 剑指 Offer 21. 调整数组顺序使奇数位于偶数前面 | https://leetcode-cn.com/problems/diao-zheng-shu-zu-shun-xu-shi-qi-shu-wei-yu-ou-shu-qian-mian-lcof/ | 1 | +| 百度 | 算法 | 215. 数组中的第K个最大元素 | https://leetcode.cn/problems/kth-largest-element-in-an-array/ | 7 | +| 百度 | 算法 | 142. 环形链表 II | https://leetcode.cn/problems/linked-list-cycle-ii/ | 2 | +| 百度 | 算法 | 103. 二叉树的锯齿形层次遍历 | https://leetcode.cn/problems/binary-tree-zigzag-level-order-traversal/ | 2 | +| 百度 | 算法 | 1339. 分裂二叉树的最大乘积 | https://leetcode.cn/problems/maximum-product-of-splitted-binary-tree/ | 1 | +| 百度 | 算法 | 101. 对称二叉树 | https://leetcode.cn/problems/symmetric-tree/ | 1 | +| 百度 | 算法 | 46. 全排列 | https://leetcode.cn/problems/permutations/ | 1 | +| 百度 | 算法 | 53. 最大子序和 | https://leetcode.cn/problems/maximum-subarray/ | 1 | +| 百度 | 算法 | 98. 验证二叉搜索树 | https://leetcode.cn/problems/validate-binary-search-tree/ | 1 | +| 百度 | 算法 | 102. 二叉树的层序遍历 | https://leetcode.cn/problems/binary-tree-level-order-traversal/ | 1 | +| 百度 | 算法 | 62. 不同路径 | https://leetcode.cn/problems/unique-paths/ | 1 | +| 百度 | 算法 | 69. x 的平方根 | https://leetcode.cn/problems/sqrtx/ | 1 | +| 百度 | 算法 | 208. 实现 Trie (前缀树) | https://leetcode.cn/problems/implement-trie-prefix-tree/ | 1 | +| 百度 | 算法 | 72. 编辑距离 | https://leetcode.cn/problems/edit-distance/ | 1 | +| 百度 | 算法 | 5. 最长回文子串 | https://leetcode.cn/problems/longest-palindromic-substring/ | 1 | +| 百度 | 算法 | 206. 反转链表 | https://leetcode.cn/problems/reverse-linked-list/ | 1 | +| 百度 | 算法 | 234. 回文链表 | https://leetcode.cn/problems/palindrome-linked-list/ | 1 | +| 百度 | 算法 | 剑指 Offer 59 - I. 滑动窗口的最大值 | https://leetcode.cn/problems/hua-dong-chuang-kou-de-zui-da-zhi-lcof/ | 1 | +| 百度 | 算法 | 404. 左叶子之和 | https://leetcode.cn/problems/sum-of-left-leaves/ | 1 | +| 百度 | 算法 | 剑指 Offer 21. 调整数组顺序使奇数位于偶数前面 | https://leetcode.cn/problems/diao-zheng-shu-zu-shun-xu-shi-qi-shu-wei-yu-ou-shu-qian-mian-lcof/ | 1 | diff --git a/baidu/backend.md b/baidu/backend.md index f9c7db0..817372e 100644 --- a/baidu/backend.md +++ b/baidu/backend.md @@ -1,57 +1,57 @@ | 公司 | 岗位 | 题目 | 链接 | 频度 | |----|----|------------------------------|-----------------------------------------------------------------------------------------------------|----| -| 百度 | 后端 | 102. 二叉树的层序遍历 | https://leetcode-cn.com/problems/binary-tree-level-order-traversal/ | 5 | -| 百度 | 后端 | 206. 反转链表 | https://leetcode-cn.com/problems/reverse-linked-list/ | 4 | -| 百度 | 后端 | 剑指 Offer 39. 数组中出现次数超过一半的数字 | https://leetcode-cn.com/problems/shu-zu-zhong-chu-xian-ci-shu-chao-guo-yi-ban-de-shu-zi-lcof/ | 3 | -| 百度 | 后端 | 94. 二叉树的中序遍历 | https://leetcode-cn.com/problems/binary-tree-inorder-traversal/ | 3 | -| 百度 | 后端 | 199. 二叉树的右视图 | https://leetcode-cn.com/problems/binary-tree-right-side-view/ | 3 | -| 百度 | 后端 | 4. 寻找两个正序数组的中位数 | https://leetcode-cn.com/problems/median-of-two-sorted-arrays/ | 3 | -| 百度 | 后端 | 146. LRU缓存机制 | https://leetcode-cn.com/problems/lru-cache/ | 3 | -| 百度 | 后端 | 142. 环形链表 II | https://leetcode-cn.com/problems/linked-list-cycle-ii/solution/ | 3 | -| 百度 | 后端 | 268. 缺失数字 | https://leetcode-cn.com/problems/missing-number/ | 2 | -| 百度 | 后端 | 160. 相交链表 | https://leetcode-cn.com/problems/intersection-of-two-linked-lists/ | 2 | -| 百度 | 后端 | 62. 不同路径 | https://leetcode-cn.com/problems/unique-paths/ | 2 | -| 百度 | 后端 | 349. 两个数组的交集 | https://leetcode-cn.com/problems/intersection-of-two-arrays/ | 2 | -| 百度 | 后端 | 19. 删除链表的倒数第N个节点 | https://leetcode-cn.com/problems/remove-nth-node-from-end-of-list/ | 2 | -| 百度 | 后端 | 面试题 01.06. 字符串压缩 | https://leetcode-cn.com/problems/compress-string-lcci/ | 2 | -| 百度 | 后端 | 104. 二叉树的最大深度 | https://leetcode-cn.com/problems/maximum-depth-of-binary-tree/ | 2 | -| 百度 | 后端 | 20. 有效的括号 | https://leetcode-cn.com/problems/valid-parentheses/ | 2 | -| 百度 | 后端 | 69. x 的平方根 | https://leetcode-cn.com/problems/sqrtx/ | 2 | -| 百度 | 后端 | 449. 序列化和反序列化二叉搜索树 | https://leetcode-cn.com/problems/serialize-and-deserialize-bst/ | 1 | -| 百度 | 后端 | 105. 从前序与中序遍历序列构造二叉树 | https://leetcode-cn.com/problems/construct-binary-tree-from-preorder-and-inorder-traversal/ | 1 | -| 百度 | 后端 | 215. 数组中的第K个最大元素 | https://leetcode-cn.com/problems/kth-largest-element-in-an-array/ | 1 | -| 百度 | 后端 | 191. 位1的个数 | https://leetcode-cn.com/problems/number-of-1-bits/ | 1 | -| 百度 | 后端 | 43. 字符串相乘 | https://leetcode-cn.com/problems/multiply-strings/ | 1 | -| 百度 | 后端 | 88. 合并两个有序数组 | https://leetcode-cn.com/problems/merge-sorted-array/ | 1 | -| 百度 | 后端 | 3. 无重复字符的最长子串 | https://leetcode-cn.com/problems/longest-substring-without-repeating-characters/ | 1 | -| 百度 | 后端 | 121. 买卖股票的最佳时机 | https://leetcode-cn.com/problems/best-time-to-buy-and-sell-stock/ | 1 | -| 百度 | 后端 | 123. 买卖股票的最佳时机 III | https://leetcode-cn.com/problems/best-time-to-buy-and-sell-stock-iii/ | 1 | -| 百度 | 后端 | 93. 复原IP地址 | https://leetcode-cn.com/problems/restore-ip-addresses/ | 1 | -| 百度 | 后端 | 236. 二叉树的最近公共祖先 | https://leetcode-cn.com/problems/lowest-common-ancestor-of-a-binary-tree/ | 1 | -| 百度 | 后端 | 110. 平衡二叉树 | https://leetcode-cn.com/problems/balanced-binary-tree/ | 1 | -| 百度 | 后端 | 剑指 Offer 10- II. 青蛙跳台阶问题 | https://leetcode-cn.com/problems/qing-wa-tiao-tai-jie-wen-ti-lcof/ | 1 | -| 百度 | 后端 | 55. 跳跃游戏 | https://leetcode-cn.com/problems/jump-game/ | 1 | -| 百度 | 后端 | 剑指 Offer 48. 最长不含重复字符的子字符串 | https://leetcode-cn.com/problems/zui-chang-bu-han-zhong-fu-zi-fu-de-zi-zi-fu-chuan-lcof/ | 1 | -| 百度 | 后端 | 15. 三数之和 | https://leetcode-cn.com/problems/3sum/ | 1 | -| 百度 | 后端 | 剑指 Offer 42. 连续子数组的最大和 | https://leetcode-cn.com/problems/lian-xu-zi-shu-zu-de-zui-da-he-lcof/ | 1 | -| 百度 | 后端 | 217. 存在重复元素 | https://leetcode-cn.com/problems/contains-duplicate/ | 1 | -| 百度 | 后端 | 5. 最长回文子串 | https://leetcode-cn.com/problems/longest-palindromic-substring/ | 1 | -| 百度 | 后端 | 468. 验证IP地址 | https://leetcode-cn.com/problems/validate-ip-address/ | 1 | -| 百度 | 后端 | 46. 全排列 | https://leetcode-cn.com/problems/permutations/ | 1 | -| 百度 | 后端 | 222. 完全二叉树的节点个数 | https://leetcode-cn.com/problems/count-complete-tree-nodes/ | 1 | -| 百度 | 后端 | 1143. 最长公共子序列 | https://leetcode-cn.com/problems/longest-common-subsequence/ | 1 | -| 百度 | 后端 | 72. 编辑距离 | https://leetcode-cn.com/problems/edit-distance/ | 1 | -| 百度 | 后端 | 剑指 Offer 52. 两个链表的第一个公共节点 | https://leetcode-cn.com/problems/liang-ge-lian-biao-de-di-yi-ge-gong-gong-jie-dian-lcof/ | 1 | -| 百度 | 后端 | 209. 长度最小的子数组 | https://leetcode-cn.com/problems/minimum-size-subarray-sum/ | 1 | -| 百度 | 后端 | 151. 翻转字符串里的单词 | https://leetcode-cn.com/problems/reverse-words-in-a-string/ | 1 | +| 百度 | 后端 | 102. 二叉树的层序遍历 | https://leetcode.cn/problems/binary-tree-level-order-traversal/ | 5 | +| 百度 | 后端 | 206. 反转链表 | https://leetcode.cn/problems/reverse-linked-list/ | 4 | +| 百度 | 后端 | 剑指 Offer 39. 数组中出现次数超过一半的数字 | https://leetcode.cn/problems/shu-zu-zhong-chu-xian-ci-shu-chao-guo-yi-ban-de-shu-zi-lcof/ | 3 | +| 百度 | 后端 | 94. 二叉树的中序遍历 | https://leetcode.cn/problems/binary-tree-inorder-traversal/ | 3 | +| 百度 | 后端 | 199. 二叉树的右视图 | https://leetcode.cn/problems/binary-tree-right-side-view/ | 3 | +| 百度 | 后端 | 4. 寻找两个正序数组的中位数 | https://leetcode.cn/problems/median-of-two-sorted-arrays/ | 3 | +| 百度 | 后端 | 146. LRU缓存机制 | https://leetcode.cn/problems/lru-cache/ | 3 | +| 百度 | 后端 | 142. 环形链表 II | https://leetcode.cn/problems/linked-list-cycle-ii/solution/ | 3 | +| 百度 | 后端 | 268. 缺失数字 | https://leetcode.cn/problems/missing-number/ | 2 | +| 百度 | 后端 | 160. 相交链表 | https://leetcode.cn/problems/intersection-of-two-linked-lists/ | 2 | +| 百度 | 后端 | 62. 不同路径 | https://leetcode.cn/problems/unique-paths/ | 2 | +| 百度 | 后端 | 349. 两个数组的交集 | https://leetcode.cn/problems/intersection-of-two-arrays/ | 2 | +| 百度 | 后端 | 19. 删除链表的倒数第N个节点 | https://leetcode.cn/problems/remove-nth-node-from-end-of-list/ | 2 | +| 百度 | 后端 | 面试题 01.06. 字符串压缩 | https://leetcode.cn/problems/compress-string-lcci/ | 2 | +| 百度 | 后端 | 104. 二叉树的最大深度 | https://leetcode.cn/problems/maximum-depth-of-binary-tree/ | 2 | +| 百度 | 后端 | 20. 有效的括号 | https://leetcode.cn/problems/valid-parentheses/ | 2 | +| 百度 | 后端 | 69. x 的平方根 | https://leetcode.cn/problems/sqrtx/ | 2 | +| 百度 | 后端 | 449. 序列化和反序列化二叉搜索树 | https://leetcode.cn/problems/serialize-and-deserialize-bst/ | 1 | +| 百度 | 后端 | 105. 从前序与中序遍历序列构造二叉树 | https://leetcode.cn/problems/construct-binary-tree-from-preorder-and-inorder-traversal/ | 1 | +| 百度 | 后端 | 215. 数组中的第K个最大元素 | https://leetcode.cn/problems/kth-largest-element-in-an-array/ | 1 | +| 百度 | 后端 | 191. 位1的个数 | https://leetcode.cn/problems/number-of-1-bits/ | 1 | +| 百度 | 后端 | 43. 字符串相乘 | https://leetcode.cn/problems/multiply-strings/ | 1 | +| 百度 | 后端 | 88. 合并两个有序数组 | https://leetcode.cn/problems/merge-sorted-array/ | 1 | +| 百度 | 后端 | 3. 无重复字符的最长子串 | https://leetcode.cn/problems/longest-substring-without-repeating-characters/ | 1 | +| 百度 | 后端 | 121. 买卖股票的最佳时机 | https://leetcode.cn/problems/best-time-to-buy-and-sell-stock/ | 1 | +| 百度 | 后端 | 123. 买卖股票的最佳时机 III | https://leetcode.cn/problems/best-time-to-buy-and-sell-stock-iii/ | 1 | +| 百度 | 后端 | 93. 复原IP地址 | https://leetcode.cn/problems/restore-ip-addresses/ | 1 | +| 百度 | 后端 | 236. 二叉树的最近公共祖先 | https://leetcode.cn/problems/lowest-common-ancestor-of-a-binary-tree/ | 1 | +| 百度 | 后端 | 110. 平衡二叉树 | https://leetcode.cn/problems/balanced-binary-tree/ | 1 | +| 百度 | 后端 | 剑指 Offer 10- II. 青蛙跳台阶问题 | https://leetcode.cn/problems/qing-wa-tiao-tai-jie-wen-ti-lcof/ | 1 | +| 百度 | 后端 | 55. 跳跃游戏 | https://leetcode.cn/problems/jump-game/ | 1 | +| 百度 | 后端 | 剑指 Offer 48. 最长不含重复字符的子字符串 | https://leetcode.cn/problems/zui-chang-bu-han-zhong-fu-zi-fu-de-zi-zi-fu-chuan-lcof/ | 1 | +| 百度 | 后端 | 15. 三数之和 | https://leetcode.cn/problems/3sum/ | 1 | +| 百度 | 后端 | 剑指 Offer 42. 连续子数组的最大和 | https://leetcode.cn/problems/lian-xu-zi-shu-zu-de-zui-da-he-lcof/ | 1 | +| 百度 | 后端 | 217. 存在重复元素 | https://leetcode.cn/problems/contains-duplicate/ | 1 | +| 百度 | 后端 | 5. 最长回文子串 | https://leetcode.cn/problems/longest-palindromic-substring/ | 1 | +| 百度 | 后端 | 468. 验证IP地址 | https://leetcode.cn/problems/validate-ip-address/ | 1 | +| 百度 | 后端 | 46. 全排列 | https://leetcode.cn/problems/permutations/ | 1 | +| 百度 | 后端 | 222. 完全二叉树的节点个数 | https://leetcode.cn/problems/count-complete-tree-nodes/ | 1 | +| 百度 | 后端 | 1143. 最长公共子序列 | https://leetcode.cn/problems/longest-common-subsequence/ | 1 | +| 百度 | 后端 | 72. 编辑距离 | https://leetcode.cn/problems/edit-distance/ | 1 | +| 百度 | 后端 | 剑指 Offer 52. 两个链表的第一个公共节点 | https://leetcode.cn/problems/liang-ge-lian-biao-de-di-yi-ge-gong-gong-jie-dian-lcof/ | 1 | +| 百度 | 后端 | 209. 长度最小的子数组 | https://leetcode.cn/problems/minimum-size-subarray-sum/ | 1 | +| 百度 | 后端 | 151. 翻转字符串里的单词 | https://leetcode.cn/problems/reverse-words-in-a-string/ | 1 | | 百度 | 后端 | 9. 回文数 | https://leetcode.com/problems/palindrome-number/ | 1 | -| 百度 | 后端 | 25. K 个一组翻转链表 | https://leetcode-cn.com/problems/reverse-nodes-in-k-group/ | 1 | -| 百度 | 后端 | 面试题 16.01. 交换数字 | https://leetcode-cn.com/problems/swap-numbers-lcci/ | 1 | -| 百度 | 后端 | 剑指 Offer 04. 二维数组中的查找 | https://leetcode-cn.com/problems/er-wei-shu-zu-zhong-de-cha-zhao-lcof/ | 1 | -| 百度 | 后端 | 剑指 Offer 36. 二叉搜索树与双向链表 | https://leetcode-cn.com/problems/er-cha-sou-suo-shu-yu-shuang-xiang-lian-biao-lcof/ | 1 | -| 百度 | 后端 | 剑指 Offer 21. 调整数组顺序使奇数位于偶数前面 | https://leetcode-cn.com/problems/diao-zheng-shu-zu-shun-xu-shi-qi-shu-wei-yu-ou-shu-qian-mian-lcof/ | 1 | -| 百度 | 后端 | 141. 环形链表 | https://leetcode-cn.com/problems/linked-list-cycle/ | 1 | -| 百度 | 后端 | 168. Excel表列名称 | https://leetcode-cn.com/problems/excel-sheet-column-title/ | 1 | -| 百度 | 后端 | 148. 排序链表 | https://leetcode-cn.com/problems/sort-list/ | 1 | -| 百度 | 后端 | 287. 寻找重复数 | https://leetcode-cn.com/problems/find-the-duplicate-number/ | 1 | -| 百度 | 后端 | 1095. 山脉数组中查找目标值 | https://leetcode-cn.com/problems/find-in-mountain-array/ | 1 | +| 百度 | 后端 | 25. K 个一组翻转链表 | https://leetcode.cn/problems/reverse-nodes-in-k-group/ | 1 | +| 百度 | 后端 | 面试题 16.01. 交换数字 | https://leetcode.cn/problems/swap-numbers-lcci/ | 1 | +| 百度 | 后端 | 剑指 Offer 04. 二维数组中的查找 | https://leetcode.cn/problems/er-wei-shu-zu-zhong-de-cha-zhao-lcof/ | 1 | +| 百度 | 后端 | 剑指 Offer 36. 二叉搜索树与双向链表 | https://leetcode.cn/problems/er-cha-sou-suo-shu-yu-shuang-xiang-lian-biao-lcof/ | 1 | +| 百度 | 后端 | 剑指 Offer 21. 调整数组顺序使奇数位于偶数前面 | https://leetcode.cn/problems/diao-zheng-shu-zu-shun-xu-shi-qi-shu-wei-yu-ou-shu-qian-mian-lcof/ | 1 | +| 百度 | 后端 | 141. 环形链表 | https://leetcode.cn/problems/linked-list-cycle/ | 1 | +| 百度 | 后端 | 168. Excel表列名称 | https://leetcode.cn/problems/excel-sheet-column-title/ | 1 | +| 百度 | 后端 | 148. 排序链表 | https://leetcode.cn/problems/sort-list/ | 1 | +| 百度 | 后端 | 287. 寻找重复数 | https://leetcode.cn/problems/find-the-duplicate-number/ | 1 | +| 百度 | 后端 | 1095. 山脉数组中查找目标值 | https://leetcode.cn/problems/find-in-mountain-array/ | 1 | diff --git a/baidu/client.md b/baidu/client.md index 80c6279..0c4c9d4 100644 --- a/baidu/client.md +++ b/baidu/client.md @@ -1,8 +1,8 @@ | 公司 | 岗位 | 题目 | 地址 | 频率 | |----|-----|-----------------------|----------------------------------------------------------------------|----| -| 百度 | 客户端 | 206. 反转链表 | https://leetcode-cn.com/problems/reverse-linked-list/ | 2 | -| 百度 | 客户端 | 剑指 Offer 13. 机器人的运动范围 | https://leetcode-cn.com/problems/ji-qi-ren-de-yun-dong-fan-wei-lcof/ | 1 | -| 百度 | 客户端 | 142. 环形链表 II | https://leetcode-cn.com/problems/linked-list-cycle-ii/ | 1 | -| 百度 | 客户端 | 144. 二叉树的前序遍历 | https://leetcode-cn.com/problems/binary-tree-preorder-traversal/ | 1 | -| 百度 | 客户端 | 70. 爬楼梯 | https://leetcode-cn.com/problems/climbing-stairs/ | 1 | -| 百度 | 客户端 | 104. 二叉树的最大深度 | https://leetcode-cn.com/problems/maximum-depth-of-binary-tree/ | 1 | +| 百度 | 客户端 | 206. 反转链表 | https://leetcode.cn/problems/reverse-linked-list/ | 2 | +| 百度 | 客户端 | 剑指 Offer 13. 机器人的运动范围 | https://leetcode.cn/problems/ji-qi-ren-de-yun-dong-fan-wei-lcof/ | 1 | +| 百度 | 客户端 | 142. 环形链表 II | https://leetcode.cn/problems/linked-list-cycle-ii/ | 1 | +| 百度 | 客户端 | 144. 二叉树的前序遍历 | https://leetcode.cn/problems/binary-tree-preorder-traversal/ | 1 | +| 百度 | 客户端 | 70. 爬楼梯 | https://leetcode.cn/problems/climbing-stairs/ | 1 | +| 百度 | 客户端 | 104. 二叉树的最大深度 | https://leetcode.cn/problems/maximum-depth-of-binary-tree/ | 1 | diff --git a/baidu/frontend.md b/baidu/frontend.md index 8884cc0..24f6cbe 100644 --- a/baidu/frontend.md +++ b/baidu/frontend.md @@ -1,6 +1,6 @@ | 公司 | 岗位 | 题目 | 链接 | 频度 | |----|----|------------------------|-----------------------------------------------------------------------------|----| -| 百度 | 前端 | 329. 矩阵中的最长递增路径 | https://leetcode-cn.com/problems/longest-increasing-path-in-a-matrix/ | 1 | -| 百度 | 前端 | 104. 二叉树的最大深度 | https://leetcode-cn.com/problems/maximum-depth-of-binary-tree/ | 1 | -| 百度 | 前端 | 剑指 Offer 25. 合并两个排序的链表 | https://leetcode-cn.com/problems/he-bing-liang-ge-pai-xu-de-lian-biao-lcof/ | 1 | -| 百度 | 前端 | 215. 数组中的第K个最大元素 | https://leetcode-cn.com/problems/kth-largest-element-in-an-array/ | 1 | +| 百度 | 前端 | 329. 矩阵中的最长递增路径 | https://leetcode.cn/problems/longest-increasing-path-in-a-matrix/ | 1 | +| 百度 | 前端 | 104. 二叉树的最大深度 | https://leetcode.cn/problems/maximum-depth-of-binary-tree/ | 1 | +| 百度 | 前端 | 剑指 Offer 25. 合并两个排序的链表 | https://leetcode.cn/problems/he-bing-liang-ge-pai-xu-de-lian-biao-lcof/ | 1 | +| 百度 | 前端 | 215. 数组中的第K个最大元素 | https://leetcode.cn/problems/kth-largest-element-in-an-array/ | 1 | diff --git a/baidu/test.md b/baidu/test.md index 7e0e973..94f7d9e 100644 --- a/baidu/test.md +++ b/baidu/test.md @@ -1,21 +1,21 @@ | 公司 | 岗位 | 题目 | 链接 | 频度 | |----|----|------------------------|----------------------------------------------------------------------------|----| -| 百度 | 测试 | 94. 二叉树的中序遍历 | https://leetcode-cn.com/problems/binary-tree-inorder-traversal/ | 2 | -| 百度 | 测试 | 142. 环形链表 II | https://leetcode-cn.com/problems/linked-list-cycle-ii/ | 2 | -| 百度 | 测试 | 142. 环形链表 II | https://leetcode-cn.com/problems/linked-list-cycle-ii/solution/ | 2 | -| 百度 | 测试 | 94. 二叉树的中序遍历 | https://leetcode-cn.com/problems/binary-tree-inorder-traversal/ | 2 | -| 百度 | 测试 | 5. 最长回文子串 | https://leetcode-cn.com/problems/longest-palindromic-substring/ | 1 | -| 百度 | 测试 | 53. 最大子序和 | https://leetcode-cn.com/problems/maximum-subarray/ | 1 | -| 百度 | 测试 | 887. 鸡蛋掉落 | https://leetcode-cn.com/problems/super-egg-drop/ | 1 | -| 百度 | 测试 | 83. 删除排序链表中的重复元素 | https://leetcode-cn.com/problems/remove-duplicates-from-sorted-list/ | 1 | -| 百度 | 测试 | 1. 两数之和 | https://leetcode-cn.com/problems/two-sum/ | 1 | -| 百度 | 测试 | 206. 反转链表 | https://leetcode-cn.com/problems/reverse-linked-list/ | 1 | -| 百度 | 测试 | 100. 相同的树 | https://leetcode-cn.com/problems/same-tree/ | 1 | -| 百度 | 测试 | 104. 二叉树的最大深度 | https://leetcode-cn.com/problems/maximum-depth-of-binary-tree/ | 1 | -| 百度 | 测试 | 剑指 Offer 42. 连续子数组的最大和 | https://leetcode-cn.com/problems/lian-xu-zi-shu-zu-de-zui-da-he-lcof/ | 1 | -| 百度 | 测试 | 141. 环形链表 | https://leetcode-cn.com/problems/linked-list-cycle/ | 1 | -| 百度 | 测试 | 剑指 Offer 09. 用两个栈实现队列 | https://leetcode-cn.com/problems/yong-liang-ge-zhan-shi-xian-dui-lie-lcof/ | 1 | -| 百度 | 测试 | 215. 数组中的第K个最大元素 | https://leetcode-cn.com/problems/kth-largest-element-in-an-array/ | 1 | -| 百度 | 测试 | 876. 链表的中间结点 | https://leetcode-cn.com/problems/middle-of-the-linked-list/ | 1 | -| 百度 | 测试 | 169. 多数元素 | https://leetcode-cn.com/problems/majority-element/ | 1 | -| 百度 | 测试 | 15. 三数之和 | https://leetcode-cn.com/problems/3sum/ | 1 | +| 百度 | 测试 | 94. 二叉树的中序遍历 | https://leetcode.cn/problems/binary-tree-inorder-traversal/ | 2 | +| 百度 | 测试 | 142. 环形链表 II | https://leetcode.cn/problems/linked-list-cycle-ii/ | 2 | +| 百度 | 测试 | 142. 环形链表 II | https://leetcode.cn/problems/linked-list-cycle-ii/solution/ | 2 | +| 百度 | 测试 | 94. 二叉树的中序遍历 | https://leetcode.cn/problems/binary-tree-inorder-traversal/ | 2 | +| 百度 | 测试 | 5. 最长回文子串 | https://leetcode.cn/problems/longest-palindromic-substring/ | 1 | +| 百度 | 测试 | 53. 最大子序和 | https://leetcode.cn/problems/maximum-subarray/ | 1 | +| 百度 | 测试 | 887. 鸡蛋掉落 | https://leetcode.cn/problems/super-egg-drop/ | 1 | +| 百度 | 测试 | 83. 删除排序链表中的重复元素 | https://leetcode.cn/problems/remove-duplicates-from-sorted-list/ | 1 | +| 百度 | 测试 | 1. 两数之和 | https://leetcode.cn/problems/two-sum/ | 1 | +| 百度 | 测试 | 206. 反转链表 | https://leetcode.cn/problems/reverse-linked-list/ | 1 | +| 百度 | 测试 | 100. 相同的树 | https://leetcode.cn/problems/same-tree/ | 1 | +| 百度 | 测试 | 104. 二叉树的最大深度 | https://leetcode.cn/problems/maximum-depth-of-binary-tree/ | 1 | +| 百度 | 测试 | 剑指 Offer 42. 连续子数组的最大和 | https://leetcode.cn/problems/lian-xu-zi-shu-zu-de-zui-da-he-lcof/ | 1 | +| 百度 | 测试 | 141. 环形链表 | https://leetcode.cn/problems/linked-list-cycle/ | 1 | +| 百度 | 测试 | 剑指 Offer 09. 用两个栈实现队列 | https://leetcode.cn/problems/yong-liang-ge-zhan-shi-xian-dui-lie-lcof/ | 1 | +| 百度 | 测试 | 215. 数组中的第K个最大元素 | https://leetcode.cn/problems/kth-largest-element-in-an-array/ | 1 | +| 百度 | 测试 | 876. 链表的中间结点 | https://leetcode.cn/problems/middle-of-the-linked-list/ | 1 | +| 百度 | 测试 | 169. 多数元素 | https://leetcode.cn/problems/majority-element/ | 1 | +| 百度 | 测试 | 15. 三数之和 | https://leetcode.cn/problems/3sum/ | 1 | diff --git a/bytedance/algorithm.md b/bytedance/algorithm.md index 8e5665b..65ba35b 100644 --- a/bytedance/algorithm.md +++ b/bytedance/algorithm.md @@ -3,138 +3,138 @@ |题目|出现次数|链接| |-|-|-| -|72. 编辑距离|8|https://leetcode-cn.com/problems/edit-distance| -|103. 二叉树的锯齿形层次遍历|7|https://leetcode-cn.com/problems/binary-tree-zigzag-level-order-traversal| -|215. 数组中的第K个最大元素|6|https://leetcode-cn.com/problems/kth-largest-element-in-an-array| -|236. 二叉树的最近公共祖先|6|https://leetcode-cn.com/problems/lowest-common-ancestor-of-a-binary-tree| -|300. 最长上升子序列|6|https://leetcode-cn.com/problems/longest-increasing-subsequence| -|200. 岛屿数量|5|https://leetcode-cn.com/problems/number-of-islands| -|33. 搜索旋转排序数组|4|https://leetcode-cn.com/problems/search-in-rotated-sorted-array| -|69. x 的平方根|4|https://leetcode-cn.com/problems/sqrtx| -|3. 无重复字符的最长子串|3|https://leetcode-cn.com/problems/longest-substring-without-repeating-characters| -|23. 合并K个排序链表|3|https://leetcode-cn.com/problems/merge-k-sorted-lists| -|4. 寻找两个正序数组的中位数|3|https://leetcode-cn.com/problems/median-of-two-sorted-arrays| -|剑指 Offer 29. 顺时针打印矩阵|3|https://leetcode-cn.com/problems/shun-shi-zhen-da-yin-ju-zhen-lcof| -|695. 岛屿的最大面积|3|https://leetcode-cn.com/problems/max-area-of-island| -|240. 搜索二维矩阵 II|3|https://leetcode-cn.com/problems/search-a-2d-matrix-ii| -|102. 二叉树的层序遍历|3|https://leetcode-cn.com/problems/binary-tree-level-order-traversal| -|49. 字母异位词分组|3|https://leetcode-cn.com/problems/group-anagrams| -|209. 长度最小的子数组|3|https://leetcode-cn.com/problems/minimum-size-subarray-sum| -|85. 最大矩形|3|https://leetcode-cn.com/problems/maximal-rectangle| -|287. 寻找重复数|3|https://leetcode-cn.com/problems/find-the-duplicate-number| -|64. 最小路径和|3|https://leetcode-cn.com/problems/minimum-path-sum| -|5. 最长回文子串|3|https://leetcode-cn.com/problems/longest-palindromic-substring| -|46. 全排列|3|https://leetcode-cn.com/problems/permutations| -|121. 买卖股票的最佳时机|3|https://leetcode-cn.com/problems/best-time-to-buy-and-sell-stock| -|15. 三数之和|3|https://leetcode-cn.com/problems/3sum| -|394. 字符串解码|3|https://leetcode-cn.com/problems/decode-string| -|110. 平衡二叉树|2|https://leetcode-cn.com/problems/balanced-binary-tree| -|572. 另一个树的子树|2|https://leetcode-cn.com/problems/subtree-of-another-tree| -|1. 两数之和|2|https://leetcode-cn.com/problems/two-sum| -|105. 从前序与中序遍历序列构造二叉树|2|https://leetcode-cn.com/problems/construct-binary-tree-from-preorder-and-inorder-traversal| -|206. 反转链表|2|https://leetcode-cn.com/problems/reverse-linked-list| -|88. 合并两个有序数组|2|https://leetcode-cn.com/problems/merge-sorted-array| -|152. 乘积最大子数组|2|https://leetcode-cn.com/problems/maximum-product-subarray| -|70. 爬楼梯|2|https://leetcode-cn.com/problems/climbing-stairs| -|48. 旋转图像|2|https://leetcode-cn.com/problems/rotate-image| -|剑指 Offer 36. 二叉搜索树与双向链表|2|https://leetcode-cn.com/problems/er-cha-sou-suo-shu-yu-shuang-xiang-lian-biao-lcof| -|179. 最大数|2|https://leetcode-cn.com/problems/largest-number| -|剑指 Offer 51. 数组中的逆序对|2|https://leetcode-cn.com/problems/shu-zu-zhong-de-ni-xu-dui-lcof| -|143. 重排链表|2|https://leetcode-cn.com/problems/reorder-list| -|239. 滑动窗口最大值|2|https://leetcode-cn.com/problems/sliding-window-maximum| -|238. 除自身以外数组的乘积|2|https://leetcode-cn.com/problems/product-of-array-except-self| -|25. K 个一组翻转链表|2|https://leetcode-cn.com/problems/reverse-nodes-in-k-group| -|129. 求根到叶子节点数字之和|2|https://leetcode-cn.com/problems/sum-root-to-leaf-numbers| -|补充题4. 手撕快速排序|2|https://leetcode-cn.com/problems/sort-an-array| -|42. 接雨水|2|https://leetcode-cn.com/problems/trapping-rain-water| -|415. 字符串相加|2|https://leetcode-cn.com/problems/add-strings| -|221. 最大正方形|2|https://leetcode-cn.com/problems/maximal-square| -|400. 第N个数字|2|https://leetcode-cn.com/problems/nth-digit| -|54. 螺旋矩阵|2|https://leetcode-cn.com/problems/spiral-matrix| -|104. 二叉树的最大深度|1|https://leetcode-cn.com/problems/maximum-depth-of-binary-tree| -|160. 相交链表|1|https://leetcode-cn.com/problems/intersection-of-two-linked-lists| -|636. 函数的独占时间|1|https://leetcode-cn.com/problems/exclusive-time-of-functions| -|297. 二叉树的序列化与反序列化|1|https://leetcode-cn.com/problems/serialize-and-deserialize-binary-tree| -|814. 二叉树剪枝|1|https://leetcode-cn.com/problems/binary-tree-pruning| -|445. 两数相加 II|1|https://leetcode-cn.com/problems/add-two-numbers-ii| -|2. 两数相加|1|https://leetcode-cn.com/problems/add-two-numbers| -|62. 不同路径|1|https://leetcode-cn.com/problems/unique-paths| -|63. 不同路径 II|1|https://leetcode-cn.com/problems/unique-paths-ii| -|509. 斐波那契数|1|https://leetcode-cn.com/problems/fibonacci-number| -|128. 最长连续序列|1|https://leetcode-cn.com/problems/longest-consecutive-sequence| -|20. 有效的括号|1|https://leetcode-cn.com/problems/valid-parentheses| -|264. 丑数 II|1|https://leetcode-cn.com/problems/ugly-number-ii| -|437. 路径总和 III|1|https://leetcode-cn.com/problems/path-sum-iii| -|560. 和为K的子数组|1|https://leetcode-cn.com/problems/subarray-sum-equals-k| -|169. 多数元素|1|https://leetcode-cn.com/problems/majority-element| -|142. 环形链表 II|1|https://leetcode-cn.com/problems/linked-list-cycle-ii| -|255. 验证前序遍历序列二叉搜索树|1|https://leetcode-cn.com/problems/verify-preorder-sequence-in-binary-search-tree| -|剑指 Offer 09. 用两个栈实现队列|1|https://leetcode-cn.com/problems/yong-liang-ge-zhan-shi-xian-dui-lie-lcof| -|124. 二叉树中的最大路径和|1|https://leetcode-cn.com/problems/binary-tree-maximum-path-sum| -|剑指 Offer 54. 二叉搜索树的第k大节点|1|https://leetcode-cn.com/problems/er-cha-sou-suo-shu-de-di-kda-jie-dian-lcof| -|518. 零钱兑换 II|1|https://leetcode-cn.com/problems/coin-change-2| -|50. Pow(x, n)|1|https://leetcode-cn.com/problems/powx-n| -|122. 买卖股票的最佳时机 II|1|https://leetcode-cn.com/problems/best-time-to-buy-and-sell-stock-ii| -|807. 保持城市天际线|1|https://leetcode-cn.com/problems/max-increase-to-keep-city-skyline| -|123. 买卖股票的最佳时机 III|1|https://leetcode-cn.com/problems/best-time-to-buy-and-sell-stock-iii| -|315. 计算右侧小于当前元素的个数|1|https://leetcode-cn.com/problems/count-of-smaller-numbers-after-self| -|1363. 形成三的最大倍数|1|https://leetcode-cn.com/problems/largest-multiple-of-three| -|376. 摆动序列|1|https://leetcode-cn.com/problems/wiggle-subsequence| -|1143. 最长公共子序列|1|https://leetcode-cn.com/problems/longest-common-subsequence| -|32. 最长有效括号|1|https://leetcode-cn.com/problems/longest-valid-parentheses| -|718. 最长重复子数组|1|https://leetcode-cn.com/problems/maximum-length-of-repeated-subarray| -|440. 字典序的第K小数字|1|https://leetcode-cn.com/problems/k-th-smallest-in-lexicographical-order| -|334. 递增的三元子序列|1|https://leetcode-cn.com/problems/increasing-triplet-subsequence| -|582. 杀死进程|1|https://leetcode-cn.com/problems/kill-process| -|面试题 16.03. 交点|1|https://leetcode-cn.com/problems/intersection-lcci| -|96. 不同的二叉搜索树|1|https://leetcode-cn.com/problems/unique-binary-search-trees| -|41. 缺失的第一个正数|1|https://leetcode-cn.com/problems/first-missing-positive| -|403. 青蛙过河|1|https://leetcode-cn.com/problems/frog-jump| -|726. 原子的数量|1|https://leetcode-cn.com/problems/number-of-atoms| -|剑指 Offer 10- I. 斐波那契数列|1|https://leetcode-cn.com/problems/fei-bo-na-qi-shu-lie-lcof| -|405. 数字转换为十六进制数|1|https://leetcode-cn.com/problems/convert-a-number-to-hexadecimal| -|1420. 生成数组|1|https://leetcode-cn.com/problems/build-array-where-you-can-find-the-maximum-exactly-k-comparisons| -|306. 累加数|1|https://leetcode-cn.com/problems/additive-number| -|98. 验证二叉搜索树|1|https://leetcode-cn.com/problems/validate-binary-search-tree| -|227. 基本计算器 II|1|https://leetcode-cn.com/problems/basic-calculator-ii| -|1505. 最多 K 次交换相邻数位后得到的最小整数|1|https://leetcode-cn.com/problems/minimum-possible-integer-after-at-most-k-adjacent-swaps-on-digits| -|632. 最小区间|1|https://leetcode-cn.com/problems/smallest-range-covering-elements-from-k-lists| -|871. 最低加油次数|1|https://leetcode-cn.com/problems/minimum-number-of-refueling-stops| -|107. 二叉树的层次遍历 II|1|https://leetcode-cn.com/problems/binary-tree-level-order-traversal-ii| -|407. 接雨水 II|1|https://leetcode-cn.com/problems/trapping-rain-water-ii| -|199. 二叉树的右视图|1|https://leetcode-cn.com/problems/binary-tree-right-side-view| -|84. 柱状图中最大的矩形|1|https://leetcode-cn.com/problems/largest-rectangle-in-histogram| -|74. 搜索二维矩阵|1|https://leetcode-cn.com/problems/search-a-2d-matrix| -|329. 矩阵中的最长递增路径|1|https://leetcode-cn.com/problems/longest-increasing-path-in-a-matrix| -|172. 阶乘后的零|1|https://leetcode-cn.com/problems/factorial-trailing-zeroes| -|153. 寻找旋转排序数组中的最小值|1|https://leetcode-cn.com/problems/find-minimum-in-rotated-sorted-array| -|432. 全 O(1) 的数据结构|1|https://leetcode-cn.com/problems/all-oone-data-structure| -|470. 用 Rand7() 实现 Rand10()|1|https://leetcode-cn.com/problems/implement-rand10-using-rand7| -|164. 最大间距|1|https://leetcode-cn.com/problems/maximum-gap| -|94. 二叉树的中序遍历|1|https://leetcode-cn.com/problems/binary-tree-inorder-traversal| -|剑指 Offer 62. 圆圈中最后剩下的数字|1|https://leetcode-cn.com/problems/yuan-quan-zhong-zui-hou-sheng-xia-de-shu-zi-lcof| -|658. 找到 K 个最接近的元素|1|https://leetcode-cn.com/problems/find-k-closest-elements| -|704. 二分查找|1|https://leetcode-cn.com/problems/binary-search| -|355. 设计推特|1|https://leetcode-cn.com/problems/design-twitter| -|剑指 Offer 11. 旋转数组的最小数字|1|https://leetcode-cn.com/problems/xuan-zhuan-shu-zu-de-zui-xiao-shu-zi-lcof| -|698. 划分为k个相等的子集|1|https://leetcode-cn.com/problems/partition-to-k-equal-sum-subsets| -|224. 基本计算器|1|https://leetcode-cn.com/problems/basic-calculator| -|剑指 Offer 22. 链表中倒数第k个节点|1|https://leetcode-cn.com/problems/lian-biao-zhong-dao-shu-di-kge-jie-dian-lcof| -|31. 下一个排列|1|https://leetcode-cn.com/problems/next-permutation| -|875. 爱吃香蕉的珂珂|1|https://leetcode-cn.com/problems/koko-eating-bananas| -|145. 二叉树的后序遍历|1|https://leetcode-cn.com/problems/binary-tree-postorder-traversal| -|19. 删除链表的倒数第N个节点|1|https://leetcode-cn.com/problems/remove-nth-node-from-end-of-list| -|673. 最长递增子序列的个数|1|https://leetcode-cn.com/problems/number-of-longest-increasing-subsequence| -|剑指 Offer 34. 二叉树中和为某一值的路径|1|https://leetcode-cn.com/problems/er-cha-shu-zhong-he-wei-mou-yi-zhi-de-lu-jing-lcof| -|670. 最大交换|1|https://leetcode-cn.com/problems/maximum-swap| -|141. 环形链表|1|https://leetcode-cn.com/problems/linked-list-cycle| -|897. 递增顺序查找树|1|https://leetcode-cn.com/problems/increasing-order-search-tree| -|653. 两数之和 IV - 输入 BST|1|https://leetcode-cn.com/problems/two-sum-iv-input-is-a-bst| -|310. 最小高度树|1|https://leetcode-cn.com/problems/minimum-height-trees| -|167. 两数之和 II - 输入有序数组|1|https://leetcode-cn.com/problems/two-sum-ii-input-array-is-sorted| -|611. 有效三角形的个数|1|https://leetcode-cn.com/problems/valid-triangle-number| -|92. 反转链表 II|1|https://leetcode-cn.com/problems/reverse-linked-list-ii| -|剑指 Offer 07. 重建二叉树|1|https://leetcode-cn.com/problems/zhong-jian-er-cha-shu-lcof| -|525. 连续数组|1|https://leetcode-cn.com/problems/contiguous-array| -|144. 二叉树的前序遍历|1|https://leetcode-cn.com/problems/binary-tree-preorder-traversal| -|378. 有序矩阵中第K小的元素|1|https://leetcode-cn.com/problems/kth-smallest-element-in-a-sorted-matrix| \ No newline at end of file +|72. 编辑距离|8|https://leetcode.cn/problems/edit-distance| +|103. 二叉树的锯齿形层次遍历|7|https://leetcode.cn/problems/binary-tree-zigzag-level-order-traversal| +|215. 数组中的第K个最大元素|6|https://leetcode.cn/problems/kth-largest-element-in-an-array| +|236. 二叉树的最近公共祖先|6|https://leetcode.cn/problems/lowest-common-ancestor-of-a-binary-tree| +|300. 最长上升子序列|6|https://leetcode.cn/problems/longest-increasing-subsequence| +|200. 岛屿数量|5|https://leetcode.cn/problems/number-of-islands| +|33. 搜索旋转排序数组|4|https://leetcode.cn/problems/search-in-rotated-sorted-array| +|69. x 的平方根|4|https://leetcode.cn/problems/sqrtx| +|3. 无重复字符的最长子串|3|https://leetcode.cn/problems/longest-substring-without-repeating-characters| +|23. 合并K个排序链表|3|https://leetcode.cn/problems/merge-k-sorted-lists| +|4. 寻找两个正序数组的中位数|3|https://leetcode.cn/problems/median-of-two-sorted-arrays| +|剑指 Offer 29. 顺时针打印矩阵|3|https://leetcode.cn/problems/shun-shi-zhen-da-yin-ju-zhen-lcof| +|695. 岛屿的最大面积|3|https://leetcode.cn/problems/max-area-of-island| +|240. 搜索二维矩阵 II|3|https://leetcode.cn/problems/search-a-2d-matrix-ii| +|102. 二叉树的层序遍历|3|https://leetcode.cn/problems/binary-tree-level-order-traversal| +|49. 字母异位词分组|3|https://leetcode.cn/problems/group-anagrams| +|209. 长度最小的子数组|3|https://leetcode.cn/problems/minimum-size-subarray-sum| +|85. 最大矩形|3|https://leetcode.cn/problems/maximal-rectangle| +|287. 寻找重复数|3|https://leetcode.cn/problems/find-the-duplicate-number| +|64. 最小路径和|3|https://leetcode.cn/problems/minimum-path-sum| +|5. 最长回文子串|3|https://leetcode.cn/problems/longest-palindromic-substring| +|46. 全排列|3|https://leetcode.cn/problems/permutations| +|121. 买卖股票的最佳时机|3|https://leetcode.cn/problems/best-time-to-buy-and-sell-stock| +|15. 三数之和|3|https://leetcode.cn/problems/3sum| +|394. 字符串解码|3|https://leetcode.cn/problems/decode-string| +|110. 平衡二叉树|2|https://leetcode.cn/problems/balanced-binary-tree| +|572. 另一个树的子树|2|https://leetcode.cn/problems/subtree-of-another-tree| +|1. 两数之和|2|https://leetcode.cn/problems/two-sum| +|105. 从前序与中序遍历序列构造二叉树|2|https://leetcode.cn/problems/construct-binary-tree-from-preorder-and-inorder-traversal| +|206. 反转链表|2|https://leetcode.cn/problems/reverse-linked-list| +|88. 合并两个有序数组|2|https://leetcode.cn/problems/merge-sorted-array| +|152. 乘积最大子数组|2|https://leetcode.cn/problems/maximum-product-subarray| +|70. 爬楼梯|2|https://leetcode.cn/problems/climbing-stairs| +|48. 旋转图像|2|https://leetcode.cn/problems/rotate-image| +|剑指 Offer 36. 二叉搜索树与双向链表|2|https://leetcode.cn/problems/er-cha-sou-suo-shu-yu-shuang-xiang-lian-biao-lcof| +|179. 最大数|2|https://leetcode.cn/problems/largest-number| +|剑指 Offer 51. 数组中的逆序对|2|https://leetcode.cn/problems/shu-zu-zhong-de-ni-xu-dui-lcof| +|143. 重排链表|2|https://leetcode.cn/problems/reorder-list| +|239. 滑动窗口最大值|2|https://leetcode.cn/problems/sliding-window-maximum| +|238. 除自身以外数组的乘积|2|https://leetcode.cn/problems/product-of-array-except-self| +|25. K 个一组翻转链表|2|https://leetcode.cn/problems/reverse-nodes-in-k-group| +|129. 求根到叶子节点数字之和|2|https://leetcode.cn/problems/sum-root-to-leaf-numbers| +|补充题4. 手撕快速排序|2|https://leetcode.cn/problems/sort-an-array| +|42. 接雨水|2|https://leetcode.cn/problems/trapping-rain-water| +|415. 字符串相加|2|https://leetcode.cn/problems/add-strings| +|221. 最大正方形|2|https://leetcode.cn/problems/maximal-square| +|400. 第N个数字|2|https://leetcode.cn/problems/nth-digit| +|54. 螺旋矩阵|2|https://leetcode.cn/problems/spiral-matrix| +|104. 二叉树的最大深度|1|https://leetcode.cn/problems/maximum-depth-of-binary-tree| +|160. 相交链表|1|https://leetcode.cn/problems/intersection-of-two-linked-lists| +|636. 函数的独占时间|1|https://leetcode.cn/problems/exclusive-time-of-functions| +|297. 二叉树的序列化与反序列化|1|https://leetcode.cn/problems/serialize-and-deserialize-binary-tree| +|814. 二叉树剪枝|1|https://leetcode.cn/problems/binary-tree-pruning| +|445. 两数相加 II|1|https://leetcode.cn/problems/add-two-numbers-ii| +|2. 两数相加|1|https://leetcode.cn/problems/add-two-numbers| +|62. 不同路径|1|https://leetcode.cn/problems/unique-paths| +|63. 不同路径 II|1|https://leetcode.cn/problems/unique-paths-ii| +|509. 斐波那契数|1|https://leetcode.cn/problems/fibonacci-number| +|128. 最长连续序列|1|https://leetcode.cn/problems/longest-consecutive-sequence| +|20. 有效的括号|1|https://leetcode.cn/problems/valid-parentheses| +|264. 丑数 II|1|https://leetcode.cn/problems/ugly-number-ii| +|437. 路径总和 III|1|https://leetcode.cn/problems/path-sum-iii| +|560. 和为K的子数组|1|https://leetcode.cn/problems/subarray-sum-equals-k| +|169. 多数元素|1|https://leetcode.cn/problems/majority-element| +|142. 环形链表 II|1|https://leetcode.cn/problems/linked-list-cycle-ii| +|255. 验证前序遍历序列二叉搜索树|1|https://leetcode.cn/problems/verify-preorder-sequence-in-binary-search-tree| +|剑指 Offer 09. 用两个栈实现队列|1|https://leetcode.cn/problems/yong-liang-ge-zhan-shi-xian-dui-lie-lcof| +|124. 二叉树中的最大路径和|1|https://leetcode.cn/problems/binary-tree-maximum-path-sum| +|剑指 Offer 54. 二叉搜索树的第k大节点|1|https://leetcode.cn/problems/er-cha-sou-suo-shu-de-di-kda-jie-dian-lcof| +|518. 零钱兑换 II|1|https://leetcode.cn/problems/coin-change-2| +|50. Pow(x, n)|1|https://leetcode.cn/problems/powx-n| +|122. 买卖股票的最佳时机 II|1|https://leetcode.cn/problems/best-time-to-buy-and-sell-stock-ii| +|807. 保持城市天际线|1|https://leetcode.cn/problems/max-increase-to-keep-city-skyline| +|123. 买卖股票的最佳时机 III|1|https://leetcode.cn/problems/best-time-to-buy-and-sell-stock-iii| +|315. 计算右侧小于当前元素的个数|1|https://leetcode.cn/problems/count-of-smaller-numbers-after-self| +|1363. 形成三的最大倍数|1|https://leetcode.cn/problems/largest-multiple-of-three| +|376. 摆动序列|1|https://leetcode.cn/problems/wiggle-subsequence| +|1143. 最长公共子序列|1|https://leetcode.cn/problems/longest-common-subsequence| +|32. 最长有效括号|1|https://leetcode.cn/problems/longest-valid-parentheses| +|718. 最长重复子数组|1|https://leetcode.cn/problems/maximum-length-of-repeated-subarray| +|440. 字典序的第K小数字|1|https://leetcode.cn/problems/k-th-smallest-in-lexicographical-order| +|334. 递增的三元子序列|1|https://leetcode.cn/problems/increasing-triplet-subsequence| +|582. 杀死进程|1|https://leetcode.cn/problems/kill-process| +|面试题 16.03. 交点|1|https://leetcode.cn/problems/intersection-lcci| +|96. 不同的二叉搜索树|1|https://leetcode.cn/problems/unique-binary-search-trees| +|41. 缺失的第一个正数|1|https://leetcode.cn/problems/first-missing-positive| +|403. 青蛙过河|1|https://leetcode.cn/problems/frog-jump| +|726. 原子的数量|1|https://leetcode.cn/problems/number-of-atoms| +|剑指 Offer 10- I. 斐波那契数列|1|https://leetcode.cn/problems/fei-bo-na-qi-shu-lie-lcof| +|405. 数字转换为十六进制数|1|https://leetcode.cn/problems/convert-a-number-to-hexadecimal| +|1420. 生成数组|1|https://leetcode.cn/problems/build-array-where-you-can-find-the-maximum-exactly-k-comparisons| +|306. 累加数|1|https://leetcode.cn/problems/additive-number| +|98. 验证二叉搜索树|1|https://leetcode.cn/problems/validate-binary-search-tree| +|227. 基本计算器 II|1|https://leetcode.cn/problems/basic-calculator-ii| +|1505. 最多 K 次交换相邻数位后得到的最小整数|1|https://leetcode.cn/problems/minimum-possible-integer-after-at-most-k-adjacent-swaps-on-digits| +|632. 最小区间|1|https://leetcode.cn/problems/smallest-range-covering-elements-from-k-lists| +|871. 最低加油次数|1|https://leetcode.cn/problems/minimum-number-of-refueling-stops| +|107. 二叉树的层次遍历 II|1|https://leetcode.cn/problems/binary-tree-level-order-traversal-ii| +|407. 接雨水 II|1|https://leetcode.cn/problems/trapping-rain-water-ii| +|199. 二叉树的右视图|1|https://leetcode.cn/problems/binary-tree-right-side-view| +|84. 柱状图中最大的矩形|1|https://leetcode.cn/problems/largest-rectangle-in-histogram| +|74. 搜索二维矩阵|1|https://leetcode.cn/problems/search-a-2d-matrix| +|329. 矩阵中的最长递增路径|1|https://leetcode.cn/problems/longest-increasing-path-in-a-matrix| +|172. 阶乘后的零|1|https://leetcode.cn/problems/factorial-trailing-zeroes| +|153. 寻找旋转排序数组中的最小值|1|https://leetcode.cn/problems/find-minimum-in-rotated-sorted-array| +|432. 全 O(1) 的数据结构|1|https://leetcode.cn/problems/all-oone-data-structure| +|470. 用 Rand7() 实现 Rand10()|1|https://leetcode.cn/problems/implement-rand10-using-rand7| +|164. 最大间距|1|https://leetcode.cn/problems/maximum-gap| +|94. 二叉树的中序遍历|1|https://leetcode.cn/problems/binary-tree-inorder-traversal| +|剑指 Offer 62. 圆圈中最后剩下的数字|1|https://leetcode.cn/problems/yuan-quan-zhong-zui-hou-sheng-xia-de-shu-zi-lcof| +|658. 找到 K 个最接近的元素|1|https://leetcode.cn/problems/find-k-closest-elements| +|704. 二分查找|1|https://leetcode.cn/problems/binary-search| +|355. 设计推特|1|https://leetcode.cn/problems/design-twitter| +|剑指 Offer 11. 旋转数组的最小数字|1|https://leetcode.cn/problems/xuan-zhuan-shu-zu-de-zui-xiao-shu-zi-lcof| +|698. 划分为k个相等的子集|1|https://leetcode.cn/problems/partition-to-k-equal-sum-subsets| +|224. 基本计算器|1|https://leetcode.cn/problems/basic-calculator| +|剑指 Offer 22. 链表中倒数第k个节点|1|https://leetcode.cn/problems/lian-biao-zhong-dao-shu-di-kge-jie-dian-lcof| +|31. 下一个排列|1|https://leetcode.cn/problems/next-permutation| +|875. 爱吃香蕉的珂珂|1|https://leetcode.cn/problems/koko-eating-bananas| +|145. 二叉树的后序遍历|1|https://leetcode.cn/problems/binary-tree-postorder-traversal| +|19. 删除链表的倒数第N个节点|1|https://leetcode.cn/problems/remove-nth-node-from-end-of-list| +|673. 最长递增子序列的个数|1|https://leetcode.cn/problems/number-of-longest-increasing-subsequence| +|剑指 Offer 34. 二叉树中和为某一值的路径|1|https://leetcode.cn/problems/er-cha-shu-zhong-he-wei-mou-yi-zhi-de-lu-jing-lcof| +|670. 最大交换|1|https://leetcode.cn/problems/maximum-swap| +|141. 环形链表|1|https://leetcode.cn/problems/linked-list-cycle| +|897. 递增顺序查找树|1|https://leetcode.cn/problems/increasing-order-search-tree| +|653. 两数之和 IV - 输入 BST|1|https://leetcode.cn/problems/two-sum-iv-input-is-a-bst| +|310. 最小高度树|1|https://leetcode.cn/problems/minimum-height-trees| +|167. 两数之和 II - 输入有序数组|1|https://leetcode.cn/problems/two-sum-ii-input-array-is-sorted| +|611. 有效三角形的个数|1|https://leetcode.cn/problems/valid-triangle-number| +|92. 反转链表 II|1|https://leetcode.cn/problems/reverse-linked-list-ii| +|剑指 Offer 07. 重建二叉树|1|https://leetcode.cn/problems/zhong-jian-er-cha-shu-lcof| +|525. 连续数组|1|https://leetcode.cn/problems/contiguous-array| +|144. 二叉树的前序遍历|1|https://leetcode.cn/problems/binary-tree-preorder-traversal| +|378. 有序矩阵中第K小的元素|1|https://leetcode.cn/problems/kth-smallest-element-in-a-sorted-matrix| \ No newline at end of file diff --git a/bytedance/backend.md b/bytedance/backend.md index 942c613..c0099b2 100644 --- a/bytedance/backend.md +++ b/bytedance/backend.md @@ -3,344 +3,344 @@ |题目|出现次数|链接| |-|-|-| -|25. K 个一组翻转链表|60|https://leetcode-cn.com/problems/reverse-nodes-in-k-group| -|3. 无重复字符的最长子串|57|https://leetcode-cn.com/problems/longest-substring-without-repeating-characters| -|146. LRU缓存机制|53|https://leetcode-cn.com/problems/lru-cache| -|215. 数组中的第K个最大元素|52|https://leetcode-cn.com/problems/kth-largest-element-in-an-array| -|206. 反转链表|51|https://leetcode-cn.com/problems/reverse-linked-list| -|103. 二叉树的锯齿形层次遍历|47|https://leetcode-cn.com/problems/binary-tree-zigzag-level-order-traversal| -|15. 三数之和|42|https://leetcode-cn.com/problems/3sum| -|121. 买卖股票的最佳时机|41|https://leetcode-cn.com/problems/best-time-to-buy-and-sell-stock| -|160. 相交链表|32|https://leetcode-cn.com/problems/intersection-of-two-linked-lists| -|236. 二叉树的最近公共祖先|32|https://leetcode-cn.com/problems/lowest-common-ancestor-of-a-binary-tree| -|42. 接雨水|31|https://leetcode-cn.com/problems/trapping-rain-water| -|33. 搜索旋转排序数组|27|https://leetcode-cn.com/problems/search-in-rotated-sorted-array| -|31. 下一个排列|27|https://leetcode-cn.com/problems/next-permutation| -|199. 二叉树的右视图|24|https://leetcode-cn.com/problems/binary-tree-right-side-view| -|54. 螺旋矩阵|24|https://leetcode-cn.com/problems/spiral-matrix| -|143. 重排链表|24|https://leetcode-cn.com/problems/reorder-list| -|23. 合并K个排序链表|23|https://leetcode-cn.com/problems/merge-k-sorted-lists| -|21. 合并两个有序链表|22|https://leetcode-cn.com/problems/merge-two-sorted-lists| -|300. 最长上升子序列|21|https://leetcode-cn.com/problems/longest-increasing-subsequence| -|69. x 的平方根|20|https://leetcode-cn.com/problems/sqrtx| -|92. 反转链表 II|20|https://leetcode-cn.com/problems/reverse-linked-list-ii| -|105. 从前序与中序遍历序列构造二叉树|19|https://leetcode-cn.com/problems/construct-binary-tree-from-preorder-and-inorder-traversal| -|1. 两数之和|19|https://leetcode-cn.com/problems/two-sum| -|124. 二叉树中的最大路径和|18|https://leetcode-cn.com/problems/binary-tree-maximum-path-sum| -|200. 岛屿数量|18|https://leetcode-cn.com/problems/number-of-islands| -|41. 缺失的第一个正数|17|https://leetcode-cn.com/problems/first-missing-positive| -|101. 对称二叉树|16|https://leetcode-cn.com/problems/symmetric-tree| -|56. 合并区间|16|https://leetcode-cn.com/problems/merge-intervals| -|415. 字符串相加|16|https://leetcode-cn.com/problems/add-strings| -|155. 最小栈|16|https://leetcode-cn.com/problems/min-stack| -|46. 全排列|16|https://leetcode-cn.com/problems/permutations| -|76. 最小覆盖子串|16|https://leetcode-cn.com/problems/minimum-window-substring| +|25. K 个一组翻转链表|60|https://leetcode.cn/problems/reverse-nodes-in-k-group| +|3. 无重复字符的最长子串|57|https://leetcode.cn/problems/longest-substring-without-repeating-characters| +|146. LRU缓存机制|53|https://leetcode.cn/problems/lru-cache| +|215. 数组中的第K个最大元素|52|https://leetcode.cn/problems/kth-largest-element-in-an-array| +|206. 反转链表|51|https://leetcode.cn/problems/reverse-linked-list| +|103. 二叉树的锯齿形层次遍历|47|https://leetcode.cn/problems/binary-tree-zigzag-level-order-traversal| +|15. 三数之和|42|https://leetcode.cn/problems/3sum| +|121. 买卖股票的最佳时机|41|https://leetcode.cn/problems/best-time-to-buy-and-sell-stock| +|160. 相交链表|32|https://leetcode.cn/problems/intersection-of-two-linked-lists| +|236. 二叉树的最近公共祖先|32|https://leetcode.cn/problems/lowest-common-ancestor-of-a-binary-tree| +|42. 接雨水|31|https://leetcode.cn/problems/trapping-rain-water| +|33. 搜索旋转排序数组|27|https://leetcode.cn/problems/search-in-rotated-sorted-array| +|31. 下一个排列|27|https://leetcode.cn/problems/next-permutation| +|199. 二叉树的右视图|24|https://leetcode.cn/problems/binary-tree-right-side-view| +|54. 螺旋矩阵|24|https://leetcode.cn/problems/spiral-matrix| +|143. 重排链表|24|https://leetcode.cn/problems/reorder-list| +|23. 合并K个排序链表|23|https://leetcode.cn/problems/merge-k-sorted-lists| +|21. 合并两个有序链表|22|https://leetcode.cn/problems/merge-two-sorted-lists| +|300. 最长上升子序列|21|https://leetcode.cn/problems/longest-increasing-subsequence| +|69. x 的平方根|20|https://leetcode.cn/problems/sqrtx| +|92. 反转链表 II|20|https://leetcode.cn/problems/reverse-linked-list-ii| +|105. 从前序与中序遍历序列构造二叉树|19|https://leetcode.cn/problems/construct-binary-tree-from-preorder-and-inorder-traversal| +|1. 两数之和|19|https://leetcode.cn/problems/two-sum| +|124. 二叉树中的最大路径和|18|https://leetcode.cn/problems/binary-tree-maximum-path-sum| +|200. 岛屿数量|18|https://leetcode.cn/problems/number-of-islands| +|41. 缺失的第一个正数|17|https://leetcode.cn/problems/first-missing-positive| +|101. 对称二叉树|16|https://leetcode.cn/problems/symmetric-tree| +|56. 合并区间|16|https://leetcode.cn/problems/merge-intervals| +|415. 字符串相加|16|https://leetcode.cn/problems/add-strings| +|155. 最小栈|16|https://leetcode.cn/problems/min-stack| +|46. 全排列|16|https://leetcode.cn/problems/permutations| +|76. 最小覆盖子串|16|https://leetcode.cn/problems/minimum-window-substring| |补充题1. 排序奇升偶降链表|16|https://mp.weixin.qq.com/s/0WVa2wIAeG0nYnVndZiEXQ| -|141. 环形链表|14|https://leetcode-cn.com/problems/linked-list-cycle| -|221. 最大正方形|14|https://leetcode-cn.com/problems/maximal-square| -|20. 有效的括号|14|https://leetcode-cn.com/problems/valid-parentheses| -|98. 验证二叉搜索树|14|https://leetcode-cn.com/problems/validate-binary-search-tree| -|39. 组合总和|14|https://leetcode-cn.com/problems/combination-sum| -|102. 二叉树的层序遍历|13|https://leetcode-cn.com/problems/binary-tree-level-order-traversal| -|53. 最大子序和|13|https://leetcode-cn.com/problems/maximum-subarray| -|322. 零钱兑换|13|https://leetcode-cn.com/problems/coin-change| -|162. 寻找峰值|13|https://leetcode-cn.com/problems/find-peak-element| -|122. 买卖股票的最佳时机 II|13|https://leetcode-cn.com/problems/best-time-to-buy-and-sell-stock-ii| -|142. 环形链表 II|13|https://leetcode-cn.com/problems/linked-list-cycle-ii| -|48. 旋转图像|13|https://leetcode-cn.com/problems/rotate-image| -|470. 用 Rand7() 实现 Rand10()|13|https://leetcode-cn.com/problems/implement-rand10-using-rand7| +|141. 环形链表|14|https://leetcode.cn/problems/linked-list-cycle| +|221. 最大正方形|14|https://leetcode.cn/problems/maximal-square| +|20. 有效的括号|14|https://leetcode.cn/problems/valid-parentheses| +|98. 验证二叉搜索树|14|https://leetcode.cn/problems/validate-binary-search-tree| +|39. 组合总和|14|https://leetcode.cn/problems/combination-sum| +|102. 二叉树的层序遍历|13|https://leetcode.cn/problems/binary-tree-level-order-traversal| +|53. 最大子序和|13|https://leetcode.cn/problems/maximum-subarray| +|322. 零钱兑换|13|https://leetcode.cn/problems/coin-change| +|162. 寻找峰值|13|https://leetcode.cn/problems/find-peak-element| +|122. 买卖股票的最佳时机 II|13|https://leetcode.cn/problems/best-time-to-buy-and-sell-stock-ii| +|142. 环形链表 II|13|https://leetcode.cn/problems/linked-list-cycle-ii| +|48. 旋转图像|13|https://leetcode.cn/problems/rotate-image| +|470. 用 Rand7() 实现 Rand10()|13|https://leetcode.cn/problems/implement-rand10-using-rand7| |补充题2. 圆环回原点问题|13|https://mp.weixin.qq.com/s/NZPaFsFrTybO3K3s7p7EVg| -|234. 回文链表|12|https://leetcode-cn.com/problems/palindrome-linked-list| -|518. 零钱兑换 II|12|https://leetcode-cn.com/problems/coin-change-2| -|88. 合并两个有序数组|12|https://leetcode-cn.com/problems/merge-sorted-array| -|2. 两数相加|12|https://leetcode-cn.com/problems/add-two-numbers| -|32. 最长有效括号|12|https://leetcode-cn.com/problems/longest-valid-parentheses| -|958. 二叉树的完全性检验|12|https://leetcode-cn.com/problems/check-completeness-of-a-binary-tree| -|148. 排序链表|12|https://leetcode-cn.com/problems/sort-list| -|198. 打家劫舍|12|https://leetcode-cn.com/problems/house-robber| -|232. 用栈实现队列|12|https://leetcode-cn.com/problems/implement-queue-using-stacks| -|补充题4. 手撕快速排序|12|https://leetcode-cn.com/problems/sort-an-array| -|113. 路径总和 II|11|https://leetcode-cn.com/problems/path-sum-ii| -|5. 最长回文子串|11|https://leetcode-cn.com/problems/longest-palindromic-substring| -|543. 二叉树的直径|10|https://leetcode-cn.com/problems/diameter-of-binary-tree| -|79. 单词搜索|10|https://leetcode-cn.com/problems/word-search| -|82. 删除排序链表中的重复元素 II|10|https://leetcode-cn.com/problems/remove-duplicates-from-sorted-list-ii| -|83. 删除排序链表中的重复元素|9|https://leetcode-cn.com/problems/remove-duplicates-from-sorted-list| -|128. 最长连续序列|9|https://leetcode-cn.com/problems/longest-consecutive-sequence| -|22. 括号生成|9|https://leetcode-cn.com/problems/generate-parentheses| -|94. 二叉树的中序遍历|9|https://leetcode-cn.com/problems/binary-tree-inorder-traversal| -|739. 每日温度|9|https://leetcode-cn.com/problems/daily-temperatures| -|78. 子集|9|https://leetcode-cn.com/problems/subsets| +|234. 回文链表|12|https://leetcode.cn/problems/palindrome-linked-list| +|518. 零钱兑换 II|12|https://leetcode.cn/problems/coin-change-2| +|88. 合并两个有序数组|12|https://leetcode.cn/problems/merge-sorted-array| +|2. 两数相加|12|https://leetcode.cn/problems/add-two-numbers| +|32. 最长有效括号|12|https://leetcode.cn/problems/longest-valid-parentheses| +|958. 二叉树的完全性检验|12|https://leetcode.cn/problems/check-completeness-of-a-binary-tree| +|148. 排序链表|12|https://leetcode.cn/problems/sort-list| +|198. 打家劫舍|12|https://leetcode.cn/problems/house-robber| +|232. 用栈实现队列|12|https://leetcode.cn/problems/implement-queue-using-stacks| +|补充题4. 手撕快速排序|12|https://leetcode.cn/problems/sort-an-array| +|113. 路径总和 II|11|https://leetcode.cn/problems/path-sum-ii| +|5. 最长回文子串|11|https://leetcode.cn/problems/longest-palindromic-substring| +|543. 二叉树的直径|10|https://leetcode.cn/problems/diameter-of-binary-tree| +|79. 单词搜索|10|https://leetcode.cn/problems/word-search| +|82. 删除排序链表中的重复元素 II|10|https://leetcode.cn/problems/remove-duplicates-from-sorted-list-ii| +|83. 删除排序链表中的重复元素|9|https://leetcode.cn/problems/remove-duplicates-from-sorted-list| +|128. 最长连续序列|9|https://leetcode.cn/problems/longest-consecutive-sequence| +|22. 括号生成|9|https://leetcode.cn/problems/generate-parentheses| +|94. 二叉树的中序遍历|9|https://leetcode.cn/problems/binary-tree-inorder-traversal| +|739. 每日温度|9|https://leetcode.cn/problems/daily-temperatures| +|78. 子集|9|https://leetcode.cn/problems/subsets| |补充题9. 36进制加法|9|https://mp.weixin.qq.com/s/XcKQwnwCh5nZsz-DLHJwzQ| -|剑指 Offer 54. 二叉搜索树的第k大节点|8|https://leetcode-cn.com/problems/er-cha-sou-suo-shu-de-di-kda-jie-dian-lcof| -|8. 字符串转换整数 (atoi)|8|https://leetcode-cn.com/problems/string-to-integer-atoi| -|24. 两两交换链表中的节点|8|https://leetcode-cn.com/problems/swap-nodes-in-pairs| -|114. 二叉树展开为链表|8|https://leetcode-cn.com/problems/flatten-binary-tree-to-linked-list| -|剑指 Offer 22. 链表中倒数第k个节点|8|https://leetcode-cn.com/problems/lian-biao-zhong-dao-shu-di-kge-jie-dian-lcof| -|93. 复原IP地址|8|https://leetcode-cn.com/problems/restore-ip-addresses| -|440. 字典序的第K小数字|8|https://leetcode-cn.com/problems/k-th-smallest-in-lexicographical-order| -|70. 爬楼梯|7|https://leetcode-cn.com/problems/climbing-stairs| -|112. 路径总和|7|https://leetcode-cn.com/problems/path-sum| -|695. 岛屿的最大面积|7|https://leetcode-cn.com/problems/max-area-of-island| -|138. 复制带随机指针的链表|7|https://leetcode-cn.com/problems/copy-list-with-random-pointer| -|19. 删除链表的倒数第N个节点|7|https://leetcode-cn.com/problems/remove-nth-node-from-end-of-list| -|129. 求根到叶子节点数字之和|7|https://leetcode-cn.com/problems/sum-root-to-leaf-numbers| -|662. 二叉树最大宽度|7|https://leetcode-cn.com/problems/maximum-width-of-binary-tree| -|240. 搜索二维矩阵 II|7|https://leetcode-cn.com/problems/search-a-2d-matrix-ii| -|556. 下一个更大元素 III|7|https://leetcode-cn.com/problems/next-greater-element-iii| -|230. 二叉搜索树中第K小的元素|6|https://leetcode-cn.com/problems/kth-smallest-element-in-a-bst| -|110. 平衡二叉树|6|https://leetcode-cn.com/problems/balanced-binary-tree| -|328. 奇偶链表|6|https://leetcode-cn.com/problems/odd-even-linked-list| -|460. LFU缓存|6|https://leetcode-cn.com/problems/lfu-cache| -|64. 最小路径和|6|https://leetcode-cn.com/problems/minimum-path-sum| -|61. 旋转链表|6|https://leetcode-cn.com/problems/rotate-list| -|188. 买卖股票的最佳时机 IV|6|https://leetcode-cn.com/problems/best-time-to-buy-and-sell-stock-iv| -|224. 基本计算器|6|https://leetcode-cn.com/problems/basic-calculator| -|剑指 Offer 36. 二叉搜索树与双向链表|6|https://leetcode-cn.com/problems/er-cha-sou-suo-shu-yu-shuang-xiang-lian-biao-lcof| -|226. 翻转二叉树|6|https://leetcode-cn.com/problems/invert-binary-tree| -|209. 长度最小的子数组|6|https://leetcode-cn.com/problems/minimum-size-subarray-sum| -|862. 和至少为 K 的最短子数组|6|https://leetcode-cn.com/problems/shortest-subarray-with-sum-at-least-k| -|11. 盛最多水的容器|6|https://leetcode-cn.com/problems/container-with-most-water| +|剑指 Offer 54. 二叉搜索树的第k大节点|8|https://leetcode.cn/problems/er-cha-sou-suo-shu-de-di-kda-jie-dian-lcof| +|8. 字符串转换整数 (atoi)|8|https://leetcode.cn/problems/string-to-integer-atoi| +|24. 两两交换链表中的节点|8|https://leetcode.cn/problems/swap-nodes-in-pairs| +|114. 二叉树展开为链表|8|https://leetcode.cn/problems/flatten-binary-tree-to-linked-list| +|剑指 Offer 22. 链表中倒数第k个节点|8|https://leetcode.cn/problems/lian-biao-zhong-dao-shu-di-kge-jie-dian-lcof| +|93. 复原IP地址|8|https://leetcode.cn/problems/restore-ip-addresses| +|440. 字典序的第K小数字|8|https://leetcode.cn/problems/k-th-smallest-in-lexicographical-order| +|70. 爬楼梯|7|https://leetcode.cn/problems/climbing-stairs| +|112. 路径总和|7|https://leetcode.cn/problems/path-sum| +|695. 岛屿的最大面积|7|https://leetcode.cn/problems/max-area-of-island| +|138. 复制带随机指针的链表|7|https://leetcode.cn/problems/copy-list-with-random-pointer| +|19. 删除链表的倒数第N个节点|7|https://leetcode.cn/problems/remove-nth-node-from-end-of-list| +|129. 求根到叶子节点数字之和|7|https://leetcode.cn/problems/sum-root-to-leaf-numbers| +|662. 二叉树最大宽度|7|https://leetcode.cn/problems/maximum-width-of-binary-tree| +|240. 搜索二维矩阵 II|7|https://leetcode.cn/problems/search-a-2d-matrix-ii| +|556. 下一个更大元素 III|7|https://leetcode.cn/problems/next-greater-element-iii| +|230. 二叉搜索树中第K小的元素|6|https://leetcode.cn/problems/kth-smallest-element-in-a-bst| +|110. 平衡二叉树|6|https://leetcode.cn/problems/balanced-binary-tree| +|328. 奇偶链表|6|https://leetcode.cn/problems/odd-even-linked-list| +|460. LFU缓存|6|https://leetcode.cn/problems/lfu-cache| +|64. 最小路径和|6|https://leetcode.cn/problems/minimum-path-sum| +|61. 旋转链表|6|https://leetcode.cn/problems/rotate-list| +|188. 买卖股票的最佳时机 IV|6|https://leetcode.cn/problems/best-time-to-buy-and-sell-stock-iv| +|224. 基本计算器|6|https://leetcode.cn/problems/basic-calculator| +|剑指 Offer 36. 二叉搜索树与双向链表|6|https://leetcode.cn/problems/er-cha-sou-suo-shu-yu-shuang-xiang-lian-biao-lcof| +|226. 翻转二叉树|6|https://leetcode.cn/problems/invert-binary-tree| +|209. 长度最小的子数组|6|https://leetcode.cn/problems/minimum-size-subarray-sum| +|862. 和至少为 K 的最短子数组|6|https://leetcode.cn/problems/shortest-subarray-with-sum-at-least-k| +|11. 盛最多水的容器|6|https://leetcode.cn/problems/container-with-most-water| |补充题7. 木头切割问题|6|https://mp.weixin.qq.com/s/FQma0bdAWbzLMmCKhZRk7w| |补充题23. 检测循环依赖|6|https://mp.weixin.qq.com/s/pCRscwKqQdYYN7M1Sia7xA| -|108. 将有序数组转换为二叉搜索树|5|https://leetcode-cn.com/problems/convert-sorted-array-to-binary-search-tree| -|1143. 最长公共子序列|5|https://leetcode-cn.com/problems/longest-common-subsequence| -|297. 二叉树的序列化与反序列化|5|https://leetcode-cn.com/problems/serialize-and-deserialize-binary-tree| -|560. 和为K的子数组|5|https://leetcode-cn.com/problems/subarray-sum-equals-k| -|704. 二分查找|5|https://leetcode-cn.com/problems/binary-search| -|670. 最大交换|5|https://leetcode-cn.com/problems/maximum-swap| -|421. 数组中两个数的最大异或值|5|https://leetcode-cn.com/problems/maximum-xor-of-two-numbers-in-an-array| -|104. 二叉树的最大深度|5|https://leetcode-cn.com/problems/maximum-depth-of-binary-tree| -|135. 分发糖果|5|https://leetcode-cn.com/problems/candy| -|151. 翻转字符串里的单词|5|https://leetcode-cn.com/problems/reverse-words-in-a-string| -|287. 寻找重复数|5|https://leetcode-cn.com/problems/find-the-duplicate-number| -|528. 按权重随机选择|5|https://leetcode-cn.com/problems/random-pick-with-weight| -|91. 解码方法|5|https://leetcode-cn.com/problems/decode-ways| -|59. 螺旋矩阵 II|5|https://leetcode-cn.com/problems/spiral-matrix-ii| -|718. 最长重复子数组|5|https://leetcode-cn.com/problems/maximum-length-of-repeated-subarray| -|139. 单词拆分|4|https://leetcode-cn.com/problems/word-break| -|剑指 Offer 11. 旋转数组的最小数字|4|https://leetcode-cn.com/problems/xuan-zhuan-shu-zu-de-zui-xiao-shu-zi-lcof| -|62. 不同路径|4|https://leetcode-cn.com/problems/unique-paths| -|剑指 Offer 51. 数组中的逆序对|4|https://leetcode-cn.com/problems/shu-zu-zhong-de-ni-xu-dui-lcof| -|40. 组合总和 II|4|https://leetcode-cn.com/problems/combination-sum-ii| -|1047. 删除字符串中的所有相邻重复项|4|https://leetcode-cn.com/problems/remove-all-adjacent-duplicates-in-string| -|402. 移掉K位数字|4|https://leetcode-cn.com/problems/remove-k-digits| -|169. 多数元素|4|https://leetcode-cn.com/problems/majority-element| -|152. 乘积最大子数组|4|https://leetcode-cn.com/problems/maximum-product-subarray| -|50. Pow(x, n)|4|https://leetcode-cn.com/problems/powx-n| -|4. 寻找两个正序数组的中位数|4|https://leetcode-cn.com/problems/median-of-two-sorted-arrays| -|456. 132模式|4|https://leetcode-cn.com/problems/132-pattern| -|239. 滑动窗口最大值|4|https://leetcode-cn.com/problems/sliding-window-maximum| -|722. 删除注释|4|https://leetcode-cn.com/problems/remove-comments| -|1095. 山脉数组中查找目标值|4|https://leetcode-cn.com/problems/find-in-mountain-array| -|72. 编辑距离|4|https://leetcode-cn.com/problems/edit-distance| -|153. 寻找旋转排序数组中的最小值|4|https://leetcode-cn.com/problems/find-minimum-in-rotated-sorted-array| +|108. 将有序数组转换为二叉搜索树|5|https://leetcode.cn/problems/convert-sorted-array-to-binary-search-tree| +|1143. 最长公共子序列|5|https://leetcode.cn/problems/longest-common-subsequence| +|297. 二叉树的序列化与反序列化|5|https://leetcode.cn/problems/serialize-and-deserialize-binary-tree| +|560. 和为K的子数组|5|https://leetcode.cn/problems/subarray-sum-equals-k| +|704. 二分查找|5|https://leetcode.cn/problems/binary-search| +|670. 最大交换|5|https://leetcode.cn/problems/maximum-swap| +|421. 数组中两个数的最大异或值|5|https://leetcode.cn/problems/maximum-xor-of-two-numbers-in-an-array| +|104. 二叉树的最大深度|5|https://leetcode.cn/problems/maximum-depth-of-binary-tree| +|135. 分发糖果|5|https://leetcode.cn/problems/candy| +|151. 翻转字符串里的单词|5|https://leetcode.cn/problems/reverse-words-in-a-string| +|287. 寻找重复数|5|https://leetcode.cn/problems/find-the-duplicate-number| +|528. 按权重随机选择|5|https://leetcode.cn/problems/random-pick-with-weight| +|91. 解码方法|5|https://leetcode.cn/problems/decode-ways| +|59. 螺旋矩阵 II|5|https://leetcode.cn/problems/spiral-matrix-ii| +|718. 最长重复子数组|5|https://leetcode.cn/problems/maximum-length-of-repeated-subarray| +|139. 单词拆分|4|https://leetcode.cn/problems/word-break| +|剑指 Offer 11. 旋转数组的最小数字|4|https://leetcode.cn/problems/xuan-zhuan-shu-zu-de-zui-xiao-shu-zi-lcof| +|62. 不同路径|4|https://leetcode.cn/problems/unique-paths| +|剑指 Offer 51. 数组中的逆序对|4|https://leetcode.cn/problems/shu-zu-zhong-de-ni-xu-dui-lcof| +|40. 组合总和 II|4|https://leetcode.cn/problems/combination-sum-ii| +|1047. 删除字符串中的所有相邻重复项|4|https://leetcode.cn/problems/remove-all-adjacent-duplicates-in-string| +|402. 移掉K位数字|4|https://leetcode.cn/problems/remove-k-digits| +|169. 多数元素|4|https://leetcode.cn/problems/majority-element| +|152. 乘积最大子数组|4|https://leetcode.cn/problems/maximum-product-subarray| +|50. Pow(x, n)|4|https://leetcode.cn/problems/powx-n| +|4. 寻找两个正序数组的中位数|4|https://leetcode.cn/problems/median-of-two-sorted-arrays| +|456. 132模式|4|https://leetcode.cn/problems/132-pattern| +|239. 滑动窗口最大值|4|https://leetcode.cn/problems/sliding-window-maximum| +|722. 删除注释|4|https://leetcode.cn/problems/remove-comments| +|1095. 山脉数组中查找目标值|4|https://leetcode.cn/problems/find-in-mountain-array| +|72. 编辑距离|4|https://leetcode.cn/problems/edit-distance| +|153. 寻找旋转排序数组中的最小值|4|https://leetcode.cn/problems/find-minimum-in-rotated-sorted-array| |补充题3. 求区间最小数乘区间和的最大值|4|https://mp.weixin.qq.com/s/UFv7pt_djjZoK_gzUBrRXA| -|补充题6. 手撕堆排序|4|https://leetcode-cn.com/problems/sort-an-array| -|227. 基本计算器 II|4|https://leetcode-cn.com/problems/basic-calculator-ii| -|763. 划分字母区间|4|https://leetcode-cn.com/problems/partition-labels| -|剑指 Offer 53 - I. 在排序数组中查找数字 I|4|https://leetcode-cn.com/problems/zai-pai-xu-shu-zu-zhong-cha-zhao-shu-zi-lcof| -|剑指 Offer 61. 扑克牌中的顺子|3|https://leetcode-cn.com/problems/bu-ke-pai-zhong-de-shun-zi-lcof| -|977. 有序数组的平方|3|https://leetcode-cn.com/problems/squares-of-a-sorted-array| -|剑指 Offer 09. 用两个栈实现队列|3|https://leetcode-cn.com/problems/yong-liang-ge-zhan-shi-xian-dui-lie-lcof| -|503. 下一个更大元素 II|3|https://leetcode-cn.com/problems/next-greater-element-ii| -|283. 移动零|3|https://leetcode-cn.com/problems/move-zeroes| -|166. 分数到小数|3|https://leetcode-cn.com/problems/fraction-to-recurring-decimal| -|264. 丑数 II|3|https://leetcode-cn.com/problems/ugly-number-ii| -|210. 课程表 II|3|https://leetcode-cn.com/problems/course-schedule-ii| -|394. 字符串解码|3|https://leetcode-cn.com/problems/decode-string| -|145. 二叉树的后序遍历|3|https://leetcode-cn.com/problems/binary-tree-postorder-traversal| -|71. 简化路径|3|https://leetcode-cn.com/problems/simplify-path| -|134. 加油站|3|https://leetcode-cn.com/problems/gas-station| -|340. 至多包含 K 个不同字符的最长子串|3|https://leetcode-cn.com/problems/longest-substring-with-at-most-k-distinct-characters| -|86. 分隔链表|3|https://leetcode-cn.com/problems/partition-list| -|329. 矩阵中的最长递增路径|3|https://leetcode-cn.com/problems/longest-increasing-path-in-a-matrix| -|144. 二叉树的前序遍历|3|https://leetcode-cn.com/problems/binary-tree-preorder-traversal| -|10. 正则表达式匹配|3|https://leetcode-cn.com/problems/regular-expression-matching| -|剑指 Offer 46. 把数字翻译成字符串|3|https://leetcode-cn.com/problems/ba-shu-zi-fan-yi-cheng-zi-fu-chuan-lcof| -|136. 只出现一次的数字|3|https://leetcode-cn.com/problems/single-number| -|18. 四数之和|3|https://leetcode-cn.com/problems/4sum| -|剑指 Offer 27. 二叉树的镜像|3|https://leetcode-cn.com/problems/er-cha-shu-de-jing-xiang-lcof| -|225. 用队列实现栈|3|https://leetcode-cn.com/problems/implement-stack-using-queues| -|647. 回文子串|3|https://leetcode-cn.com/problems/palindromic-substrings| -|34. 在排序数组中查找元素的第一个和最后一个位置|3|https://leetcode-cn.com/problems/find-first-and-last-position-of-element-in-sorted-array| -|165. 比较版本号|3|https://leetcode-cn.com/problems/compare-version-numbers| -|887. 鸡蛋掉落|3|https://leetcode-cn.com/problems/super-egg-drop| -|106. 从中序与后序遍历序列构造二叉树|3|https://leetcode-cn.com/problems/construct-binary-tree-from-inorder-and-postorder-traversal| -|498. 对角线遍历|3|https://leetcode-cn.com/problems/diagonal-traverse| -|354. 俄罗斯套娃信封问题|3|https://leetcode-cn.com/problems/russian-doll-envelopes| -|767. 重构字符串|3|https://leetcode-cn.com/problems/reorganize-string| -|1254. 统计封闭岛屿的数目|2|https://leetcode-cn.com/problems/number-of-closed-islands| -|347. 前 K 个高频元素|2|https://leetcode-cn.com/problems/top-k-frequent-elements| -|剑指 Offer 10- II. 青蛙跳台阶问题|2|https://leetcode-cn.com/problems/qing-wa-tiao-tai-jie-wen-ti-lcof| -|剑指 Offer 45. 把数组排成最小的数|2|https://leetcode-cn.com/problems/ba-shu-zu-pai-cheng-zui-xiao-de-shu-lcof| -|99. 恢复二叉搜索树|2|https://leetcode-cn.com/problems/recover-binary-search-tree| -|125. 验证回文串|2|https://leetcode-cn.com/problems/valid-palindrome| -|剑指 Offer 21. 调整数组顺序使奇数位于偶数前面|2|https://leetcode-cn.com/problems/diao-zheng-shu-zu-shun-xu-shi-qi-shu-wei-yu-ou-shu-qian-mian-lcof| -|523. 连续的子数组和|2|https://leetcode-cn.com/problems/continuous-subarray-sum| -|剑指 Offer 48. 最长不含重复字符的子字符串|2|https://leetcode-cn.com/problems/zui-chang-bu-han-zhong-fu-zi-fu-de-zi-zi-fu-chuan-lcof| -|剑指 Offer 04. 二维数组中的查找|2|https://leetcode-cn.com/problems/er-wei-shu-zu-zhong-de-cha-zhao-lcof| +|补充题6. 手撕堆排序|4|https://leetcode.cn/problems/sort-an-array| +|227. 基本计算器 II|4|https://leetcode.cn/problems/basic-calculator-ii| +|763. 划分字母区间|4|https://leetcode.cn/problems/partition-labels| +|剑指 Offer 53 - I. 在排序数组中查找数字 I|4|https://leetcode.cn/problems/zai-pai-xu-shu-zu-zhong-cha-zhao-shu-zi-lcof| +|剑指 Offer 61. 扑克牌中的顺子|3|https://leetcode.cn/problems/bu-ke-pai-zhong-de-shun-zi-lcof| +|977. 有序数组的平方|3|https://leetcode.cn/problems/squares-of-a-sorted-array| +|剑指 Offer 09. 用两个栈实现队列|3|https://leetcode.cn/problems/yong-liang-ge-zhan-shi-xian-dui-lie-lcof| +|503. 下一个更大元素 II|3|https://leetcode.cn/problems/next-greater-element-ii| +|283. 移动零|3|https://leetcode.cn/problems/move-zeroes| +|166. 分数到小数|3|https://leetcode.cn/problems/fraction-to-recurring-decimal| +|264. 丑数 II|3|https://leetcode.cn/problems/ugly-number-ii| +|210. 课程表 II|3|https://leetcode.cn/problems/course-schedule-ii| +|394. 字符串解码|3|https://leetcode.cn/problems/decode-string| +|145. 二叉树的后序遍历|3|https://leetcode.cn/problems/binary-tree-postorder-traversal| +|71. 简化路径|3|https://leetcode.cn/problems/simplify-path| +|134. 加油站|3|https://leetcode.cn/problems/gas-station| +|340. 至多包含 K 个不同字符的最长子串|3|https://leetcode.cn/problems/longest-substring-with-at-most-k-distinct-characters| +|86. 分隔链表|3|https://leetcode.cn/problems/partition-list| +|329. 矩阵中的最长递增路径|3|https://leetcode.cn/problems/longest-increasing-path-in-a-matrix| +|144. 二叉树的前序遍历|3|https://leetcode.cn/problems/binary-tree-preorder-traversal| +|10. 正则表达式匹配|3|https://leetcode.cn/problems/regular-expression-matching| +|剑指 Offer 46. 把数字翻译成字符串|3|https://leetcode.cn/problems/ba-shu-zi-fan-yi-cheng-zi-fu-chuan-lcof| +|136. 只出现一次的数字|3|https://leetcode.cn/problems/single-number| +|18. 四数之和|3|https://leetcode.cn/problems/4sum| +|剑指 Offer 27. 二叉树的镜像|3|https://leetcode.cn/problems/er-cha-shu-de-jing-xiang-lcof| +|225. 用队列实现栈|3|https://leetcode.cn/problems/implement-stack-using-queues| +|647. 回文子串|3|https://leetcode.cn/problems/palindromic-substrings| +|34. 在排序数组中查找元素的第一个和最后一个位置|3|https://leetcode.cn/problems/find-first-and-last-position-of-element-in-sorted-array| +|165. 比较版本号|3|https://leetcode.cn/problems/compare-version-numbers| +|887. 鸡蛋掉落|3|https://leetcode.cn/problems/super-egg-drop| +|106. 从中序与后序遍历序列构造二叉树|3|https://leetcode.cn/problems/construct-binary-tree-from-inorder-and-postorder-traversal| +|498. 对角线遍历|3|https://leetcode.cn/problems/diagonal-traverse| +|354. 俄罗斯套娃信封问题|3|https://leetcode.cn/problems/russian-doll-envelopes| +|767. 重构字符串|3|https://leetcode.cn/problems/reorganize-string| +|1254. 统计封闭岛屿的数目|2|https://leetcode.cn/problems/number-of-closed-islands| +|347. 前 K 个高频元素|2|https://leetcode.cn/problems/top-k-frequent-elements| +|剑指 Offer 10- II. 青蛙跳台阶问题|2|https://leetcode.cn/problems/qing-wa-tiao-tai-jie-wen-ti-lcof| +|剑指 Offer 45. 把数组排成最小的数|2|https://leetcode.cn/problems/ba-shu-zu-pai-cheng-zui-xiao-de-shu-lcof| +|99. 恢复二叉搜索树|2|https://leetcode.cn/problems/recover-binary-search-tree| +|125. 验证回文串|2|https://leetcode.cn/problems/valid-palindrome| +|剑指 Offer 21. 调整数组顺序使奇数位于偶数前面|2|https://leetcode.cn/problems/diao-zheng-shu-zu-shun-xu-shi-qi-shu-wei-yu-ou-shu-qian-mian-lcof| +|523. 连续的子数组和|2|https://leetcode.cn/problems/continuous-subarray-sum| +|剑指 Offer 48. 最长不含重复字符的子字符串|2|https://leetcode.cn/problems/zui-chang-bu-han-zhong-fu-zi-fu-de-zi-zi-fu-chuan-lcof| +|剑指 Offer 04. 二维数组中的查找|2|https://leetcode.cn/problems/er-wei-shu-zu-zhong-de-cha-zhao-lcof| |补充题24. 双栈排序|2|https://mp.weixin.qq.com/s/g_AqwsSEUwlRSevnStPkEA| -|208. 实现 Trie (前缀树)|2|https://leetcode-cn.com/problems/implement-trie-prefix-tree| -|剑指 Offer 19. 正则表达式匹配|2|https://leetcode-cn.com/problems/zheng-ze-biao-da-shi-pi-pei-lcof| -|895. 最大频率栈|2|https://leetcode-cn.com/problems/maximum-frequency-stack| -|398. 随机数索引|2|https://leetcode-cn.com/problems/random-pick-index| -|45. 跳跃游戏 II|2|https://leetcode-cn.com/problems/jump-game-ii| -|416. 分割等和子集|2|https://leetcode-cn.com/problems/partition-equal-subset-sum| -|668. 乘法表中第k小的数|2|https://leetcode-cn.com/problems/kth-smallest-number-in-multiplication-table| -|120. 三角形最小路径和|2|https://leetcode-cn.com/problems/triangle| -|123. 买卖股票的最佳时机 III|2|https://leetcode-cn.com/problems/best-time-to-buy-and-sell-stock-iii| -|154. 寻找旋转排序数组中的最小值 II|2|https://leetcode-cn.com/problems/find-minimum-in-rotated-sorted-array-ii| -|147. 对链表进行插入排序|2|https://leetcode-cn.com/problems/insertion-sort-list| -|785. 判断二分图|2|https://leetcode-cn.com/problems/is-graph-bipartite| -|468. 验证IP地址|2|https://leetcode-cn.com/problems/validate-ip-address| -|295. 数据流的中位数|2|https://leetcode-cn.com/problems/find-median-from-data-stream| -|404. 左叶子之和|2|https://leetcode-cn.com/problems/sum-of-left-leaves| -|84. 柱状图中最大的矩形|2|https://leetcode-cn.com/problems/largest-rectangle-in-histogram| -|43. 字符串相乘|2|https://leetcode-cn.com/problems/multiply-strings| -|14. 最长公共前缀|2|https://leetcode-cn.com/problems/longest-common-prefix| -|974. 和可被 K 整除的子数组|2|https://leetcode-cn.com/problems/subarray-sums-divisible-by-k| -|922. 按奇偶排序数组 II|2|https://leetcode-cn.com/problems/sort-array-by-parity-ii| -|75. 颜色分类|2|https://leetcode-cn.com/problems/sort-colors| -|191. 位1的个数|2|https://leetcode-cn.com/problems/number-of-1-bits| -|60. 第k个排列|2|https://leetcode-cn.com/problems/permutation-sequence| +|208. 实现 Trie (前缀树)|2|https://leetcode.cn/problems/implement-trie-prefix-tree| +|剑指 Offer 19. 正则表达式匹配|2|https://leetcode.cn/problems/zheng-ze-biao-da-shi-pi-pei-lcof| +|895. 最大频率栈|2|https://leetcode.cn/problems/maximum-frequency-stack| +|398. 随机数索引|2|https://leetcode.cn/problems/random-pick-index| +|45. 跳跃游戏 II|2|https://leetcode.cn/problems/jump-game-ii| +|416. 分割等和子集|2|https://leetcode.cn/problems/partition-equal-subset-sum| +|668. 乘法表中第k小的数|2|https://leetcode.cn/problems/kth-smallest-number-in-multiplication-table| +|120. 三角形最小路径和|2|https://leetcode.cn/problems/triangle| +|123. 买卖股票的最佳时机 III|2|https://leetcode.cn/problems/best-time-to-buy-and-sell-stock-iii| +|154. 寻找旋转排序数组中的最小值 II|2|https://leetcode.cn/problems/find-minimum-in-rotated-sorted-array-ii| +|147. 对链表进行插入排序|2|https://leetcode.cn/problems/insertion-sort-list| +|785. 判断二分图|2|https://leetcode.cn/problems/is-graph-bipartite| +|468. 验证IP地址|2|https://leetcode.cn/problems/validate-ip-address| +|295. 数据流的中位数|2|https://leetcode.cn/problems/find-median-from-data-stream| +|404. 左叶子之和|2|https://leetcode.cn/problems/sum-of-left-leaves| +|84. 柱状图中最大的矩形|2|https://leetcode.cn/problems/largest-rectangle-in-histogram| +|43. 字符串相乘|2|https://leetcode.cn/problems/multiply-strings| +|14. 最长公共前缀|2|https://leetcode.cn/problems/longest-common-prefix| +|974. 和可被 K 整除的子数组|2|https://leetcode.cn/problems/subarray-sums-divisible-by-k| +|922. 按奇偶排序数组 II|2|https://leetcode.cn/problems/sort-array-by-parity-ii| +|75. 颜色分类|2|https://leetcode.cn/problems/sort-colors| +|191. 位1的个数|2|https://leetcode.cn/problems/number-of-1-bits| +|60. 第k个排列|2|https://leetcode.cn/problems/permutation-sequence| |补充题10. 36进制减法|2|https://mp.weixin.qq.com/s/ub9GpTBjDF55hZld3V2rEA| -|补充题5. 手撕归并排序|2|https://leetcode-cn.com/problems/sort-an-array| -|189. 旋转数组|2|https://leetcode-cn.com/problems/rotate-array| -|74. 搜索二维矩阵|2|https://leetcode-cn.com/problems/search-a-2d-matrix| +|补充题5. 手撕归并排序|2|https://leetcode.cn/problems/sort-an-array| +|189. 旋转数组|2|https://leetcode.cn/problems/rotate-array| +|74. 搜索二维矩阵|2|https://leetcode.cn/problems/search-a-2d-matrix| |补充题14. 阿拉伯数字转中文数字|2|| -|剑指 Offer 03. 数组中重复的数字|2|https://leetcode-cn.com/problems/shu-zu-zhong-zhong-fu-de-shu-zi-lcof| -|253. 会议室 II|2|https://leetcode-cn.com/problems/meeting-rooms-ii| -|7. 整数反转|2|https://leetcode-cn.com/problems/reverse-integer| -|47. 全排列 II|2|https://leetcode-cn.com/problems/permutations-ii| -|85. 最大矩形|2|https://leetcode-cn.com/problems/maximal-rectangle| -|81. 搜索旋转排序数组 II|2|https://leetcode-cn.com/problems/search-in-rotated-sorted-array-ii| -|44. 通配符匹配|2|https://leetcode-cn.com/problems/wildcard-matching| -|703. 数据流中的第K大元素|2|https://leetcode-cn.com/problems/kth-largest-element-in-a-stream| -|443. 压缩字符串|2|https://leetcode-cn.com/problems/string-compression| -|381. O(1) 时间插入、删除和获取随机元素 - 允许重复|2|https://leetcode-cn.com/problems/insert-delete-getrandom-o1-duplicates-allowed| +|剑指 Offer 03. 数组中重复的数字|2|https://leetcode.cn/problems/shu-zu-zhong-zhong-fu-de-shu-zi-lcof| +|253. 会议室 II|2|https://leetcode.cn/problems/meeting-rooms-ii| +|7. 整数反转|2|https://leetcode.cn/problems/reverse-integer| +|47. 全排列 II|2|https://leetcode.cn/problems/permutations-ii| +|85. 最大矩形|2|https://leetcode.cn/problems/maximal-rectangle| +|81. 搜索旋转排序数组 II|2|https://leetcode.cn/problems/search-in-rotated-sorted-array-ii| +|44. 通配符匹配|2|https://leetcode.cn/problems/wildcard-matching| +|703. 数据流中的第K大元素|2|https://leetcode.cn/problems/kth-largest-element-in-a-stream| +|443. 压缩字符串|2|https://leetcode.cn/problems/string-compression| +|381. O(1) 时间插入、删除和获取随机元素 - 允许重复|2|https://leetcode.cn/problems/insert-delete-getrandom-o1-duplicates-allowed| |补充题20. 立方根|2|| -|395. 至少有K个重复字符的最长子串|2|https://leetcode-cn.com/problems/longest-substring-with-at-least-k-repeating-characters| -|剑指 Offer 52. 两个链表的第一个公共节点|1|https://leetcode-cn.com/problems/liang-ge-lian-biao-de-di-yi-ge-gong-gong-jie-dian-lcof| -|111. 二叉树的最小深度|1|https://leetcode-cn.com/problems/minimum-depth-of-binary-tree| -|994. 腐烂的橘子|1|https://leetcode-cn.com/problems/rotting-oranges| -|344. 反转字符串|1|https://leetcode-cn.com/problems/reverse-string| -|1299. 将每个元素替换为右侧最大元素|1|https://leetcode-cn.com/problems/replace-elements-with-greatest-element-on-right-side| -|67. 二进制求和|1|https://leetcode-cn.com/problems/add-binary| -|515. 在每个树行中找最大值|1|https://leetcode-cn.com/problems/find-largest-value-in-each-tree-row| -|1147. 段式回文|1|https://leetcode-cn.com/problems/longest-chunked-palindrome-decomposition| -|876. 链表的中间结点|1|https://leetcode-cn.com/problems/middle-of-the-linked-list| -|100. 相同的树|1|https://leetcode-cn.com/problems/same-tree| -|842. 将数组拆分成斐波那契序列|1|https://leetcode-cn.com/problems/split-array-into-fibonacci-sequence| -|剑指 Offer 33. 二叉搜索树的后序遍历序列|1|https://leetcode-cn.com/problems/er-cha-sou-suo-shu-de-hou-xu-bian-li-xu-lie-lcof| -|剑指 Offer 38. 字符串的排列|1|https://leetcode-cn.com/problems/zi-fu-chuan-de-pai-lie-lcof| -|剑指 Offer 24. 反转链表|1|https://leetcode-cn.com/problems/fan-zhuan-lian-biao-lcof| -|剑指 Offer 53 - II. 0~n-1中缺失的数字|1|https://leetcode-cn.com/problems/que-shi-de-shu-zi-lcof| -|701. 二叉搜索树中的插入操作|1|https://leetcode-cn.com/problems/insert-into-a-binary-search-tree| -|349. 两个数组的交集|1|https://leetcode-cn.com/problems/intersection-of-two-arrays| -|1156. 单字符重复子串的最大长度|1|https://leetcode-cn.com/problems/swap-for-longest-repeated-character-substring| -|449. 序列化和反序列化二叉搜索树|1|https://leetcode-cn.com/problems/serialize-and-deserialize-bst| -|面试题 08.12. 八皇后|1|https://leetcode-cn.com/problems/eight-queens-lcci| -|37. 解数独|1|https://leetcode-cn.com/problems/sudoku-solver| -|410. 分割数组的最大值|1|https://leetcode-cn.com/problems/split-array-largest-sum| -|694. 不同岛屿的数量|1|https://leetcode-cn.com/problems/number-of-distinct-islands| -|剑指 Offer 18. 删除链表的节点|1|https://leetcode-cn.com/problems/shan-chu-lian-biao-de-jie-dian-lcof| -|912. 排序数组|1|https://leetcode-cn.com/problems/sort-an-array| -|173. 二叉搜索树迭代器|1|https://leetcode-cn.com/problems/binary-search-tree-iterator| -|1139. 最大的以 1 为边界的正方形|1|https://leetcode-cn.com/problems/largest-1-bordered-square| -|剑指 Offer 25. 合并两个排序的链表|1|https://leetcode-cn.com/problems/he-bing-liang-ge-pai-xu-de-lian-biao-lcof| -|325. 和等于 k 的最长子数组长度|1|https://leetcode-cn.com/problems/maximum-size-subarray-sum-equals-k| -|1363. 形成三的最大倍数|1|https://leetcode-cn.com/problems/largest-multiple-of-three| -|951. 翻转等价二叉树|1|https://leetcode-cn.com/problems/flip-equivalent-binary-trees| -|107. 二叉树的层次遍历 II|1|https://leetcode-cn.com/problems/binary-tree-level-order-traversal-ii| -|637. 二叉树的层平均值|1|https://leetcode-cn.com/problems/average-of-levels-in-binary-tree| -|277. 搜寻名人|1|https://leetcode-cn.com/problems/find-the-celebrity| -|321. 拼接最大数|1|https://leetcode-cn.com/problems/create-maximum-number| -|525. 连续数组|1|https://leetcode-cn.com/problems/contiguous-array| -|剑指 Offer 58 - II. 左旋转字符串|1|https://leetcode-cn.com/problems/zuo-xuan-zhuan-zi-fu-chuan-lcof| -|97. 交错字符串|1|https://leetcode-cn.com/problems/interleaving-string| -|204. 计数质数|1|https://leetcode-cn.com/problems/count-primes| -|202. 快乐数|1|https://leetcode-cn.com/problems/happy-number| -|1669. 合并两个链表|1|https://leetcode-cn.com/problems/merge-in-between-linked-lists| -|807. 保持城市天际线|1|https://leetcode-cn.com/problems/max-increase-to-keep-city-skyline| -|889. 根据前序和后序遍历构造二叉树|1|https://leetcode-cn.com/problems/construct-binary-tree-from-preorder-and-postorder-traversal| -|剑指 Offer 05. 替换空格|1|https://leetcode-cn.com/problems/ti-huan-kong-ge-lcof| -|279. 完全平方数|1|https://leetcode-cn.com/problems/perfect-squares| -|17. 电话号码的字母组合|1|https://leetcode-cn.com/problems/letter-combinations-of-a-phone-number| -|459. 重复的子字符串|1|https://leetcode-cn.com/problems/repeated-substring-pattern| -|剑指 Offer 59 - II. 队列的最大值|1|https://leetcode-cn.com/problems/dui-lie-de-zui-da-zhi-lcof| -|260. 只出现一次的数字 III|1|https://leetcode-cn.com/problems/single-number-iii| -|1438. 绝对差不超过限制的最长连续子数组|1|https://leetcode-cn.com/problems/longest-continuous-subarray-with-absolute-diff-less-than-or-equal-to-limit| -|剑指 Offer 62. 圆圈中最后剩下的数字|1|https://leetcode-cn.com/problems/yuan-quan-zhong-zui-hou-sheng-xia-de-shu-zi-lcof| -|836. 矩形重叠|1|https://leetcode-cn.com/problems/rectangle-overlap| -|1172. 餐盘栈|1|https://leetcode-cn.com/problems/dinner-plate-stacks| -|547. 省份数量(原朋友圈)|1|https://leetcode-cn.com/problems/number-of-provinces| -|面试题 17.24. 最大子矩阵|1|https://leetcode-cn.com/problems/max-submatrix-lcci| -|1302. 层数最深叶子节点的和|1|https://leetcode-cn.com/problems/deepest-leaves-sum| -|448. 找到所有数组中消失的数字|1|https://leetcode-cn.com/problems/find-all-numbers-disappeared-in-an-array| -|127. 单词接龙|1|https://leetcode-cn.com/problems/word-ladder| -|剑指 Offer 55 - II. 平衡二叉树|1|https://leetcode-cn.com/problems/ping-heng-er-cha-shu-lcof| -|剑指 Offer 55 - I. 二叉树的深度|1|https://leetcode-cn.com/problems/er-cha-shu-de-shen-du-lcof| -|面试题 08.05. 递归乘法|1|https://leetcode-cn.com/problems/recursive-mulitply-lcci| -|179. 最大数|1|https://leetcode-cn.com/problems/largest-number| -|1107. 每日新用户统计|1|https://leetcode-cn.com/problems/new-users-daily-count| -|剑指 Offer 10- I. 斐波那契数列|1|https://leetcode-cn.com/problems/fei-bo-na-qi-shu-lie-lcof| -|63. 不同路径 II|1|https://leetcode-cn.com/problems/unique-paths-ii| -|397. 整数替换|1|https://leetcode-cn.com/problems/integer-replacement| -|564. 寻找最近的回文数|1|https://leetcode-cn.com/problems/find-the-closest-palindrome| -|765. 情侣牵手|1|https://leetcode-cn.com/problems/couples-holding-hands| -|80. 删除排序数组中的重复项 II|1|https://leetcode-cn.com/problems/remove-duplicates-from-sorted-array-ii| -|77. 组合|1|https://leetcode-cn.com/problems/combinations| -|378. 有序矩阵中第K小的元素|1|https://leetcode-cn.com/problems/kth-smallest-element-in-a-sorted-matrix| -|384. 打乱数组|1|https://leetcode-cn.com/problems/shuffle-an-array| -|剑指 Offer 56 - I. 数组中数字出现的次数|1|https://leetcode-cn.com/problems/shu-zu-zhong-shu-zi-chu-xian-de-ci-shu-lcof| -|28. 实现 strStr()|1|https://leetcode-cn.com/problems/implement-strstr| -|剑指 Offer 32 - III. 从上到下打印二叉树 III|1|https://leetcode-cn.com/problems/cong-shang-dao-xia-da-yin-er-cha-shu-iii-lcof| -|207. 课程表|1|https://leetcode-cn.com/problems/course-schedule| -|386. 字典序排数|1|https://leetcode-cn.com/problems/lexicographical-numbers| -|面试题 03.03. 堆盘子|1|https://leetcode-cn.com/problems/stack-of-plates-lcci| -|331. 验证二叉树的前序序列化|1|https://leetcode-cn.com/problems/verify-preorder-serialization-of-a-binary-tree| -|剑指 Offer 28. 对称的二叉树|1|https://leetcode-cn.com/problems/dui-cheng-de-er-cha-shu-lcof| -|剑指 Offer 68 - II. 二叉树的最近公共祖先|1|https://leetcode-cn.com/problems/er-cha-shu-de-zui-jin-gong-gong-zu-xian-lcof| -|848. 字母移位|1|https://leetcode-cn.com/problems/shifting-letters| -|6. Z 字形变换|1|https://leetcode-cn.com/problems/zigzag-conversion| -|990. 等式方程的可满足性|1|https://leetcode-cn.com/problems/satisfiability-of-equality-equations| -|567. 字符串的排列|1|https://leetcode-cn.com/problems/permutation-in-string| -|496. 下一个更大元素 I|1|https://leetcode-cn.com/problems/next-greater-element-i| -|967. 连续差相同的数字|1|https://leetcode-cn.com/problems/numbers-with-same-consecutive-differences| -|1405. 最长快乐字符串|1|https://leetcode-cn.com/problems/longest-happy-string| -|1353. 最多可以参加的会议数目|1|https://leetcode-cn.com/problems/maximum-number-of-events-that-can-be-attended| -|1574. 删除最短的子数组使剩余数组有序|1|https://leetcode-cn.com/problems/shortest-subarray-to-be-removed-to-make-array-sorted| -|949. 给定数字能组成的最大时间|1|https://leetcode-cn.com/problems/largest-time-for-given-digits| -|剑指 Offer 31. 栈的压入、弹出序列|1|https://leetcode-cn.com/problems/zhan-de-ya-ru-dan-chu-xu-lie-lcof| -|213. 打家劫舍 II|1|https://leetcode-cn.com/problems/house-robber-ii| -|剑指 Offer 40. 最小的k个数|1|https://leetcode-cn.com/problems/zui-xiao-de-kge-shu-lcof| -|1475. 商品折扣后的最终价格|1|https://leetcode-cn.com/problems/final-prices-with-a-special-discount-in-a-shop| -|剑指 Offer 43. 1~n整数中1出现的次数|1|https://leetcode-cn.com/problems/1nzheng-shu-zhong-1chu-xian-de-ci-shu-lcof| -|706. 设计哈希映射|1|https://leetcode-cn.com/problems/design-hashmap| -|252. 会议室|1|https://leetcode-cn.com/problems/meeting-rooms| -|剑指 Offer 63. 股票的最大利润|1|https://leetcode-cn.com/problems/gu-piao-de-zui-da-li-run-lcof| -|680. 验证回文字符串 Ⅱ|1|https://leetcode-cn.com/problems/valid-palindrome-ii| -|341. 扁平化嵌套列表迭代器|1|https://leetcode-cn.com/problems/flatten-nested-list-iterator| -|140. 单词拆分 II|1|https://leetcode-cn.com/problems/word-break-ii| -|716. 最大栈|1|https://leetcode-cn.com/problems/max-stack| -|214. 最短回文串|1|https://leetcode-cn.com/problems/shortest-palindrome| -|633. 平方数之和|1|https://leetcode-cn.com/problems/sum-of-square-numbers| +|395. 至少有K个重复字符的最长子串|2|https://leetcode.cn/problems/longest-substring-with-at-least-k-repeating-characters| +|剑指 Offer 52. 两个链表的第一个公共节点|1|https://leetcode.cn/problems/liang-ge-lian-biao-de-di-yi-ge-gong-gong-jie-dian-lcof| +|111. 二叉树的最小深度|1|https://leetcode.cn/problems/minimum-depth-of-binary-tree| +|994. 腐烂的橘子|1|https://leetcode.cn/problems/rotting-oranges| +|344. 反转字符串|1|https://leetcode.cn/problems/reverse-string| +|1299. 将每个元素替换为右侧最大元素|1|https://leetcode.cn/problems/replace-elements-with-greatest-element-on-right-side| +|67. 二进制求和|1|https://leetcode.cn/problems/add-binary| +|515. 在每个树行中找最大值|1|https://leetcode.cn/problems/find-largest-value-in-each-tree-row| +|1147. 段式回文|1|https://leetcode.cn/problems/longest-chunked-palindrome-decomposition| +|876. 链表的中间结点|1|https://leetcode.cn/problems/middle-of-the-linked-list| +|100. 相同的树|1|https://leetcode.cn/problems/same-tree| +|842. 将数组拆分成斐波那契序列|1|https://leetcode.cn/problems/split-array-into-fibonacci-sequence| +|剑指 Offer 33. 二叉搜索树的后序遍历序列|1|https://leetcode.cn/problems/er-cha-sou-suo-shu-de-hou-xu-bian-li-xu-lie-lcof| +|剑指 Offer 38. 字符串的排列|1|https://leetcode.cn/problems/zi-fu-chuan-de-pai-lie-lcof| +|剑指 Offer 24. 反转链表|1|https://leetcode.cn/problems/fan-zhuan-lian-biao-lcof| +|剑指 Offer 53 - II. 0~n-1中缺失的数字|1|https://leetcode.cn/problems/que-shi-de-shu-zi-lcof| +|701. 二叉搜索树中的插入操作|1|https://leetcode.cn/problems/insert-into-a-binary-search-tree| +|349. 两个数组的交集|1|https://leetcode.cn/problems/intersection-of-two-arrays| +|1156. 单字符重复子串的最大长度|1|https://leetcode.cn/problems/swap-for-longest-repeated-character-substring| +|449. 序列化和反序列化二叉搜索树|1|https://leetcode.cn/problems/serialize-and-deserialize-bst| +|面试题 08.12. 八皇后|1|https://leetcode.cn/problems/eight-queens-lcci| +|37. 解数独|1|https://leetcode.cn/problems/sudoku-solver| +|410. 分割数组的最大值|1|https://leetcode.cn/problems/split-array-largest-sum| +|694. 不同岛屿的数量|1|https://leetcode.cn/problems/number-of-distinct-islands| +|剑指 Offer 18. 删除链表的节点|1|https://leetcode.cn/problems/shan-chu-lian-biao-de-jie-dian-lcof| +|912. 排序数组|1|https://leetcode.cn/problems/sort-an-array| +|173. 二叉搜索树迭代器|1|https://leetcode.cn/problems/binary-search-tree-iterator| +|1139. 最大的以 1 为边界的正方形|1|https://leetcode.cn/problems/largest-1-bordered-square| +|剑指 Offer 25. 合并两个排序的链表|1|https://leetcode.cn/problems/he-bing-liang-ge-pai-xu-de-lian-biao-lcof| +|325. 和等于 k 的最长子数组长度|1|https://leetcode.cn/problems/maximum-size-subarray-sum-equals-k| +|1363. 形成三的最大倍数|1|https://leetcode.cn/problems/largest-multiple-of-three| +|951. 翻转等价二叉树|1|https://leetcode.cn/problems/flip-equivalent-binary-trees| +|107. 二叉树的层次遍历 II|1|https://leetcode.cn/problems/binary-tree-level-order-traversal-ii| +|637. 二叉树的层平均值|1|https://leetcode.cn/problems/average-of-levels-in-binary-tree| +|277. 搜寻名人|1|https://leetcode.cn/problems/find-the-celebrity| +|321. 拼接最大数|1|https://leetcode.cn/problems/create-maximum-number| +|525. 连续数组|1|https://leetcode.cn/problems/contiguous-array| +|剑指 Offer 58 - II. 左旋转字符串|1|https://leetcode.cn/problems/zuo-xuan-zhuan-zi-fu-chuan-lcof| +|97. 交错字符串|1|https://leetcode.cn/problems/interleaving-string| +|204. 计数质数|1|https://leetcode.cn/problems/count-primes| +|202. 快乐数|1|https://leetcode.cn/problems/happy-number| +|1669. 合并两个链表|1|https://leetcode.cn/problems/merge-in-between-linked-lists| +|807. 保持城市天际线|1|https://leetcode.cn/problems/max-increase-to-keep-city-skyline| +|889. 根据前序和后序遍历构造二叉树|1|https://leetcode.cn/problems/construct-binary-tree-from-preorder-and-postorder-traversal| +|剑指 Offer 05. 替换空格|1|https://leetcode.cn/problems/ti-huan-kong-ge-lcof| +|279. 完全平方数|1|https://leetcode.cn/problems/perfect-squares| +|17. 电话号码的字母组合|1|https://leetcode.cn/problems/letter-combinations-of-a-phone-number| +|459. 重复的子字符串|1|https://leetcode.cn/problems/repeated-substring-pattern| +|剑指 Offer 59 - II. 队列的最大值|1|https://leetcode.cn/problems/dui-lie-de-zui-da-zhi-lcof| +|260. 只出现一次的数字 III|1|https://leetcode.cn/problems/single-number-iii| +|1438. 绝对差不超过限制的最长连续子数组|1|https://leetcode.cn/problems/longest-continuous-subarray-with-absolute-diff-less-than-or-equal-to-limit| +|剑指 Offer 62. 圆圈中最后剩下的数字|1|https://leetcode.cn/problems/yuan-quan-zhong-zui-hou-sheng-xia-de-shu-zi-lcof| +|836. 矩形重叠|1|https://leetcode.cn/problems/rectangle-overlap| +|1172. 餐盘栈|1|https://leetcode.cn/problems/dinner-plate-stacks| +|547. 省份数量(原朋友圈)|1|https://leetcode.cn/problems/number-of-provinces| +|面试题 17.24. 最大子矩阵|1|https://leetcode.cn/problems/max-submatrix-lcci| +|1302. 层数最深叶子节点的和|1|https://leetcode.cn/problems/deepest-leaves-sum| +|448. 找到所有数组中消失的数字|1|https://leetcode.cn/problems/find-all-numbers-disappeared-in-an-array| +|127. 单词接龙|1|https://leetcode.cn/problems/word-ladder| +|剑指 Offer 55 - II. 平衡二叉树|1|https://leetcode.cn/problems/ping-heng-er-cha-shu-lcof| +|剑指 Offer 55 - I. 二叉树的深度|1|https://leetcode.cn/problems/er-cha-shu-de-shen-du-lcof| +|面试题 08.05. 递归乘法|1|https://leetcode.cn/problems/recursive-mulitply-lcci| +|179. 最大数|1|https://leetcode.cn/problems/largest-number| +|1107. 每日新用户统计|1|https://leetcode.cn/problems/new-users-daily-count| +|剑指 Offer 10- I. 斐波那契数列|1|https://leetcode.cn/problems/fei-bo-na-qi-shu-lie-lcof| +|63. 不同路径 II|1|https://leetcode.cn/problems/unique-paths-ii| +|397. 整数替换|1|https://leetcode.cn/problems/integer-replacement| +|564. 寻找最近的回文数|1|https://leetcode.cn/problems/find-the-closest-palindrome| +|765. 情侣牵手|1|https://leetcode.cn/problems/couples-holding-hands| +|80. 删除排序数组中的重复项 II|1|https://leetcode.cn/problems/remove-duplicates-from-sorted-array-ii| +|77. 组合|1|https://leetcode.cn/problems/combinations| +|378. 有序矩阵中第K小的元素|1|https://leetcode.cn/problems/kth-smallest-element-in-a-sorted-matrix| +|384. 打乱数组|1|https://leetcode.cn/problems/shuffle-an-array| +|剑指 Offer 56 - I. 数组中数字出现的次数|1|https://leetcode.cn/problems/shu-zu-zhong-shu-zi-chu-xian-de-ci-shu-lcof| +|28. 实现 strStr()|1|https://leetcode.cn/problems/implement-strstr| +|剑指 Offer 32 - III. 从上到下打印二叉树 III|1|https://leetcode.cn/problems/cong-shang-dao-xia-da-yin-er-cha-shu-iii-lcof| +|207. 课程表|1|https://leetcode.cn/problems/course-schedule| +|386. 字典序排数|1|https://leetcode.cn/problems/lexicographical-numbers| +|面试题 03.03. 堆盘子|1|https://leetcode.cn/problems/stack-of-plates-lcci| +|331. 验证二叉树的前序序列化|1|https://leetcode.cn/problems/verify-preorder-serialization-of-a-binary-tree| +|剑指 Offer 28. 对称的二叉树|1|https://leetcode.cn/problems/dui-cheng-de-er-cha-shu-lcof| +|剑指 Offer 68 - II. 二叉树的最近公共祖先|1|https://leetcode.cn/problems/er-cha-shu-de-zui-jin-gong-gong-zu-xian-lcof| +|848. 字母移位|1|https://leetcode.cn/problems/shifting-letters| +|6. Z 字形变换|1|https://leetcode.cn/problems/zigzag-conversion| +|990. 等式方程的可满足性|1|https://leetcode.cn/problems/satisfiability-of-equality-equations| +|567. 字符串的排列|1|https://leetcode.cn/problems/permutation-in-string| +|496. 下一个更大元素 I|1|https://leetcode.cn/problems/next-greater-element-i| +|967. 连续差相同的数字|1|https://leetcode.cn/problems/numbers-with-same-consecutive-differences| +|1405. 最长快乐字符串|1|https://leetcode.cn/problems/longest-happy-string| +|1353. 最多可以参加的会议数目|1|https://leetcode.cn/problems/maximum-number-of-events-that-can-be-attended| +|1574. 删除最短的子数组使剩余数组有序|1|https://leetcode.cn/problems/shortest-subarray-to-be-removed-to-make-array-sorted| +|949. 给定数字能组成的最大时间|1|https://leetcode.cn/problems/largest-time-for-given-digits| +|剑指 Offer 31. 栈的压入、弹出序列|1|https://leetcode.cn/problems/zhan-de-ya-ru-dan-chu-xu-lie-lcof| +|213. 打家劫舍 II|1|https://leetcode.cn/problems/house-robber-ii| +|剑指 Offer 40. 最小的k个数|1|https://leetcode.cn/problems/zui-xiao-de-kge-shu-lcof| +|1475. 商品折扣后的最终价格|1|https://leetcode.cn/problems/final-prices-with-a-special-discount-in-a-shop| +|剑指 Offer 43. 1~n整数中1出现的次数|1|https://leetcode.cn/problems/1nzheng-shu-zhong-1chu-xian-de-ci-shu-lcof| +|706. 设计哈希映射|1|https://leetcode.cn/problems/design-hashmap| +|252. 会议室|1|https://leetcode.cn/problems/meeting-rooms| +|剑指 Offer 63. 股票的最大利润|1|https://leetcode.cn/problems/gu-piao-de-zui-da-li-run-lcof| +|680. 验证回文字符串 Ⅱ|1|https://leetcode.cn/problems/valid-palindrome-ii| +|341. 扁平化嵌套列表迭代器|1|https://leetcode.cn/problems/flatten-nested-list-iterator| +|140. 单词拆分 II|1|https://leetcode.cn/problems/word-break-ii| +|716. 最大栈|1|https://leetcode.cn/problems/max-stack| +|214. 最短回文串|1|https://leetcode.cn/problems/shortest-palindrome| +|633. 平方数之和|1|https://leetcode.cn/problems/sum-of-square-numbers| |补充题17. 两个有序数组第k小的数|1|| -|589. N叉树的前序遍历|1|https://leetcode-cn.com/problems/n-ary-tree-preorder-traversal| -|1675. 数组的最小偏移量|1|https://leetcode-cn.com/problems/minimize-deviation-in-array| -|485. 最大连续1的个数|1|https://leetcode-cn.com/problems/max-consecutive-ones| +|589. N叉树的前序遍历|1|https://leetcode.cn/problems/n-ary-tree-preorder-traversal| +|1675. 数组的最小偏移量|1|https://leetcode.cn/problems/minimize-deviation-in-array| +|485. 最大连续1的个数|1|https://leetcode.cn/problems/max-consecutive-ones| |补充题8. 计算数组的小和|1|https://mp.weixin.qq.com/s/rMsbcUf9ZPhvfRoyZGW6HA| -|剑指 Offer 34. 二叉树中和为某一值的路径|1|https://leetcode-cn.com/problems/er-cha-shu-zhong-he-wei-mou-yi-zhi-de-lu-jing-lcof| -|剑指 Offer 17. 打印从1到最大的n位数|1|https://leetcode-cn.com/problems/da-yin-cong-1dao-zui-da-de-nwei-shu-lcof| -|861. 翻转矩阵后的得分|1|https://leetcode-cn.com/problems/score-after-flipping-matrix| -|168. Excel表列名称|1|https://leetcode-cn.com/problems/excel-sheet-column-title| -|剑指 Offer 14- I. 剪绳子|1|https://leetcode-cn.com/problems/jian-sheng-zi-lcof| -|96. 不同的二叉搜索树|1|https://leetcode-cn.com/problems/unique-binary-search-trees| -|13. 罗马数字转整数|1|https://leetcode-cn.com/problems/roman-to-integer| -|1190. 反转每对括号间的子串|1|https://leetcode-cn.com/problems/reverse-substrings-between-each-pair-of-parentheses| -|16. 最接近的三数之和|1|https://leetcode-cn.com/problems/3sum-closest| -|216. 组合总和 III|1|https://leetcode-cn.com/problems/combination-sum-iii| -|剑指 Offer 32 - II. 从上到下打印二叉树 II|1|https://leetcode-cn.com/problems/cong-shang-dao-xia-da-yin-er-cha-shu-ii-lcof| -|736. Lisp 语法解析|1|https://leetcode-cn.com/problems/parse-lisp-expression| -|137. 只出现一次的数字 II|1|https://leetcode-cn.com/problems/single-number-ii| \ No newline at end of file +|剑指 Offer 34. 二叉树中和为某一值的路径|1|https://leetcode.cn/problems/er-cha-shu-zhong-he-wei-mou-yi-zhi-de-lu-jing-lcof| +|剑指 Offer 17. 打印从1到最大的n位数|1|https://leetcode.cn/problems/da-yin-cong-1dao-zui-da-de-nwei-shu-lcof| +|861. 翻转矩阵后的得分|1|https://leetcode.cn/problems/score-after-flipping-matrix| +|168. Excel表列名称|1|https://leetcode.cn/problems/excel-sheet-column-title| +|剑指 Offer 14- I. 剪绳子|1|https://leetcode.cn/problems/jian-sheng-zi-lcof| +|96. 不同的二叉搜索树|1|https://leetcode.cn/problems/unique-binary-search-trees| +|13. 罗马数字转整数|1|https://leetcode.cn/problems/roman-to-integer| +|1190. 反转每对括号间的子串|1|https://leetcode.cn/problems/reverse-substrings-between-each-pair-of-parentheses| +|16. 最接近的三数之和|1|https://leetcode.cn/problems/3sum-closest| +|216. 组合总和 III|1|https://leetcode.cn/problems/combination-sum-iii| +|剑指 Offer 32 - II. 从上到下打印二叉树 II|1|https://leetcode.cn/problems/cong-shang-dao-xia-da-yin-er-cha-shu-ii-lcof| +|736. Lisp 语法解析|1|https://leetcode.cn/problems/parse-lisp-expression| +|137. 只出现一次的数字 II|1|https://leetcode.cn/problems/single-number-ii| \ No newline at end of file diff --git a/bytedance/client.md b/bytedance/client.md index 3678579..04a1bdf 100644 --- a/bytedance/client.md +++ b/bytedance/client.md @@ -3,187 +3,187 @@ |题目|出现次数|链接| |-|-|-| -|206. 反转链表|21|https://leetcode-cn.com/problems/reverse-linked-list| -|25. K 个一组翻转链表|18|https://leetcode-cn.com/problems/reverse-nodes-in-k-group| -|160. 相交链表|18|https://leetcode-cn.com/problems/intersection-of-two-linked-lists| -|215. 数组中的第K个最大元素|17|https://leetcode-cn.com/problems/kth-largest-element-in-an-array| -|53. 最大子序和|17|https://leetcode-cn.com/problems/maximum-subarray| -|146. LRU缓存机制|16|https://leetcode-cn.com/problems/lru-cache| -|15. 三数之和|13|https://leetcode-cn.com/problems/3sum| -|1. 两数之和|13|https://leetcode-cn.com/problems/two-sum| -|3. 无重复字符的最长子串|12|https://leetcode-cn.com/problems/longest-substring-without-repeating-characters| -|121. 买卖股票的最佳时机|10|https://leetcode-cn.com/problems/best-time-to-buy-and-sell-stock| -|21. 合并两个有序链表|10|https://leetcode-cn.com/problems/merge-two-sorted-lists| -|113. 路径总和 II|10|https://leetcode-cn.com/problems/path-sum-ii| -|102. 二叉树的层序遍历|10|https://leetcode-cn.com/problems/binary-tree-level-order-traversal| -|103. 二叉树的锯齿形层次遍历|10|https://leetcode-cn.com/problems/binary-tree-zigzag-level-order-traversal| -|236. 二叉树的最近公共祖先|9|https://leetcode-cn.com/problems/lowest-common-ancestor-of-a-binary-tree| -|958. 二叉树的完全性检验|9|https://leetcode-cn.com/problems/check-completeness-of-a-binary-tree| -|105. 从前序与中序遍历序列构造二叉树|9|https://leetcode-cn.com/problems/construct-binary-tree-from-preorder-and-inorder-traversal| -|41. 缺失的第一个正数|8|https://leetcode-cn.com/problems/first-missing-positive| -|199. 二叉树的右视图|8|https://leetcode-cn.com/problems/binary-tree-right-side-view| -|54. 螺旋矩阵|8|https://leetcode-cn.com/problems/spiral-matrix| -|101. 对称二叉树|8|https://leetcode-cn.com/problems/symmetric-tree| -|415. 字符串相加|8|https://leetcode-cn.com/problems/add-strings| -|232. 用栈实现队列|7|https://leetcode-cn.com/problems/implement-queue-using-stacks| -|112. 路径总和|7|https://leetcode-cn.com/problems/path-sum| -|剑指 Offer 09. 用两个栈实现队列|7|https://leetcode-cn.com/problems/yong-liang-ge-zhan-shi-xian-dui-lie-lcof| -|56. 合并区间|7|https://leetcode-cn.com/problems/merge-intervals| -|42. 接雨水|7|https://leetcode-cn.com/problems/trapping-rain-water| -|34. 在排序数组中查找元素的第一个和最后一个位置|7|https://leetcode-cn.com/problems/find-first-and-last-position-of-element-in-sorted-array| -|19. 删除链表的倒数第N个节点|7|https://leetcode-cn.com/problems/remove-nth-node-from-end-of-list| -|151. 翻转字符串里的单词|6|https://leetcode-cn.com/problems/reverse-words-in-a-string| -|141. 环形链表|6|https://leetcode-cn.com/problems/linked-list-cycle| -|142. 环形链表 II|6|https://leetcode-cn.com/problems/linked-list-cycle-ii| -|94. 二叉树的中序遍历|6|https://leetcode-cn.com/problems/binary-tree-inorder-traversal| -|144. 二叉树的前序遍历|6|https://leetcode-cn.com/problems/binary-tree-preorder-traversal| -|543. 二叉树的直径|6|https://leetcode-cn.com/problems/diameter-of-binary-tree| -|104. 二叉树的最大深度|6|https://leetcode-cn.com/problems/maximum-depth-of-binary-tree| -|2. 两数相加|6|https://leetcode-cn.com/problems/add-two-numbers| -|4. 寻找两个正序数组的中位数|6|https://leetcode-cn.com/problems/median-of-two-sorted-arrays| -|82. 删除排序链表中的重复元素 II|6|https://leetcode-cn.com/problems/remove-duplicates-from-sorted-list-ii| -|394. 字符串解码|5|https://leetcode-cn.com/problems/decode-string| -|200. 岛屿数量|5|https://leetcode-cn.com/problems/number-of-islands| -|165. 比较版本号|5|https://leetcode-cn.com/problems/compare-version-numbers| +|206. 反转链表|21|https://leetcode.cn/problems/reverse-linked-list| +|25. K 个一组翻转链表|18|https://leetcode.cn/problems/reverse-nodes-in-k-group| +|160. 相交链表|18|https://leetcode.cn/problems/intersection-of-two-linked-lists| +|215. 数组中的第K个最大元素|17|https://leetcode.cn/problems/kth-largest-element-in-an-array| +|53. 最大子序和|17|https://leetcode.cn/problems/maximum-subarray| +|146. LRU缓存机制|16|https://leetcode.cn/problems/lru-cache| +|15. 三数之和|13|https://leetcode.cn/problems/3sum| +|1. 两数之和|13|https://leetcode.cn/problems/two-sum| +|3. 无重复字符的最长子串|12|https://leetcode.cn/problems/longest-substring-without-repeating-characters| +|121. 买卖股票的最佳时机|10|https://leetcode.cn/problems/best-time-to-buy-and-sell-stock| +|21. 合并两个有序链表|10|https://leetcode.cn/problems/merge-two-sorted-lists| +|113. 路径总和 II|10|https://leetcode.cn/problems/path-sum-ii| +|102. 二叉树的层序遍历|10|https://leetcode.cn/problems/binary-tree-level-order-traversal| +|103. 二叉树的锯齿形层次遍历|10|https://leetcode.cn/problems/binary-tree-zigzag-level-order-traversal| +|236. 二叉树的最近公共祖先|9|https://leetcode.cn/problems/lowest-common-ancestor-of-a-binary-tree| +|958. 二叉树的完全性检验|9|https://leetcode.cn/problems/check-completeness-of-a-binary-tree| +|105. 从前序与中序遍历序列构造二叉树|9|https://leetcode.cn/problems/construct-binary-tree-from-preorder-and-inorder-traversal| +|41. 缺失的第一个正数|8|https://leetcode.cn/problems/first-missing-positive| +|199. 二叉树的右视图|8|https://leetcode.cn/problems/binary-tree-right-side-view| +|54. 螺旋矩阵|8|https://leetcode.cn/problems/spiral-matrix| +|101. 对称二叉树|8|https://leetcode.cn/problems/symmetric-tree| +|415. 字符串相加|8|https://leetcode.cn/problems/add-strings| +|232. 用栈实现队列|7|https://leetcode.cn/problems/implement-queue-using-stacks| +|112. 路径总和|7|https://leetcode.cn/problems/path-sum| +|剑指 Offer 09. 用两个栈实现队列|7|https://leetcode.cn/problems/yong-liang-ge-zhan-shi-xian-dui-lie-lcof| +|56. 合并区间|7|https://leetcode.cn/problems/merge-intervals| +|42. 接雨水|7|https://leetcode.cn/problems/trapping-rain-water| +|34. 在排序数组中查找元素的第一个和最后一个位置|7|https://leetcode.cn/problems/find-first-and-last-position-of-element-in-sorted-array| +|19. 删除链表的倒数第N个节点|7|https://leetcode.cn/problems/remove-nth-node-from-end-of-list| +|151. 翻转字符串里的单词|6|https://leetcode.cn/problems/reverse-words-in-a-string| +|141. 环形链表|6|https://leetcode.cn/problems/linked-list-cycle| +|142. 环形链表 II|6|https://leetcode.cn/problems/linked-list-cycle-ii| +|94. 二叉树的中序遍历|6|https://leetcode.cn/problems/binary-tree-inorder-traversal| +|144. 二叉树的前序遍历|6|https://leetcode.cn/problems/binary-tree-preorder-traversal| +|543. 二叉树的直径|6|https://leetcode.cn/problems/diameter-of-binary-tree| +|104. 二叉树的最大深度|6|https://leetcode.cn/problems/maximum-depth-of-binary-tree| +|2. 两数相加|6|https://leetcode.cn/problems/add-two-numbers| +|4. 寻找两个正序数组的中位数|6|https://leetcode.cn/problems/median-of-two-sorted-arrays| +|82. 删除排序链表中的重复元素 II|6|https://leetcode.cn/problems/remove-duplicates-from-sorted-list-ii| +|394. 字符串解码|5|https://leetcode.cn/problems/decode-string| +|200. 岛屿数量|5|https://leetcode.cn/problems/number-of-islands| +|165. 比较版本号|5|https://leetcode.cn/problems/compare-version-numbers| |补充题9. 36进制加法|5|https://mp.weixin.qq.com/s/XcKQwnwCh5nZsz-DLHJwzQ| -|344. 反转字符串|4|https://leetcode-cn.com/problems/reverse-string| -|88. 合并两个有序数组|4|https://leetcode-cn.com/problems/merge-sorted-array| -|136. 只出现一次的数字|4|https://leetcode-cn.com/problems/single-number| -|226. 翻转二叉树|4|https://leetcode-cn.com/problems/invert-binary-tree| -|剑指 Offer 36. 二叉搜索树与双向链表|4|https://leetcode-cn.com/problems/er-cha-sou-suo-shu-yu-shuang-xiang-lian-biao-lcof| -|240. 搜索二维矩阵 II|4|https://leetcode-cn.com/problems/search-a-2d-matrix-ii| -|剑指 Offer 21. 调整数组顺序使奇数位于偶数前面|4|https://leetcode-cn.com/problems/diao-zheng-shu-zu-shun-xu-shi-qi-shu-wei-yu-ou-shu-qian-mian-lcof| -|460. LFU缓存|4|https://leetcode-cn.com/problems/lfu-cache| -|69. x 的平方根|4|https://leetcode-cn.com/problems/sqrtx| -|322. 零钱兑换|4|https://leetcode-cn.com/problems/coin-change| -|46. 全排列|4|https://leetcode-cn.com/problems/permutations| -|189. 旋转数组|4|https://leetcode-cn.com/problems/rotate-array| -|剑指 Offer 27. 二叉树的镜像|4|https://leetcode-cn.com/problems/er-cha-shu-de-jing-xiang-lcof| -|225. 用队列实现栈|4|https://leetcode-cn.com/problems/implement-stack-using-queues| -|59. 螺旋矩阵 II|4|https://leetcode-cn.com/problems/spiral-matrix-ii| -|剑指 Offer 22. 链表中倒数第k个节点|4|https://leetcode-cn.com/problems/lian-biao-zhong-dao-shu-di-kge-jie-dian-lcof| -|补充题4. 手撕快速排序|4|https://leetcode-cn.com/problems/sort-an-array| -|剑指 Offer 33. 二叉搜索树的后序遍历序列|4|https://leetcode-cn.com/problems/er-cha-sou-suo-shu-de-hou-xu-bian-li-xu-lie-lcof| -|518. 零钱兑换 II|3|https://leetcode-cn.com/problems/coin-change-2| -|300. 最长上升子序列|3|https://leetcode-cn.com/problems/longest-increasing-subsequence| -|145. 二叉树的后序遍历|3|https://leetcode-cn.com/problems/binary-tree-postorder-traversal| -|33. 搜索旋转排序数组|3|https://leetcode-cn.com/problems/search-in-rotated-sorted-array| -|162. 寻找峰值|3|https://leetcode-cn.com/problems/find-peak-element| -|124. 二叉树中的最大路径和|3|https://leetcode-cn.com/problems/binary-tree-maximum-path-sum| -|70. 爬楼梯|3|https://leetcode-cn.com/problems/climbing-stairs| -|61. 旋转链表|3|https://leetcode-cn.com/problems/rotate-list| -|110. 平衡二叉树|3|https://leetcode-cn.com/problems/balanced-binary-tree| -|16. 最接近的三数之和|3|https://leetcode-cn.com/problems/3sum-closest| -|20. 有效的括号|3|https://leetcode-cn.com/problems/valid-parentheses| -|5. 最长回文子串|3|https://leetcode-cn.com/problems/longest-palindromic-substring| -|443. 压缩字符串|3|https://leetcode-cn.com/problems/string-compression| -|1143. 最长公共子序列|3|https://leetcode-cn.com/problems/longest-common-subsequence| -|75. 颜色分类|3|https://leetcode-cn.com/problems/sort-colors| -|24. 两两交换链表中的节点|3|https://leetcode-cn.com/problems/swap-nodes-in-pairs| -|315. 计算右侧小于当前元素的个数|3|https://leetcode-cn.com/problems/count-of-smaller-numbers-after-self| -|129. 求根到叶子节点数字之和|3|https://leetcode-cn.com/problems/sum-root-to-leaf-numbers| -|76. 最小覆盖子串|3|https://leetcode-cn.com/problems/minimum-window-substring| +|344. 反转字符串|4|https://leetcode.cn/problems/reverse-string| +|88. 合并两个有序数组|4|https://leetcode.cn/problems/merge-sorted-array| +|136. 只出现一次的数字|4|https://leetcode.cn/problems/single-number| +|226. 翻转二叉树|4|https://leetcode.cn/problems/invert-binary-tree| +|剑指 Offer 36. 二叉搜索树与双向链表|4|https://leetcode.cn/problems/er-cha-sou-suo-shu-yu-shuang-xiang-lian-biao-lcof| +|240. 搜索二维矩阵 II|4|https://leetcode.cn/problems/search-a-2d-matrix-ii| +|剑指 Offer 21. 调整数组顺序使奇数位于偶数前面|4|https://leetcode.cn/problems/diao-zheng-shu-zu-shun-xu-shi-qi-shu-wei-yu-ou-shu-qian-mian-lcof| +|460. LFU缓存|4|https://leetcode.cn/problems/lfu-cache| +|69. x 的平方根|4|https://leetcode.cn/problems/sqrtx| +|322. 零钱兑换|4|https://leetcode.cn/problems/coin-change| +|46. 全排列|4|https://leetcode.cn/problems/permutations| +|189. 旋转数组|4|https://leetcode.cn/problems/rotate-array| +|剑指 Offer 27. 二叉树的镜像|4|https://leetcode.cn/problems/er-cha-shu-de-jing-xiang-lcof| +|225. 用队列实现栈|4|https://leetcode.cn/problems/implement-stack-using-queues| +|59. 螺旋矩阵 II|4|https://leetcode.cn/problems/spiral-matrix-ii| +|剑指 Offer 22. 链表中倒数第k个节点|4|https://leetcode.cn/problems/lian-biao-zhong-dao-shu-di-kge-jie-dian-lcof| +|补充题4. 手撕快速排序|4|https://leetcode.cn/problems/sort-an-array| +|剑指 Offer 33. 二叉搜索树的后序遍历序列|4|https://leetcode.cn/problems/er-cha-sou-suo-shu-de-hou-xu-bian-li-xu-lie-lcof| +|518. 零钱兑换 II|3|https://leetcode.cn/problems/coin-change-2| +|300. 最长上升子序列|3|https://leetcode.cn/problems/longest-increasing-subsequence| +|145. 二叉树的后序遍历|3|https://leetcode.cn/problems/binary-tree-postorder-traversal| +|33. 搜索旋转排序数组|3|https://leetcode.cn/problems/search-in-rotated-sorted-array| +|162. 寻找峰值|3|https://leetcode.cn/problems/find-peak-element| +|124. 二叉树中的最大路径和|3|https://leetcode.cn/problems/binary-tree-maximum-path-sum| +|70. 爬楼梯|3|https://leetcode.cn/problems/climbing-stairs| +|61. 旋转链表|3|https://leetcode.cn/problems/rotate-list| +|110. 平衡二叉树|3|https://leetcode.cn/problems/balanced-binary-tree| +|16. 最接近的三数之和|3|https://leetcode.cn/problems/3sum-closest| +|20. 有效的括号|3|https://leetcode.cn/problems/valid-parentheses| +|5. 最长回文子串|3|https://leetcode.cn/problems/longest-palindromic-substring| +|443. 压缩字符串|3|https://leetcode.cn/problems/string-compression| +|1143. 最长公共子序列|3|https://leetcode.cn/problems/longest-common-subsequence| +|75. 颜色分类|3|https://leetcode.cn/problems/sort-colors| +|24. 两两交换链表中的节点|3|https://leetcode.cn/problems/swap-nodes-in-pairs| +|315. 计算右侧小于当前元素的个数|3|https://leetcode.cn/problems/count-of-smaller-numbers-after-self| +|129. 求根到叶子节点数字之和|3|https://leetcode.cn/problems/sum-root-to-leaf-numbers| +|76. 最小覆盖子串|3|https://leetcode.cn/problems/minimum-window-substring| |补充题1. 排序奇升偶降链表|3|https://mp.weixin.qq.com/s/0WVa2wIAeG0nYnVndZiEXQ| -|剑指 Offer 38. 字符串的排列|3|https://leetcode-cn.com/problems/zi-fu-chuan-de-pai-lie-lcof| -|114. 二叉树展开为链表|3|https://leetcode-cn.com/problems/flatten-binary-tree-to-linked-list| -|剑指 Offer 52. 两个链表的第一个公共节点|2|https://leetcode-cn.com/problems/liang-ge-lian-biao-de-di-yi-ge-gong-gong-jie-dian-lcof| -|剑指 Offer 45. 把数组排成最小的数|2|https://leetcode-cn.com/problems/ba-shu-zu-pai-cheng-zui-xiao-de-shu-lcof| -|234. 回文链表|2|https://leetcode-cn.com/problems/palindrome-linked-list| -|283. 移动零|2|https://leetcode-cn.com/problems/move-zeroes| -|190. 颠倒二进制位|2|https://leetcode-cn.com/problems/reverse-bits| -|122. 买卖股票的最佳时机 II|2|https://leetcode-cn.com/problems/best-time-to-buy-and-sell-stock-ii| -|7. 整数反转|2|https://leetcode-cn.com/problems/reverse-integer| -|662. 二叉树最大宽度|2|https://leetcode-cn.com/problems/maximum-width-of-binary-tree| -|62. 不同路径|2|https://leetcode-cn.com/problems/unique-paths| -|191. 位1的个数|2|https://leetcode-cn.com/problems/number-of-1-bits| -|48. 旋转图像|2|https://leetcode-cn.com/problems/rotate-image| -|739. 每日温度|2|https://leetcode-cn.com/problems/daily-temperatures| -|92. 反转链表 II|2|https://leetcode-cn.com/problems/reverse-linked-list-ii| -|剑指 Offer 62. 圆圈中最后剩下的数字|2|https://leetcode-cn.com/problems/yuan-quan-zhong-zui-hou-sheng-xia-de-shu-zi-lcof| -|164. 最大间距|2|https://leetcode-cn.com/problems/maximum-gap| -|71. 简化路径|2|https://leetcode-cn.com/problems/simplify-path| -|98. 验证二叉搜索树|2|https://leetcode-cn.com/problems/validate-binary-search-tree| -|55. 跳跃游戏|2|https://leetcode-cn.com/problems/jump-game| -|17. 电话号码的字母组合|2|https://leetcode-cn.com/problems/letter-combinations-of-a-phone-number| -|72. 编辑距离|2|https://leetcode-cn.com/problems/edit-distance| -|347. 前 K 个高频元素|2|https://leetcode-cn.com/problems/top-k-frequent-elements| -|977. 有序数组的平方|2|https://leetcode-cn.com/problems/squares-of-a-sorted-array| -|155. 最小栈|2|https://leetcode-cn.com/problems/min-stack| -|32. 最长有效括号|2|https://leetcode-cn.com/problems/longest-valid-parentheses| -|438. 找到字符串中所有字母异位词|2|https://leetcode-cn.com/problems/find-all-anagrams-in-a-string| -|93. 复原IP地址|2|https://leetcode-cn.com/problems/restore-ip-addresses| -|260. 只出现一次的数字 III|2|https://leetcode-cn.com/problems/single-number-iii| -|334. 递增的三元子序列|2|https://leetcode-cn.com/problems/increasing-triplet-subsequence| -|8. 字符串转换整数 (atoi)|2|https://leetcode-cn.com/problems/string-to-integer-atoi| -|39. 组合总和|2|https://leetcode-cn.com/problems/combination-sum| -|224. 基本计算器|2|https://leetcode-cn.com/problems/basic-calculator| -|680. 验证回文字符串 Ⅱ|2|https://leetcode-cn.com/problems/valid-palindrome-ii| -|470. 用 Rand7() 实现 Rand10()|2|https://leetcode-cn.com/problems/implement-rand10-using-rand7| -|530. 二叉搜索树的最小绝对差|2|https://leetcode-cn.com/problems/minimum-absolute-difference-in-bst| -|31. 下一个排列|2|https://leetcode-cn.com/problems/next-permutation| -|143. 重排链表|2|https://leetcode-cn.com/problems/reorder-list| -|128. 最长连续序列|1|https://leetcode-cn.com/problems/longest-consecutive-sequence| -|480. 滑动窗口中位数|1|https://leetcode-cn.com/problems/sliding-window-median| -|23. 合并K个排序链表|1|https://leetcode-cn.com/problems/merge-k-sorted-lists| -|86. 分隔链表|1|https://leetcode-cn.com/problems/partition-list| -|140. 单词拆分 II|1|https://leetcode-cn.com/problems/word-break-ii| -|剑指 Offer 07. 重建二叉树|1|https://leetcode-cn.com/problems/zhong-jian-er-cha-shu-lcof| -|257. 二叉树的所有路径|1|https://leetcode-cn.com/problems/binary-tree-paths| -|剑指 Offer 32 - III. 从上到下打印二叉树 III|1|https://leetcode-cn.com/problems/cong-shang-dao-xia-da-yin-er-cha-shu-iii-lcof| -|209. 长度最小的子数组|1|https://leetcode-cn.com/problems/minimum-size-subarray-sum| -|328. 奇偶链表|1|https://leetcode-cn.com/problems/odd-even-linked-list| -|557. 反转字符串中的单词 III|1|https://leetcode-cn.com/problems/reverse-words-in-a-string-iii| -|445. 两数相加 II|1|https://leetcode-cn.com/problems/add-two-numbers-ii| -|1233. 删除子文件夹|1|https://leetcode-cn.com/problems/remove-sub-folders-from-the-filesystem| -|701. 二叉搜索树中的插入操作|1|https://leetcode-cn.com/problems/insert-into-a-binary-search-tree| -|148. 排序链表|1|https://leetcode-cn.com/problems/sort-list| -|138. 复制带随机指针的链表|1|https://leetcode-cn.com/problems/copy-list-with-random-pointer| -|503. 下一个更大元素 II|1|https://leetcode-cn.com/problems/next-greater-element-ii| -|329. 矩阵中的最长递增路径|1|https://leetcode-cn.com/problems/longest-increasing-path-in-a-matrix| -|1047. 删除字符串中的所有相邻重复项|1|https://leetcode-cn.com/problems/remove-all-adjacent-duplicates-in-string| -|670. 最大交换|1|https://leetcode-cn.com/problems/maximum-swap| -|863. 二叉树中所有距离为 K 的结点|1|https://leetcode-cn.com/problems/all-nodes-distance-k-in-binary-tree| -|238. 除自身以外数组的乘积|1|https://leetcode-cn.com/problems/product-of-array-except-self| -|44. 通配符匹配|1|https://leetcode-cn.com/problems/wildcard-matching| -|79. 单词搜索|1|https://leetcode-cn.com/problems/word-search| -|767. 重构字符串|1|https://leetcode-cn.com/problems/reorganize-string| -|242. 有效的字母异位词|1|https://leetcode-cn.com/problems/valid-anagram| -|剑指 Offer 56 - II. 数组中数字出现的次数 II|1|https://leetcode-cn.com/problems/shu-zu-zhong-shu-zi-chu-xian-de-ci-shu-ii-lcof| -|97. 交错字符串|1|https://leetcode-cn.com/problems/interleaving-string| -|77. 组合|1|https://leetcode-cn.com/problems/combinations| -|230. 二叉搜索树中第K小的元素|1|https://leetcode-cn.com/problems/kth-smallest-element-in-a-bst| -|179. 最大数|1|https://leetcode-cn.com/problems/largest-number| -|120. 三角形最小路径和|1|https://leetcode-cn.com/problems/triangle| -|26. 删除排序数组中的重复项|1|https://leetcode-cn.com/problems/remove-duplicates-from-sorted-array| -|80. 删除排序数组中的重复项 II|1|https://leetcode-cn.com/problems/remove-duplicates-from-sorted-array-ii| -|402. 移掉K位数字|1|https://leetcode-cn.com/problems/remove-k-digits| -|剑指 Offer 48. 最长不含重复字符的子字符串|1|https://leetcode-cn.com/problems/zui-chang-bu-han-zhong-fu-zi-fu-de-zi-zi-fu-chuan-lcof| -|83. 删除排序链表中的重复元素|1|https://leetcode-cn.com/problems/remove-duplicates-from-sorted-list| -|剑指 Offer 17. 打印从1到最大的n位数|1|https://leetcode-cn.com/problems/da-yin-cong-1dao-zui-da-de-nwei-shu-lcof| -|125. 验证回文串|1|https://leetcode-cn.com/problems/valid-palindrome| -|139. 单词拆分|1|https://leetcode-cn.com/problems/word-break| -|239. 滑动窗口最大值|1|https://leetcode-cn.com/problems/sliding-window-maximum| -|221. 最大正方形|1|https://leetcode-cn.com/problems/maximal-square| -|617. 合并二叉树|1|https://leetcode-cn.com/problems/merge-two-binary-trees| -|556. 下一个更大元素 III|1|https://leetcode-cn.com/problems/next-greater-element-iii| -|11. 盛最多水的容器|1|https://leetcode-cn.com/problems/container-with-most-water| -|927. 三等分|1|https://leetcode-cn.com/problems/three-equal-parts| -|剑指 Offer 03. 数组中重复的数字|1|https://leetcode-cn.com/problems/shu-zu-zhong-zhong-fu-de-shu-zi-lcof| -|564. 寻找最近的回文数|1|https://leetcode-cn.com/problems/find-the-closest-palindrome| -|498. 对角线遍历|1|https://leetcode-cn.com/problems/diagonal-traverse| -|297. 二叉树的序列化与反序列化|1|https://leetcode-cn.com/problems/serialize-and-deserialize-binary-tree| -|171. Excel表列序号|1|https://leetcode-cn.com/problems/excel-sheet-column-number| -|976. 三角形的最大周长|1|https://leetcode-cn.com/problems/largest-perimeter-triangle| +|剑指 Offer 38. 字符串的排列|3|https://leetcode.cn/problems/zi-fu-chuan-de-pai-lie-lcof| +|114. 二叉树展开为链表|3|https://leetcode.cn/problems/flatten-binary-tree-to-linked-list| +|剑指 Offer 52. 两个链表的第一个公共节点|2|https://leetcode.cn/problems/liang-ge-lian-biao-de-di-yi-ge-gong-gong-jie-dian-lcof| +|剑指 Offer 45. 把数组排成最小的数|2|https://leetcode.cn/problems/ba-shu-zu-pai-cheng-zui-xiao-de-shu-lcof| +|234. 回文链表|2|https://leetcode.cn/problems/palindrome-linked-list| +|283. 移动零|2|https://leetcode.cn/problems/move-zeroes| +|190. 颠倒二进制位|2|https://leetcode.cn/problems/reverse-bits| +|122. 买卖股票的最佳时机 II|2|https://leetcode.cn/problems/best-time-to-buy-and-sell-stock-ii| +|7. 整数反转|2|https://leetcode.cn/problems/reverse-integer| +|662. 二叉树最大宽度|2|https://leetcode.cn/problems/maximum-width-of-binary-tree| +|62. 不同路径|2|https://leetcode.cn/problems/unique-paths| +|191. 位1的个数|2|https://leetcode.cn/problems/number-of-1-bits| +|48. 旋转图像|2|https://leetcode.cn/problems/rotate-image| +|739. 每日温度|2|https://leetcode.cn/problems/daily-temperatures| +|92. 反转链表 II|2|https://leetcode.cn/problems/reverse-linked-list-ii| +|剑指 Offer 62. 圆圈中最后剩下的数字|2|https://leetcode.cn/problems/yuan-quan-zhong-zui-hou-sheng-xia-de-shu-zi-lcof| +|164. 最大间距|2|https://leetcode.cn/problems/maximum-gap| +|71. 简化路径|2|https://leetcode.cn/problems/simplify-path| +|98. 验证二叉搜索树|2|https://leetcode.cn/problems/validate-binary-search-tree| +|55. 跳跃游戏|2|https://leetcode.cn/problems/jump-game| +|17. 电话号码的字母组合|2|https://leetcode.cn/problems/letter-combinations-of-a-phone-number| +|72. 编辑距离|2|https://leetcode.cn/problems/edit-distance| +|347. 前 K 个高频元素|2|https://leetcode.cn/problems/top-k-frequent-elements| +|977. 有序数组的平方|2|https://leetcode.cn/problems/squares-of-a-sorted-array| +|155. 最小栈|2|https://leetcode.cn/problems/min-stack| +|32. 最长有效括号|2|https://leetcode.cn/problems/longest-valid-parentheses| +|438. 找到字符串中所有字母异位词|2|https://leetcode.cn/problems/find-all-anagrams-in-a-string| +|93. 复原IP地址|2|https://leetcode.cn/problems/restore-ip-addresses| +|260. 只出现一次的数字 III|2|https://leetcode.cn/problems/single-number-iii| +|334. 递增的三元子序列|2|https://leetcode.cn/problems/increasing-triplet-subsequence| +|8. 字符串转换整数 (atoi)|2|https://leetcode.cn/problems/string-to-integer-atoi| +|39. 组合总和|2|https://leetcode.cn/problems/combination-sum| +|224. 基本计算器|2|https://leetcode.cn/problems/basic-calculator| +|680. 验证回文字符串 Ⅱ|2|https://leetcode.cn/problems/valid-palindrome-ii| +|470. 用 Rand7() 实现 Rand10()|2|https://leetcode.cn/problems/implement-rand10-using-rand7| +|530. 二叉搜索树的最小绝对差|2|https://leetcode.cn/problems/minimum-absolute-difference-in-bst| +|31. 下一个排列|2|https://leetcode.cn/problems/next-permutation| +|143. 重排链表|2|https://leetcode.cn/problems/reorder-list| +|128. 最长连续序列|1|https://leetcode.cn/problems/longest-consecutive-sequence| +|480. 滑动窗口中位数|1|https://leetcode.cn/problems/sliding-window-median| +|23. 合并K个排序链表|1|https://leetcode.cn/problems/merge-k-sorted-lists| +|86. 分隔链表|1|https://leetcode.cn/problems/partition-list| +|140. 单词拆分 II|1|https://leetcode.cn/problems/word-break-ii| +|剑指 Offer 07. 重建二叉树|1|https://leetcode.cn/problems/zhong-jian-er-cha-shu-lcof| +|257. 二叉树的所有路径|1|https://leetcode.cn/problems/binary-tree-paths| +|剑指 Offer 32 - III. 从上到下打印二叉树 III|1|https://leetcode.cn/problems/cong-shang-dao-xia-da-yin-er-cha-shu-iii-lcof| +|209. 长度最小的子数组|1|https://leetcode.cn/problems/minimum-size-subarray-sum| +|328. 奇偶链表|1|https://leetcode.cn/problems/odd-even-linked-list| +|557. 反转字符串中的单词 III|1|https://leetcode.cn/problems/reverse-words-in-a-string-iii| +|445. 两数相加 II|1|https://leetcode.cn/problems/add-two-numbers-ii| +|1233. 删除子文件夹|1|https://leetcode.cn/problems/remove-sub-folders-from-the-filesystem| +|701. 二叉搜索树中的插入操作|1|https://leetcode.cn/problems/insert-into-a-binary-search-tree| +|148. 排序链表|1|https://leetcode.cn/problems/sort-list| +|138. 复制带随机指针的链表|1|https://leetcode.cn/problems/copy-list-with-random-pointer| +|503. 下一个更大元素 II|1|https://leetcode.cn/problems/next-greater-element-ii| +|329. 矩阵中的最长递增路径|1|https://leetcode.cn/problems/longest-increasing-path-in-a-matrix| +|1047. 删除字符串中的所有相邻重复项|1|https://leetcode.cn/problems/remove-all-adjacent-duplicates-in-string| +|670. 最大交换|1|https://leetcode.cn/problems/maximum-swap| +|863. 二叉树中所有距离为 K 的结点|1|https://leetcode.cn/problems/all-nodes-distance-k-in-binary-tree| +|238. 除自身以外数组的乘积|1|https://leetcode.cn/problems/product-of-array-except-self| +|44. 通配符匹配|1|https://leetcode.cn/problems/wildcard-matching| +|79. 单词搜索|1|https://leetcode.cn/problems/word-search| +|767. 重构字符串|1|https://leetcode.cn/problems/reorganize-string| +|242. 有效的字母异位词|1|https://leetcode.cn/problems/valid-anagram| +|剑指 Offer 56 - II. 数组中数字出现的次数 II|1|https://leetcode.cn/problems/shu-zu-zhong-shu-zi-chu-xian-de-ci-shu-ii-lcof| +|97. 交错字符串|1|https://leetcode.cn/problems/interleaving-string| +|77. 组合|1|https://leetcode.cn/problems/combinations| +|230. 二叉搜索树中第K小的元素|1|https://leetcode.cn/problems/kth-smallest-element-in-a-bst| +|179. 最大数|1|https://leetcode.cn/problems/largest-number| +|120. 三角形最小路径和|1|https://leetcode.cn/problems/triangle| +|26. 删除排序数组中的重复项|1|https://leetcode.cn/problems/remove-duplicates-from-sorted-array| +|80. 删除排序数组中的重复项 II|1|https://leetcode.cn/problems/remove-duplicates-from-sorted-array-ii| +|402. 移掉K位数字|1|https://leetcode.cn/problems/remove-k-digits| +|剑指 Offer 48. 最长不含重复字符的子字符串|1|https://leetcode.cn/problems/zui-chang-bu-han-zhong-fu-zi-fu-de-zi-zi-fu-chuan-lcof| +|83. 删除排序链表中的重复元素|1|https://leetcode.cn/problems/remove-duplicates-from-sorted-list| +|剑指 Offer 17. 打印从1到最大的n位数|1|https://leetcode.cn/problems/da-yin-cong-1dao-zui-da-de-nwei-shu-lcof| +|125. 验证回文串|1|https://leetcode.cn/problems/valid-palindrome| +|139. 单词拆分|1|https://leetcode.cn/problems/word-break| +|239. 滑动窗口最大值|1|https://leetcode.cn/problems/sliding-window-maximum| +|221. 最大正方形|1|https://leetcode.cn/problems/maximal-square| +|617. 合并二叉树|1|https://leetcode.cn/problems/merge-two-binary-trees| +|556. 下一个更大元素 III|1|https://leetcode.cn/problems/next-greater-element-iii| +|11. 盛最多水的容器|1|https://leetcode.cn/problems/container-with-most-water| +|927. 三等分|1|https://leetcode.cn/problems/three-equal-parts| +|剑指 Offer 03. 数组中重复的数字|1|https://leetcode.cn/problems/shu-zu-zhong-zhong-fu-de-shu-zi-lcof| +|564. 寻找最近的回文数|1|https://leetcode.cn/problems/find-the-closest-palindrome| +|498. 对角线遍历|1|https://leetcode.cn/problems/diagonal-traverse| +|297. 二叉树的序列化与反序列化|1|https://leetcode.cn/problems/serialize-and-deserialize-binary-tree| +|171. Excel表列序号|1|https://leetcode.cn/problems/excel-sheet-column-number| +|976. 三角形的最大周长|1|https://leetcode.cn/problems/largest-perimeter-triangle| |补充题23. 检测循环依赖|1|https://mp.weixin.qq.com/s/pCRscwKqQdYYN7M1Sia7xA| -|351. 安卓系统手势解锁|1|https://leetcode-cn.com/problems/android-unlock-patterns| -|面试题 02.01. 移除重复节点|1|https://leetcode-cn.com/problems/remove-duplicate-node-lcci| -|10. 正则表达式匹配|1|https://leetcode-cn.com/problems/regular-expression-matching| -|剑指 Offer 51. 数组中的逆序对|1|https://leetcode-cn.com/problems/shu-zu-zhong-de-ni-xu-dui-lcof| -|999. 可以被一步捕获的棋子数|1|https://leetcode-cn.com/problems/available-captures-for-rook| -|100. 相同的树|1|https://leetcode-cn.com/problems/same-tree| -|718. 最长重复子数组|1|https://leetcode-cn.com/problems/maximum-length-of-repeated-subarray| -|1328. 破坏回文串|1|https://leetcode-cn.com/problems/break-a-palindrome| -|12. 整数转罗马数字|1|https://leetcode-cn.com/problems/integer-to-roman| -|611. 有效三角形的个数|1|https://leetcode-cn.com/problems/valid-triangle-number| -|22. 括号生成|1|https://leetcode-cn.com/problems/generate-parentheses| -|219. 存在重复元素 II|1|https://leetcode-cn.com/problems/contains-duplicate-ii| \ No newline at end of file +|351. 安卓系统手势解锁|1|https://leetcode.cn/problems/android-unlock-patterns| +|面试题 02.01. 移除重复节点|1|https://leetcode.cn/problems/remove-duplicate-node-lcci| +|10. 正则表达式匹配|1|https://leetcode.cn/problems/regular-expression-matching| +|剑指 Offer 51. 数组中的逆序对|1|https://leetcode.cn/problems/shu-zu-zhong-de-ni-xu-dui-lcof| +|999. 可以被一步捕获的棋子数|1|https://leetcode.cn/problems/available-captures-for-rook| +|100. 相同的树|1|https://leetcode.cn/problems/same-tree| +|718. 最长重复子数组|1|https://leetcode.cn/problems/maximum-length-of-repeated-subarray| +|1328. 破坏回文串|1|https://leetcode.cn/problems/break-a-palindrome| +|12. 整数转罗马数字|1|https://leetcode.cn/problems/integer-to-roman| +|611. 有效三角形的个数|1|https://leetcode.cn/problems/valid-triangle-number| +|22. 括号生成|1|https://leetcode.cn/problems/generate-parentheses| +|219. 存在重复元素 II|1|https://leetcode.cn/problems/contains-duplicate-ii| \ No newline at end of file diff --git a/bytedance/data.md b/bytedance/data.md index ab1e9a7..b8164eb 100644 --- a/bytedance/data.md +++ b/bytedance/data.md @@ -3,53 +3,53 @@ |题目|出现次数|链接| |-|-|-| -|232. 用栈实现队列|4|https://leetcode-cn.com/problems/implement-queue-using-stacks| -|146. LRU缓存机制|3|https://leetcode-cn.com/problems/lru-cache| -|121. 买卖股票的最佳时机|3|https://leetcode-cn.com/problems/best-time-to-buy-and-sell-stock| -|101. 对称二叉树|3|https://leetcode-cn.com/problems/symmetric-tree| -|25. K 个一组翻转链表|3|https://leetcode-cn.com/problems/reverse-nodes-in-k-group| -|98. 验证二叉搜索树|2|https://leetcode-cn.com/problems/validate-binary-search-tree| -|103. 二叉树的锯齿形层次遍历|2|https://leetcode-cn.com/problems/binary-tree-zigzag-level-order-traversal| -|141. 环形链表|2|https://leetcode-cn.com/problems/linked-list-cycle| -|53. 最大子序和|2|https://leetcode-cn.com/problems/maximum-subarray| -|64. 最小路径和|2|https://leetcode-cn.com/problems/minimum-path-sum| -|200. 岛屿数量|2|https://leetcode-cn.com/problems/number-of-islands| +|232. 用栈实现队列|4|https://leetcode.cn/problems/implement-queue-using-stacks| +|146. LRU缓存机制|3|https://leetcode.cn/problems/lru-cache| +|121. 买卖股票的最佳时机|3|https://leetcode.cn/problems/best-time-to-buy-and-sell-stock| +|101. 对称二叉树|3|https://leetcode.cn/problems/symmetric-tree| +|25. K 个一组翻转链表|3|https://leetcode.cn/problems/reverse-nodes-in-k-group| +|98. 验证二叉搜索树|2|https://leetcode.cn/problems/validate-binary-search-tree| +|103. 二叉树的锯齿形层次遍历|2|https://leetcode.cn/problems/binary-tree-zigzag-level-order-traversal| +|141. 环形链表|2|https://leetcode.cn/problems/linked-list-cycle| +|53. 最大子序和|2|https://leetcode.cn/problems/maximum-subarray| +|64. 最小路径和|2|https://leetcode.cn/problems/minimum-path-sum| +|200. 岛屿数量|2|https://leetcode.cn/problems/number-of-islands| |补充题1. 排序奇升偶降链表|2|https://mp.weixin.qq.com/s/0WVa2wIAeG0nYnVndZiEXQ| -|94. 二叉树的中序遍历|1|https://leetcode-cn.com/problems/binary-tree-inorder-traversal| -|补充题6. 手撕堆排序|1|https://leetcode-cn.com/problems/sort-an-array| -|剑指 Offer 53 - I. 在排序数组中查找数字 I|1|https://leetcode-cn.com/problems/zai-pai-xu-shu-zu-zhong-cha-zhao-shu-zi-lcof| -|122. 买卖股票的最佳时机 II|1|https://leetcode-cn.com/problems/best-time-to-buy-and-sell-stock-ii| -|230. 二叉搜索树中第K小的元素|1|https://leetcode-cn.com/problems/kth-smallest-element-in-a-bst| -|142. 环形链表 II|1|https://leetcode-cn.com/problems/linked-list-cycle-ii| -|69. x 的平方根|1|https://leetcode-cn.com/problems/sqrtx| -|611. 有效三角形的个数|1|https://leetcode-cn.com/problems/valid-triangle-number| -|221. 最大正方形|1|https://leetcode-cn.com/problems/maximal-square| -|剑指 Offer 51. 数组中的逆序对|1|https://leetcode-cn.com/problems/shu-zu-zhong-de-ni-xu-dui-lcof| -|43. 字符串相乘|1|https://leetcode-cn.com/problems/multiply-strings| +|94. 二叉树的中序遍历|1|https://leetcode.cn/problems/binary-tree-inorder-traversal| +|补充题6. 手撕堆排序|1|https://leetcode.cn/problems/sort-an-array| +|剑指 Offer 53 - I. 在排序数组中查找数字 I|1|https://leetcode.cn/problems/zai-pai-xu-shu-zu-zhong-cha-zhao-shu-zi-lcof| +|122. 买卖股票的最佳时机 II|1|https://leetcode.cn/problems/best-time-to-buy-and-sell-stock-ii| +|230. 二叉搜索树中第K小的元素|1|https://leetcode.cn/problems/kth-smallest-element-in-a-bst| +|142. 环形链表 II|1|https://leetcode.cn/problems/linked-list-cycle-ii| +|69. x 的平方根|1|https://leetcode.cn/problems/sqrtx| +|611. 有效三角形的个数|1|https://leetcode.cn/problems/valid-triangle-number| +|221. 最大正方形|1|https://leetcode.cn/problems/maximal-square| +|剑指 Offer 51. 数组中的逆序对|1|https://leetcode.cn/problems/shu-zu-zhong-de-ni-xu-dui-lcof| +|43. 字符串相乘|1|https://leetcode.cn/problems/multiply-strings| |补充题14. 阿拉伯数字转中文数字|1|| -|16. 最接近的三数之和|1|https://leetcode-cn.com/problems/3sum-closest| -|102. 二叉树的层序遍历|1|https://leetcode-cn.com/problems/binary-tree-level-order-traversal| -|215. 数组中的第K个最大元素|1|https://leetcode-cn.com/problems/kth-largest-element-in-an-array| -|1201. 丑数 III|1|https://leetcode-cn.com/problems/ugly-number-iii| -|240. 搜索二维矩阵 II|1|https://leetcode-cn.com/problems/search-a-2d-matrix-ii| -|剑指 Offer 41. 数据流中的中位数|1|https://leetcode-cn.com/problems/shu-ju-liu-zhong-de-zhong-wei-shu-lcof| -|112. 路径总和|1|https://leetcode-cn.com/problems/path-sum| -|3. 无重复字符的最长子串|1|https://leetcode-cn.com/problems/longest-substring-without-repeating-characters| -|剑指 Offer 59 - II. 队列的最大值|1|https://leetcode-cn.com/problems/dui-lie-de-zui-da-zhi-lcof| -|297. 二叉树的序列化与反序列化|1|https://leetcode-cn.com/problems/serialize-and-deserialize-binary-tree| -|92. 反转链表 II|1|https://leetcode-cn.com/problems/reverse-linked-list-ii| -|226. 翻转二叉树|1|https://leetcode-cn.com/problems/invert-binary-tree| -|440. 字典序的第K小数字|1|https://leetcode-cn.com/problems/k-th-smallest-in-lexicographical-order| -|206. 反转链表|1|https://leetcode-cn.com/problems/reverse-linked-list| -|42. 接雨水|1|https://leetcode-cn.com/problems/trapping-rain-water| -|704. 二分查找|1|https://leetcode-cn.com/problems/binary-search| -|60. 第k个排列|1|https://leetcode-cn.com/problems/permutation-sequence| -|516. 最长回文子序列|1|https://leetcode-cn.com/problems/longest-palindromic-subsequence| -|718. 最长重复子数组|1|https://leetcode-cn.com/problems/maximum-length-of-repeated-subarray| -|5. 最长回文子串|1|https://leetcode-cn.com/problems/longest-palindromic-substring| -|155. 最小栈|1|https://leetcode-cn.com/problems/min-stack| -|33. 搜索旋转排序数组|1|https://leetcode-cn.com/problems/search-in-rotated-sorted-array| -|113. 路径总和 II|1|https://leetcode-cn.com/problems/path-sum-ii| -|143. 重排链表|1|https://leetcode-cn.com/problems/reorder-list| -|148. 排序链表|1|https://leetcode-cn.com/problems/sort-list| -|138. 复制带随机指针的链表|1|https://leetcode-cn.com/problems/copy-list-with-random-pointer| \ No newline at end of file +|16. 最接近的三数之和|1|https://leetcode.cn/problems/3sum-closest| +|102. 二叉树的层序遍历|1|https://leetcode.cn/problems/binary-tree-level-order-traversal| +|215. 数组中的第K个最大元素|1|https://leetcode.cn/problems/kth-largest-element-in-an-array| +|1201. 丑数 III|1|https://leetcode.cn/problems/ugly-number-iii| +|240. 搜索二维矩阵 II|1|https://leetcode.cn/problems/search-a-2d-matrix-ii| +|剑指 Offer 41. 数据流中的中位数|1|https://leetcode.cn/problems/shu-ju-liu-zhong-de-zhong-wei-shu-lcof| +|112. 路径总和|1|https://leetcode.cn/problems/path-sum| +|3. 无重复字符的最长子串|1|https://leetcode.cn/problems/longest-substring-without-repeating-characters| +|剑指 Offer 59 - II. 队列的最大值|1|https://leetcode.cn/problems/dui-lie-de-zui-da-zhi-lcof| +|297. 二叉树的序列化与反序列化|1|https://leetcode.cn/problems/serialize-and-deserialize-binary-tree| +|92. 反转链表 II|1|https://leetcode.cn/problems/reverse-linked-list-ii| +|226. 翻转二叉树|1|https://leetcode.cn/problems/invert-binary-tree| +|440. 字典序的第K小数字|1|https://leetcode.cn/problems/k-th-smallest-in-lexicographical-order| +|206. 反转链表|1|https://leetcode.cn/problems/reverse-linked-list| +|42. 接雨水|1|https://leetcode.cn/problems/trapping-rain-water| +|704. 二分查找|1|https://leetcode.cn/problems/binary-search| +|60. 第k个排列|1|https://leetcode.cn/problems/permutation-sequence| +|516. 最长回文子序列|1|https://leetcode.cn/problems/longest-palindromic-subsequence| +|718. 最长重复子数组|1|https://leetcode.cn/problems/maximum-length-of-repeated-subarray| +|5. 最长回文子串|1|https://leetcode.cn/problems/longest-palindromic-substring| +|155. 最小栈|1|https://leetcode.cn/problems/min-stack| +|33. 搜索旋转排序数组|1|https://leetcode.cn/problems/search-in-rotated-sorted-array| +|113. 路径总和 II|1|https://leetcode.cn/problems/path-sum-ii| +|143. 重排链表|1|https://leetcode.cn/problems/reorder-list| +|148. 排序链表|1|https://leetcode.cn/problems/sort-list| +|138. 复制带随机指针的链表|1|https://leetcode.cn/problems/copy-list-with-random-pointer| \ No newline at end of file diff --git a/bytedance/frontend.md b/bytedance/frontend.md index 1f8f0fb..61b0bca 100644 --- a/bytedance/frontend.md +++ b/bytedance/frontend.md @@ -3,120 +3,120 @@ |题目|出现次数|链接| |-|-|-| -|3. 无重复字符的最长子串|18|https://leetcode-cn.com/problems/longest-substring-without-repeating-characters| -|88. 合并两个有序数组|17|https://leetcode-cn.com/problems/merge-sorted-array| -|129. 求根到叶子节点数字之和|15|https://leetcode-cn.com/problems/sum-root-to-leaf-numbers| -|112. 路径总和|13|https://leetcode-cn.com/problems/path-sum| -|53. 最大子序和|12|https://leetcode-cn.com/problems/maximum-subarray| -|1. 两数之和|11|https://leetcode-cn.com/problems/two-sum| -|165. 比较版本号|11|https://leetcode-cn.com/problems/compare-version-numbers| -|215. 数组中的第K个最大元素|10|https://leetcode-cn.com/problems/kth-largest-element-in-an-array| -|209. 长度最小的子数组|8|https://leetcode-cn.com/problems/minimum-size-subarray-sum| -|剑指 Offer 22. 链表中倒数第k个节点|8|https://leetcode-cn.com/problems/lian-biao-zhong-dao-shu-di-kge-jie-dian-lcof| -|415. 字符串相加|8|https://leetcode-cn.com/problems/add-strings| -|46. 全排列|8|https://leetcode-cn.com/problems/permutations| -|206. 反转链表|7|https://leetcode-cn.com/problems/reverse-linked-list| -|102. 二叉树的层序遍历|6|https://leetcode-cn.com/problems/binary-tree-level-order-traversal| -|70. 爬楼梯|6|https://leetcode-cn.com/problems/climbing-stairs| -|54. 螺旋矩阵|6|https://leetcode-cn.com/problems/spiral-matrix| -|93. 复原IP地址|5|https://leetcode-cn.com/problems/restore-ip-addresses| -|200. 岛屿数量|5|https://leetcode-cn.com/problems/number-of-islands| -|230. 二叉搜索树中第K小的元素|5|https://leetcode-cn.com/problems/kth-smallest-element-in-a-bst| -|15. 三数之和|5|https://leetcode-cn.com/problems/3sum| -|141. 环形链表|5|https://leetcode-cn.com/problems/linked-list-cycle| -|429. N叉树的层序遍历|5|https://leetcode-cn.com/problems/n-ary-tree-level-order-traversal| -|226. 翻转二叉树|4|https://leetcode-cn.com/problems/invert-binary-tree| -|121. 买卖股票的最佳时机|4|https://leetcode-cn.com/problems/best-time-to-buy-and-sell-stock| -|718. 最长重复子数组|4|https://leetcode-cn.com/problems/maximum-length-of-repeated-subarray| -|160. 相交链表|4|https://leetcode-cn.com/problems/intersection-of-two-linked-lists| -|695. 岛屿的最大面积|4|https://leetcode-cn.com/problems/max-area-of-island| -|62. 不同路径|4|https://leetcode-cn.com/problems/unique-paths| -|剑指 Offer 62. 圆圈中最后剩下的数字|4|https://leetcode-cn.com/problems/yuan-quan-zhong-zui-hou-sheng-xia-de-shu-zi-lcof| -|94. 二叉树的中序遍历|3|https://leetcode-cn.com/problems/binary-tree-inorder-traversal| -|104. 二叉树的最大深度|3|https://leetcode-cn.com/problems/maximum-depth-of-binary-tree| -|21. 合并两个有序链表|3|https://leetcode-cn.com/problems/merge-two-sorted-lists| -|509. 斐波那契数|3|https://leetcode-cn.com/problems/fibonacci-number| -|113. 路径总和 II|3|https://leetcode-cn.com/problems/path-sum-ii| -|468. 验证IP地址|3|https://leetcode-cn.com/problems/validate-ip-address| -|31. 下一个排列|3|https://leetcode-cn.com/problems/next-permutation| -|20. 有效的括号|3|https://leetcode-cn.com/problems/valid-parentheses| -|349. 两个数组的交集|3|https://leetcode-cn.com/problems/intersection-of-two-arrays| -|5. 最长回文子串|3|https://leetcode-cn.com/problems/longest-palindromic-substring| -|236. 二叉树的最近公共祖先|3|https://leetcode-cn.com/problems/lowest-common-ancestor-of-a-binary-tree| -|146. LRU缓存机制|3|https://leetcode-cn.com/problems/lru-cache| -|322. 零钱兑换|2|https://leetcode-cn.com/problems/coin-change| -|394. 字符串解码|2|https://leetcode-cn.com/problems/decode-string| -|19. 删除链表的倒数第N个节点|2|https://leetcode-cn.com/problems/remove-nth-node-from-end-of-list| -|剑指 Offer 24. 反转链表|2|https://leetcode-cn.com/problems/fan-zhuan-lian-biao-lcof| -|42. 接雨水|2|https://leetcode-cn.com/problems/trapping-rain-water| -|155. 最小栈|2|https://leetcode-cn.com/problems/min-stack| -|169. 多数元素|2|https://leetcode-cn.com/problems/majority-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| -|67. 二进制求和|2|https://leetcode-cn.com/problems/add-binary| -|144. 二叉树的前序遍历|2|https://leetcode-cn.com/problems/binary-tree-preorder-traversal| -|198. 打家劫舍|2|https://leetcode-cn.com/problems/house-robber| -|14. 最长公共前缀|2|https://leetcode-cn.com/problems/longest-common-prefix| +|3. 无重复字符的最长子串|18|https://leetcode.cn/problems/longest-substring-without-repeating-characters| +|88. 合并两个有序数组|17|https://leetcode.cn/problems/merge-sorted-array| +|129. 求根到叶子节点数字之和|15|https://leetcode.cn/problems/sum-root-to-leaf-numbers| +|112. 路径总和|13|https://leetcode.cn/problems/path-sum| +|53. 最大子序和|12|https://leetcode.cn/problems/maximum-subarray| +|1. 两数之和|11|https://leetcode.cn/problems/two-sum| +|165. 比较版本号|11|https://leetcode.cn/problems/compare-version-numbers| +|215. 数组中的第K个最大元素|10|https://leetcode.cn/problems/kth-largest-element-in-an-array| +|209. 长度最小的子数组|8|https://leetcode.cn/problems/minimum-size-subarray-sum| +|剑指 Offer 22. 链表中倒数第k个节点|8|https://leetcode.cn/problems/lian-biao-zhong-dao-shu-di-kge-jie-dian-lcof| +|415. 字符串相加|8|https://leetcode.cn/problems/add-strings| +|46. 全排列|8|https://leetcode.cn/problems/permutations| +|206. 反转链表|7|https://leetcode.cn/problems/reverse-linked-list| +|102. 二叉树的层序遍历|6|https://leetcode.cn/problems/binary-tree-level-order-traversal| +|70. 爬楼梯|6|https://leetcode.cn/problems/climbing-stairs| +|54. 螺旋矩阵|6|https://leetcode.cn/problems/spiral-matrix| +|93. 复原IP地址|5|https://leetcode.cn/problems/restore-ip-addresses| +|200. 岛屿数量|5|https://leetcode.cn/problems/number-of-islands| +|230. 二叉搜索树中第K小的元素|5|https://leetcode.cn/problems/kth-smallest-element-in-a-bst| +|15. 三数之和|5|https://leetcode.cn/problems/3sum| +|141. 环形链表|5|https://leetcode.cn/problems/linked-list-cycle| +|429. N叉树的层序遍历|5|https://leetcode.cn/problems/n-ary-tree-level-order-traversal| +|226. 翻转二叉树|4|https://leetcode.cn/problems/invert-binary-tree| +|121. 买卖股票的最佳时机|4|https://leetcode.cn/problems/best-time-to-buy-and-sell-stock| +|718. 最长重复子数组|4|https://leetcode.cn/problems/maximum-length-of-repeated-subarray| +|160. 相交链表|4|https://leetcode.cn/problems/intersection-of-two-linked-lists| +|695. 岛屿的最大面积|4|https://leetcode.cn/problems/max-area-of-island| +|62. 不同路径|4|https://leetcode.cn/problems/unique-paths| +|剑指 Offer 62. 圆圈中最后剩下的数字|4|https://leetcode.cn/problems/yuan-quan-zhong-zui-hou-sheng-xia-de-shu-zi-lcof| +|94. 二叉树的中序遍历|3|https://leetcode.cn/problems/binary-tree-inorder-traversal| +|104. 二叉树的最大深度|3|https://leetcode.cn/problems/maximum-depth-of-binary-tree| +|21. 合并两个有序链表|3|https://leetcode.cn/problems/merge-two-sorted-lists| +|509. 斐波那契数|3|https://leetcode.cn/problems/fibonacci-number| +|113. 路径总和 II|3|https://leetcode.cn/problems/path-sum-ii| +|468. 验证IP地址|3|https://leetcode.cn/problems/validate-ip-address| +|31. 下一个排列|3|https://leetcode.cn/problems/next-permutation| +|20. 有效的括号|3|https://leetcode.cn/problems/valid-parentheses| +|349. 两个数组的交集|3|https://leetcode.cn/problems/intersection-of-two-arrays| +|5. 最长回文子串|3|https://leetcode.cn/problems/longest-palindromic-substring| +|236. 二叉树的最近公共祖先|3|https://leetcode.cn/problems/lowest-common-ancestor-of-a-binary-tree| +|146. LRU缓存机制|3|https://leetcode.cn/problems/lru-cache| +|322. 零钱兑换|2|https://leetcode.cn/problems/coin-change| +|394. 字符串解码|2|https://leetcode.cn/problems/decode-string| +|19. 删除链表的倒数第N个节点|2|https://leetcode.cn/problems/remove-nth-node-from-end-of-list| +|剑指 Offer 24. 反转链表|2|https://leetcode.cn/problems/fan-zhuan-lian-biao-lcof| +|42. 接雨水|2|https://leetcode.cn/problems/trapping-rain-water| +|155. 最小栈|2|https://leetcode.cn/problems/min-stack| +|169. 多数元素|2|https://leetcode.cn/problems/majority-element| +|剑指 Offer 21. 调整数组顺序使奇数位于偶数前面|2|https://leetcode.cn/problems/diao-zheng-shu-zu-shun-xu-shi-qi-shu-wei-yu-ou-shu-qian-mian-lcof| +|67. 二进制求和|2|https://leetcode.cn/problems/add-binary| +|144. 二叉树的前序遍历|2|https://leetcode.cn/problems/binary-tree-preorder-traversal| +|198. 打家劫舍|2|https://leetcode.cn/problems/house-robber| +|14. 最长公共前缀|2|https://leetcode.cn/problems/longest-common-prefix| |补充题3. 求区间最小数乘区间和的最大值|2|https://mp.weixin.qq.com/s/UFv7pt_djjZoK_gzUBrRXA| -|199. 二叉树的右视图|2|https://leetcode-cn.com/problems/binary-tree-right-side-view| -|剑指 Offer 09. 用两个栈实现队列|2|https://leetcode-cn.com/problems/yong-liang-ge-zhan-shi-xian-dui-lie-lcof| -|56. 合并区间|2|https://leetcode-cn.com/problems/merge-intervals| -|300. 最长上升子序列|2|https://leetcode-cn.com/problems/longest-increasing-subsequence| -|剑指 Offer 38. 字符串的排列|2|https://leetcode-cn.com/problems/zi-fu-chuan-de-pai-lie-lcof| +|199. 二叉树的右视图|2|https://leetcode.cn/problems/binary-tree-right-side-view| +|剑指 Offer 09. 用两个栈实现队列|2|https://leetcode.cn/problems/yong-liang-ge-zhan-shi-xian-dui-lie-lcof| +|56. 合并区间|2|https://leetcode.cn/problems/merge-intervals| +|300. 最长上升子序列|2|https://leetcode.cn/problems/longest-increasing-subsequence| +|剑指 Offer 38. 字符串的排列|2|https://leetcode.cn/problems/zi-fu-chuan-de-pai-lie-lcof| |补充题14. 阿拉伯数字转中文数字|2|| -|400. 第N个数字|2|https://leetcode-cn.com/problems/nth-digit| -|101. 对称二叉树|2|https://leetcode-cn.com/problems/symmetric-tree| -|剑指 Offer 48. 最长不含重复字符的子字符串|1|https://leetcode-cn.com/problems/zui-chang-bu-han-zhong-fu-zi-fu-de-zi-zi-fu-chuan-lcof| -|680. 验证回文字符串 Ⅱ|1|https://leetcode-cn.com/problems/valid-palindrome-ii| -|124. 二叉树中的最大路径和|1|https://leetcode-cn.com/problems/binary-tree-maximum-path-sum| -|221. 最大正方形|1|https://leetcode-cn.com/problems/maximal-square| -|98. 验证二叉搜索树|1|https://leetcode-cn.com/problems/validate-binary-search-tree| -|1047. 删除字符串中的所有相邻重复项|1|https://leetcode-cn.com/problems/remove-all-adjacent-duplicates-in-string| -|44. 通配符匹配|1|https://leetcode-cn.com/problems/wildcard-matching| -|130. 被围绕的区域|1|https://leetcode-cn.com/problems/surrounded-regions| -|16. 最接近的三数之和|1|https://leetcode-cn.com/problems/3sum-closest| -|498. 对角线遍历|1|https://leetcode-cn.com/problems/diagonal-traverse| -|224. 基本计算器|1|https://leetcode-cn.com/problems/basic-calculator| -|227. 基本计算器 II|1|https://leetcode-cn.com/problems/basic-calculator-ii| -|剑指 Offer 04. 二维数组中的查找|1|https://leetcode-cn.com/problems/er-wei-shu-zu-zhong-de-cha-zhao-lcof| -|443. 压缩字符串|1|https://leetcode-cn.com/problems/string-compression| -|142. 环形链表 II|1|https://leetcode-cn.com/problems/linked-list-cycle-ii| -|984. 不含 AAA 或 BBB 的字符串|1|https://leetcode-cn.com/problems/string-without-aaa-or-bbb| -|151. 翻转字符串里的单词|1|https://leetcode-cn.com/problems/reverse-words-in-a-string| -|213. 打家劫舍 II|1|https://leetcode-cn.com/problems/house-robber-ii| -|114. 二叉树展开为链表|1|https://leetcode-cn.com/problems/flatten-binary-tree-to-linked-list| -|109. 有序链表转换二叉搜索树|1|https://leetcode-cn.com/problems/convert-sorted-list-to-binary-search-tree| -|242. 有效的字母异位词|1|https://leetcode-cn.com/problems/valid-anagram| -|862. 和至少为 K 的最短子数组|1|https://leetcode-cn.com/problems/shortest-subarray-with-sum-at-least-k| -|1498. 满足条件的子序列数目|1|https://leetcode-cn.com/problems/number-of-subsequences-that-satisfy-the-given-sum-condition| -|257. 二叉树的所有路径|1|https://leetcode-cn.com/problems/binary-tree-paths| -|63. 不同路径 II|1|https://leetcode-cn.com/problems/unique-paths-ii| -|609. 在系统中查找重复文件|1|https://leetcode-cn.com/problems/find-duplicate-file-in-system| -|232. 用栈实现队列|1|https://leetcode-cn.com/problems/implement-queue-using-stacks| -|39. 组合总和|1|https://leetcode-cn.com/problems/combination-sum| -|剑指 Offer 10- I. 斐波那契数列|1|https://leetcode-cn.com/problems/fei-bo-na-qi-shu-lie-lcof| -|361. 轰炸敌人|1|https://leetcode-cn.com/problems/bomb-enemy| -|525. 连续数组|1|https://leetcode-cn.com/problems/contiguous-array| -|96. 不同的二叉搜索树|1|https://leetcode-cn.com/problems/unique-binary-search-trees| -|103. 二叉树的锯齿形层次遍历|1|https://leetcode-cn.com/problems/binary-tree-zigzag-level-order-traversal| -|717. 1比特与2比特字符|1|https://leetcode-cn.com/problems/1-bit-and-2-bit-characters| -|1353. 最多可以参加的会议数目|1|https://leetcode-cn.com/problems/maximum-number-of-events-that-can-be-attended| -|剑指 Offer 63. 股票的最大利润|1|https://leetcode-cn.com/problems/gu-piao-de-zui-da-li-run-lcof| -|剑指 Offer 27. 二叉树的镜像|1|https://leetcode-cn.com/problems/er-cha-shu-de-jing-xiang-lcof| -|LCP 04. 覆盖|1|https://leetcode-cn.com/problems/broken-board-dominoes| -|剑指 Offer 39. 数组中出现次数超过一半的数字|1|https://leetcode-cn.com/problems/shu-zu-zhong-chu-xian-ci-shu-chao-guo-yi-ban-de-shu-zi-lcof| -|剑指 Offer 07. 重建二叉树|1|https://leetcode-cn.com/problems/zhong-jian-er-cha-shu-lcof| -|829. 连续整数求和|1|https://leetcode-cn.com/problems/consecutive-numbers-sum| -|1356. 根据数字二进制下 1 的数目排序|1|https://leetcode-cn.com/problems/sort-integers-by-the-number-of-1-bits| -|6. Z 字形变换|1|https://leetcode-cn.com/problems/zigzag-conversion| -|704. 二分查找|1|https://leetcode-cn.com/problems/binary-search| -|111. 二叉树的最小深度|1|https://leetcode-cn.com/problems/minimum-depth-of-binary-tree| -|105. 从前序与中序遍历序列构造二叉树|1|https://leetcode-cn.com/problems/construct-binary-tree-from-preorder-and-inorder-traversal| -|783. 二叉搜索树节点最小距离|1|https://leetcode-cn.com/problems/minimum-distance-between-bst-nodes| -|剑指 Offer 42. 连续子数组的最大和|1|https://leetcode-cn.com/problems/lian-xu-zi-shu-zu-de-zui-da-he-lcof| -|55. 跳跃游戏|1|https://leetcode-cn.com/problems/jump-game| -|2. 两数相加|1|https://leetcode-cn.com/problems/add-two-numbers| -|1410. HTML 实体解析器|1|https://leetcode-cn.com/problems/html-entity-parser| -|125. 验证回文串|1|https://leetcode-cn.com/problems/valid-palindrome| -|12. 整数转罗马数字|1|https://leetcode-cn.com/problems/integer-to-roman| -|45. 跳跃游戏 II|1|https://leetcode-cn.com/problems/jump-game-ii| -|43. 字符串相乘|1|https://leetcode-cn.com/problems/multiply-strings| \ No newline at end of file +|400. 第N个数字|2|https://leetcode.cn/problems/nth-digit| +|101. 对称二叉树|2|https://leetcode.cn/problems/symmetric-tree| +|剑指 Offer 48. 最长不含重复字符的子字符串|1|https://leetcode.cn/problems/zui-chang-bu-han-zhong-fu-zi-fu-de-zi-zi-fu-chuan-lcof| +|680. 验证回文字符串 Ⅱ|1|https://leetcode.cn/problems/valid-palindrome-ii| +|124. 二叉树中的最大路径和|1|https://leetcode.cn/problems/binary-tree-maximum-path-sum| +|221. 最大正方形|1|https://leetcode.cn/problems/maximal-square| +|98. 验证二叉搜索树|1|https://leetcode.cn/problems/validate-binary-search-tree| +|1047. 删除字符串中的所有相邻重复项|1|https://leetcode.cn/problems/remove-all-adjacent-duplicates-in-string| +|44. 通配符匹配|1|https://leetcode.cn/problems/wildcard-matching| +|130. 被围绕的区域|1|https://leetcode.cn/problems/surrounded-regions| +|16. 最接近的三数之和|1|https://leetcode.cn/problems/3sum-closest| +|498. 对角线遍历|1|https://leetcode.cn/problems/diagonal-traverse| +|224. 基本计算器|1|https://leetcode.cn/problems/basic-calculator| +|227. 基本计算器 II|1|https://leetcode.cn/problems/basic-calculator-ii| +|剑指 Offer 04. 二维数组中的查找|1|https://leetcode.cn/problems/er-wei-shu-zu-zhong-de-cha-zhao-lcof| +|443. 压缩字符串|1|https://leetcode.cn/problems/string-compression| +|142. 环形链表 II|1|https://leetcode.cn/problems/linked-list-cycle-ii| +|984. 不含 AAA 或 BBB 的字符串|1|https://leetcode.cn/problems/string-without-aaa-or-bbb| +|151. 翻转字符串里的单词|1|https://leetcode.cn/problems/reverse-words-in-a-string| +|213. 打家劫舍 II|1|https://leetcode.cn/problems/house-robber-ii| +|114. 二叉树展开为链表|1|https://leetcode.cn/problems/flatten-binary-tree-to-linked-list| +|109. 有序链表转换二叉搜索树|1|https://leetcode.cn/problems/convert-sorted-list-to-binary-search-tree| +|242. 有效的字母异位词|1|https://leetcode.cn/problems/valid-anagram| +|862. 和至少为 K 的最短子数组|1|https://leetcode.cn/problems/shortest-subarray-with-sum-at-least-k| +|1498. 满足条件的子序列数目|1|https://leetcode.cn/problems/number-of-subsequences-that-satisfy-the-given-sum-condition| +|257. 二叉树的所有路径|1|https://leetcode.cn/problems/binary-tree-paths| +|63. 不同路径 II|1|https://leetcode.cn/problems/unique-paths-ii| +|609. 在系统中查找重复文件|1|https://leetcode.cn/problems/find-duplicate-file-in-system| +|232. 用栈实现队列|1|https://leetcode.cn/problems/implement-queue-using-stacks| +|39. 组合总和|1|https://leetcode.cn/problems/combination-sum| +|剑指 Offer 10- I. 斐波那契数列|1|https://leetcode.cn/problems/fei-bo-na-qi-shu-lie-lcof| +|361. 轰炸敌人|1|https://leetcode.cn/problems/bomb-enemy| +|525. 连续数组|1|https://leetcode.cn/problems/contiguous-array| +|96. 不同的二叉搜索树|1|https://leetcode.cn/problems/unique-binary-search-trees| +|103. 二叉树的锯齿形层次遍历|1|https://leetcode.cn/problems/binary-tree-zigzag-level-order-traversal| +|717. 1比特与2比特字符|1|https://leetcode.cn/problems/1-bit-and-2-bit-characters| +|1353. 最多可以参加的会议数目|1|https://leetcode.cn/problems/maximum-number-of-events-that-can-be-attended| +|剑指 Offer 63. 股票的最大利润|1|https://leetcode.cn/problems/gu-piao-de-zui-da-li-run-lcof| +|剑指 Offer 27. 二叉树的镜像|1|https://leetcode.cn/problems/er-cha-shu-de-jing-xiang-lcof| +|LCP 04. 覆盖|1|https://leetcode.cn/problems/broken-board-dominoes| +|剑指 Offer 39. 数组中出现次数超过一半的数字|1|https://leetcode.cn/problems/shu-zu-zhong-chu-xian-ci-shu-chao-guo-yi-ban-de-shu-zi-lcof| +|剑指 Offer 07. 重建二叉树|1|https://leetcode.cn/problems/zhong-jian-er-cha-shu-lcof| +|829. 连续整数求和|1|https://leetcode.cn/problems/consecutive-numbers-sum| +|1356. 根据数字二进制下 1 的数目排序|1|https://leetcode.cn/problems/sort-integers-by-the-number-of-1-bits| +|6. Z 字形变换|1|https://leetcode.cn/problems/zigzag-conversion| +|704. 二分查找|1|https://leetcode.cn/problems/binary-search| +|111. 二叉树的最小深度|1|https://leetcode.cn/problems/minimum-depth-of-binary-tree| +|105. 从前序与中序遍历序列构造二叉树|1|https://leetcode.cn/problems/construct-binary-tree-from-preorder-and-inorder-traversal| +|783. 二叉搜索树节点最小距离|1|https://leetcode.cn/problems/minimum-distance-between-bst-nodes| +|剑指 Offer 42. 连续子数组的最大和|1|https://leetcode.cn/problems/lian-xu-zi-shu-zu-de-zui-da-he-lcof| +|55. 跳跃游戏|1|https://leetcode.cn/problems/jump-game| +|2. 两数相加|1|https://leetcode.cn/problems/add-two-numbers| +|1410. HTML 实体解析器|1|https://leetcode.cn/problems/html-entity-parser| +|125. 验证回文串|1|https://leetcode.cn/problems/valid-palindrome| +|12. 整数转罗马数字|1|https://leetcode.cn/problems/integer-to-roman| +|45. 跳跃游戏 II|1|https://leetcode.cn/problems/jump-game-ii| +|43. 字符串相乘|1|https://leetcode.cn/problems/multiply-strings| \ No newline at end of file diff --git a/bytedance/test.md b/bytedance/test.md index 293e24b..dd871b6 100644 --- a/bytedance/test.md +++ b/bytedance/test.md @@ -3,132 +3,132 @@ |题目|出现次数|链接| |-|-|-| -|3. 无重复字符的最长子串|28|https://leetcode-cn.com/problems/longest-substring-without-repeating-characters| -|160. 相交链表|11|https://leetcode-cn.com/problems/intersection-of-two-linked-lists| -|206. 反转链表|11|https://leetcode-cn.com/problems/reverse-linked-list| -|169. 多数元素|11|https://leetcode-cn.com/problems/majority-element| -|1. 两数之和|10|https://leetcode-cn.com/problems/two-sum| -|20. 有效的括号|10|https://leetcode-cn.com/problems/valid-parentheses| -|415. 字符串相加|8|https://leetcode-cn.com/problems/add-strings| -|239. 滑动窗口最大值|7|https://leetcode-cn.com/problems/sliding-window-maximum| -|179. 最大数|6|https://leetcode-cn.com/problems/largest-number| -|25. K 个一组翻转链表|6|https://leetcode-cn.com/problems/reverse-nodes-in-k-group| -|121. 买卖股票的最佳时机|6|https://leetcode-cn.com/problems/best-time-to-buy-and-sell-stock| -|5. 最长回文子串|6|https://leetcode-cn.com/problems/longest-palindromic-substring| -|83. 删除排序链表中的重复元素|6|https://leetcode-cn.com/problems/remove-duplicates-from-sorted-list| -|78. 子集|5|https://leetcode-cn.com/problems/subsets| -|94. 二叉树的中序遍历|5|https://leetcode-cn.com/problems/binary-tree-inorder-traversal| -|468. 验证IP地址|5|https://leetcode-cn.com/problems/validate-ip-address| -|15. 三数之和|5|https://leetcode-cn.com/problems/3sum| -|141. 环形链表|5|https://leetcode-cn.com/problems/linked-list-cycle| -|718. 最长重复子数组|5|https://leetcode-cn.com/problems/maximum-length-of-repeated-subarray| -|64. 最小路径和|4|https://leetcode-cn.com/problems/minimum-path-sum| -|142. 环形链表 II|4|https://leetcode-cn.com/problems/linked-list-cycle-ii| -|剑指 Offer 61. 扑克牌中的顺子|4|https://leetcode-cn.com/problems/bu-ke-pai-zhong-de-shun-zi-lcof| -|62. 不同路径|4|https://leetcode-cn.com/problems/unique-paths| -|70. 爬楼梯|4|https://leetcode-cn.com/problems/climbing-stairs| -|110. 平衡二叉树|4|https://leetcode-cn.com/problems/balanced-binary-tree| -|32. 最长有效括号|4|https://leetcode-cn.com/problems/longest-valid-parentheses| -|1143. 最长公共子序列|4|https://leetcode-cn.com/problems/longest-common-subsequence| -|21. 合并两个有序链表|4|https://leetcode-cn.com/problems/merge-two-sorted-lists| -|39. 组合总和|4|https://leetcode-cn.com/problems/combination-sum| -|56. 合并区间|4|https://leetcode-cn.com/problems/merge-intervals| -|14. 最长公共前缀|3|https://leetcode-cn.com/problems/longest-common-prefix| -|剑指 Offer 21. 调整数组顺序使奇数位于偶数前面|3|https://leetcode-cn.com/problems/diao-zheng-shu-zu-shun-xu-shi-qi-shu-wei-yu-ou-shu-qian-mian-lcof| -|215. 数组中的第K个最大元素|3|https://leetcode-cn.com/problems/kth-largest-element-in-an-array| -|704. 二分查找|3|https://leetcode-cn.com/problems/binary-search| -|26. 删除排序数组中的重复项|3|https://leetcode-cn.com/problems/remove-duplicates-from-sorted-array| -|88. 合并两个有序数组|3|https://leetcode-cn.com/problems/merge-sorted-array| -|124. 二叉树中的最大路径和|3|https://leetcode-cn.com/problems/binary-tree-maximum-path-sum| -|8. 字符串转换整数 (atoi)|3|https://leetcode-cn.com/problems/string-to-integer-atoi| -|76. 最小覆盖子串|2|https://leetcode-cn.com/problems/minimum-window-substring| -|剑指 Offer 39. 数组中出现次数超过一半的数字|2|https://leetcode-cn.com/problems/shu-zu-zhong-chu-xian-ci-shu-chao-guo-yi-ban-de-shu-zi-lcof| -|146. LRU缓存机制|2|https://leetcode-cn.com/problems/lru-cache| -|19. 删除链表的倒数第N个节点|2|https://leetcode-cn.com/problems/remove-nth-node-from-end-of-list| -|543. 二叉树的直径|2|https://leetcode-cn.com/problems/diameter-of-binary-tree| -|240. 搜索二维矩阵 II|2|https://leetcode-cn.com/problems/search-a-2d-matrix-ii| -|162. 寻找峰值|2|https://leetcode-cn.com/problems/find-peak-element| -|125. 验证回文串|2|https://leetcode-cn.com/problems/valid-palindrome| -|268. 缺失数字|2|https://leetcode-cn.com/problems/missing-number| -|42. 接雨水|2|https://leetcode-cn.com/problems/trapping-rain-water| -|198. 打家劫舍|2|https://leetcode-cn.com/problems/house-robber| -|242. 有效的字母异位词|2|https://leetcode-cn.com/problems/valid-anagram| -|151. 翻转字符串里的单词|2|https://leetcode-cn.com/problems/reverse-words-in-a-string| -|103. 二叉树的锯齿形层次遍历|2|https://leetcode-cn.com/problems/binary-tree-zigzag-level-order-traversal| -|剑指 Offer 10- II. 青蛙跳台阶问题|2|https://leetcode-cn.com/problems/qing-wa-tiao-tai-jie-wen-ti-lcof| -|470. 用 Rand7() 实现 Rand10()|2|https://leetcode-cn.com/problems/implement-rand10-using-rand7| -|93. 复原IP地址|2|https://leetcode-cn.com/problems/restore-ip-addresses| -|283. 移动零|2|https://leetcode-cn.com/problems/move-zeroes| +|3. 无重复字符的最长子串|28|https://leetcode.cn/problems/longest-substring-without-repeating-characters| +|160. 相交链表|11|https://leetcode.cn/problems/intersection-of-two-linked-lists| +|206. 反转链表|11|https://leetcode.cn/problems/reverse-linked-list| +|169. 多数元素|11|https://leetcode.cn/problems/majority-element| +|1. 两数之和|10|https://leetcode.cn/problems/two-sum| +|20. 有效的括号|10|https://leetcode.cn/problems/valid-parentheses| +|415. 字符串相加|8|https://leetcode.cn/problems/add-strings| +|239. 滑动窗口最大值|7|https://leetcode.cn/problems/sliding-window-maximum| +|179. 最大数|6|https://leetcode.cn/problems/largest-number| +|25. K 个一组翻转链表|6|https://leetcode.cn/problems/reverse-nodes-in-k-group| +|121. 买卖股票的最佳时机|6|https://leetcode.cn/problems/best-time-to-buy-and-sell-stock| +|5. 最长回文子串|6|https://leetcode.cn/problems/longest-palindromic-substring| +|83. 删除排序链表中的重复元素|6|https://leetcode.cn/problems/remove-duplicates-from-sorted-list| +|78. 子集|5|https://leetcode.cn/problems/subsets| +|94. 二叉树的中序遍历|5|https://leetcode.cn/problems/binary-tree-inorder-traversal| +|468. 验证IP地址|5|https://leetcode.cn/problems/validate-ip-address| +|15. 三数之和|5|https://leetcode.cn/problems/3sum| +|141. 环形链表|5|https://leetcode.cn/problems/linked-list-cycle| +|718. 最长重复子数组|5|https://leetcode.cn/problems/maximum-length-of-repeated-subarray| +|64. 最小路径和|4|https://leetcode.cn/problems/minimum-path-sum| +|142. 环形链表 II|4|https://leetcode.cn/problems/linked-list-cycle-ii| +|剑指 Offer 61. 扑克牌中的顺子|4|https://leetcode.cn/problems/bu-ke-pai-zhong-de-shun-zi-lcof| +|62. 不同路径|4|https://leetcode.cn/problems/unique-paths| +|70. 爬楼梯|4|https://leetcode.cn/problems/climbing-stairs| +|110. 平衡二叉树|4|https://leetcode.cn/problems/balanced-binary-tree| +|32. 最长有效括号|4|https://leetcode.cn/problems/longest-valid-parentheses| +|1143. 最长公共子序列|4|https://leetcode.cn/problems/longest-common-subsequence| +|21. 合并两个有序链表|4|https://leetcode.cn/problems/merge-two-sorted-lists| +|39. 组合总和|4|https://leetcode.cn/problems/combination-sum| +|56. 合并区间|4|https://leetcode.cn/problems/merge-intervals| +|14. 最长公共前缀|3|https://leetcode.cn/problems/longest-common-prefix| +|剑指 Offer 21. 调整数组顺序使奇数位于偶数前面|3|https://leetcode.cn/problems/diao-zheng-shu-zu-shun-xu-shi-qi-shu-wei-yu-ou-shu-qian-mian-lcof| +|215. 数组中的第K个最大元素|3|https://leetcode.cn/problems/kth-largest-element-in-an-array| +|704. 二分查找|3|https://leetcode.cn/problems/binary-search| +|26. 删除排序数组中的重复项|3|https://leetcode.cn/problems/remove-duplicates-from-sorted-array| +|88. 合并两个有序数组|3|https://leetcode.cn/problems/merge-sorted-array| +|124. 二叉树中的最大路径和|3|https://leetcode.cn/problems/binary-tree-maximum-path-sum| +|8. 字符串转换整数 (atoi)|3|https://leetcode.cn/problems/string-to-integer-atoi| +|76. 最小覆盖子串|2|https://leetcode.cn/problems/minimum-window-substring| +|剑指 Offer 39. 数组中出现次数超过一半的数字|2|https://leetcode.cn/problems/shu-zu-zhong-chu-xian-ci-shu-chao-guo-yi-ban-de-shu-zi-lcof| +|146. LRU缓存机制|2|https://leetcode.cn/problems/lru-cache| +|19. 删除链表的倒数第N个节点|2|https://leetcode.cn/problems/remove-nth-node-from-end-of-list| +|543. 二叉树的直径|2|https://leetcode.cn/problems/diameter-of-binary-tree| +|240. 搜索二维矩阵 II|2|https://leetcode.cn/problems/search-a-2d-matrix-ii| +|162. 寻找峰值|2|https://leetcode.cn/problems/find-peak-element| +|125. 验证回文串|2|https://leetcode.cn/problems/valid-palindrome| +|268. 缺失数字|2|https://leetcode.cn/problems/missing-number| +|42. 接雨水|2|https://leetcode.cn/problems/trapping-rain-water| +|198. 打家劫舍|2|https://leetcode.cn/problems/house-robber| +|242. 有效的字母异位词|2|https://leetcode.cn/problems/valid-anagram| +|151. 翻转字符串里的单词|2|https://leetcode.cn/problems/reverse-words-in-a-string| +|103. 二叉树的锯齿形层次遍历|2|https://leetcode.cn/problems/binary-tree-zigzag-level-order-traversal| +|剑指 Offer 10- II. 青蛙跳台阶问题|2|https://leetcode.cn/problems/qing-wa-tiao-tai-jie-wen-ti-lcof| +|470. 用 Rand7() 实现 Rand10()|2|https://leetcode.cn/problems/implement-rand10-using-rand7| +|93. 复原IP地址|2|https://leetcode.cn/problems/restore-ip-addresses| +|283. 移动零|2|https://leetcode.cn/problems/move-zeroes| |补充题11. 翻转URL字符串里的单词|2|| -|350. 两个数组的交集 II|1|https://leetcode-cn.com/problems/intersection-of-two-arrays-ii| -|51. N皇后|1|https://leetcode-cn.com/problems/n-queens| -|1201. 丑数 III|1|https://leetcode-cn.com/problems/ugly-number-iii| -|344. 反转字符串|1|https://leetcode-cn.com/problems/reverse-string| -|862. 和至少为 K 的最短子数组|1|https://leetcode-cn.com/problems/shortest-subarray-with-sum-at-least-k| -|236. 二叉树的最近公共祖先|1|https://leetcode-cn.com/problems/lowest-common-ancestor-of-a-binary-tree| -|9. 回文数|1|https://leetcode-cn.com/problems/palindrome-number| -|405. 数字转换为十六进制数|1|https://leetcode-cn.com/problems/convert-a-number-to-hexadecimal| -|200. 岛屿数量|1|https://leetcode-cn.com/problems/number-of-islands| -|796. 旋转字符串|1|https://leetcode-cn.com/problems/rotate-string| -|234. 回文链表|1|https://leetcode-cn.com/problems/palindrome-linked-list| -|41. 缺失的第一个正数|1|https://leetcode-cn.com/problems/first-missing-positive| -|498. 对角线遍历|1|https://leetcode-cn.com/problems/diagonal-traverse| -|49. 字母异位词分组|1|https://leetcode-cn.com/problems/group-anagrams| -|79. 单词搜索|1|https://leetcode-cn.com/problems/word-search| -|232. 用栈实现队列|1|https://leetcode-cn.com/problems/implement-queue-using-stacks| -|97. 交错字符串|1|https://leetcode-cn.com/problems/interleaving-string| -|154. 寻找旋转排序数组中的最小值 II|1|https://leetcode-cn.com/problems/find-minimum-in-rotated-sorted-array-ii| -|113. 路径总和 II|1|https://leetcode-cn.com/problems/path-sum-ii| -|443. 压缩字符串|1|https://leetcode-cn.com/problems/string-compression| -|680. 验证回文字符串 Ⅱ|1|https://leetcode-cn.com/problems/valid-palindrome-ii| -|53. 最大子序和|1|https://leetcode-cn.com/problems/maximum-subarray| -|300. 最长上升子序列|1|https://leetcode-cn.com/problems/longest-increasing-subsequence| -|31. 下一个排列|1|https://leetcode-cn.com/problems/next-permutation| -|剑指 Offer 22. 链表中倒数第k个节点|1|https://leetcode-cn.com/problems/lian-biao-zhong-dao-shu-di-kge-jie-dian-lcof| -|224. 基本计算器|1|https://leetcode-cn.com/problems/basic-calculator| -|122. 买卖股票的最佳时机 II|1|https://leetcode-cn.com/problems/best-time-to-buy-and-sell-stock-ii| +|350. 两个数组的交集 II|1|https://leetcode.cn/problems/intersection-of-two-arrays-ii| +|51. N皇后|1|https://leetcode.cn/problems/n-queens| +|1201. 丑数 III|1|https://leetcode.cn/problems/ugly-number-iii| +|344. 反转字符串|1|https://leetcode.cn/problems/reverse-string| +|862. 和至少为 K 的最短子数组|1|https://leetcode.cn/problems/shortest-subarray-with-sum-at-least-k| +|236. 二叉树的最近公共祖先|1|https://leetcode.cn/problems/lowest-common-ancestor-of-a-binary-tree| +|9. 回文数|1|https://leetcode.cn/problems/palindrome-number| +|405. 数字转换为十六进制数|1|https://leetcode.cn/problems/convert-a-number-to-hexadecimal| +|200. 岛屿数量|1|https://leetcode.cn/problems/number-of-islands| +|796. 旋转字符串|1|https://leetcode.cn/problems/rotate-string| +|234. 回文链表|1|https://leetcode.cn/problems/palindrome-linked-list| +|41. 缺失的第一个正数|1|https://leetcode.cn/problems/first-missing-positive| +|498. 对角线遍历|1|https://leetcode.cn/problems/diagonal-traverse| +|49. 字母异位词分组|1|https://leetcode.cn/problems/group-anagrams| +|79. 单词搜索|1|https://leetcode.cn/problems/word-search| +|232. 用栈实现队列|1|https://leetcode.cn/problems/implement-queue-using-stacks| +|97. 交错字符串|1|https://leetcode.cn/problems/interleaving-string| +|154. 寻找旋转排序数组中的最小值 II|1|https://leetcode.cn/problems/find-minimum-in-rotated-sorted-array-ii| +|113. 路径总和 II|1|https://leetcode.cn/problems/path-sum-ii| +|443. 压缩字符串|1|https://leetcode.cn/problems/string-compression| +|680. 验证回文字符串 Ⅱ|1|https://leetcode.cn/problems/valid-palindrome-ii| +|53. 最大子序和|1|https://leetcode.cn/problems/maximum-subarray| +|300. 最长上升子序列|1|https://leetcode.cn/problems/longest-increasing-subsequence| +|31. 下一个排列|1|https://leetcode.cn/problems/next-permutation| +|剑指 Offer 22. 链表中倒数第k个节点|1|https://leetcode.cn/problems/lian-biao-zhong-dao-shu-di-kge-jie-dian-lcof| +|224. 基本计算器|1|https://leetcode.cn/problems/basic-calculator| +|122. 买卖股票的最佳时机 II|1|https://leetcode.cn/problems/best-time-to-buy-and-sell-stock-ii| |补充题1. 排序奇升偶降链表|1|https://mp.weixin.qq.com/s/0WVa2wIAeG0nYnVndZiEXQ| -|958. 二叉树的完全性检验|1|https://leetcode-cn.com/problems/check-completeness-of-a-binary-tree| -|557. 反转字符串中的单词 III|1|https://leetcode-cn.com/problems/reverse-words-in-a-string-iii| -|22. 括号生成|1|https://leetcode-cn.com/problems/generate-parentheses| -|459. 重复的子字符串|1|https://leetcode-cn.com/problems/repeated-substring-pattern| -|102. 二叉树的层序遍历|1|https://leetcode-cn.com/problems/binary-tree-level-order-traversal| -|143. 重排链表|1|https://leetcode-cn.com/problems/reorder-list| -|剑指 Offer 27. 二叉树的镜像|1|https://leetcode-cn.com/problems/er-cha-shu-de-jing-xiang-lcof| -|补充题5. 手撕归并排序|1|https://leetcode-cn.com/problems/sort-an-array| -|226. 翻转二叉树|1|https://leetcode-cn.com/problems/invert-binary-tree| -|144. 二叉树的前序遍历|1|https://leetcode-cn.com/problems/binary-tree-preorder-traversal| -|92. 反转链表 II|1|https://leetcode-cn.com/problems/reverse-linked-list-ii| -|191. 位1的个数|1|https://leetcode-cn.com/problems/number-of-1-bits| -|33. 搜索旋转排序数组|1|https://leetcode-cn.com/problems/search-in-rotated-sorted-array| -|213. 打家劫舍 II|1|https://leetcode-cn.com/problems/house-robber-ii| -|11. 盛最多水的容器|1|https://leetcode-cn.com/problems/container-with-most-water| -|61. 旋转链表|1|https://leetcode-cn.com/problems/rotate-list| -|18. 四数之和|1|https://leetcode-cn.com/problems/4sum| -|2. 两数相加|1|https://leetcode-cn.com/problems/add-two-numbers| -|剑指 Offer 62. 圆圈中最后剩下的数字|1|https://leetcode-cn.com/problems/yuan-quan-zhong-zui-hou-sheng-xia-de-shu-zi-lcof| -|231. 2的幂|1|https://leetcode-cn.com/problems/power-of-two| -|补充题4. 手撕快速排序|1|https://leetcode-cn.com/problems/sort-an-array| -|136. 只出现一次的数字|1|https://leetcode-cn.com/problems/single-number| -|101. 对称二叉树|1|https://leetcode-cn.com/problems/symmetric-tree| -|570. 至少有5名直接下属的经理|1|https://leetcode-cn.com/problems/managers-with-at-least-5-direct-reports| -|82. 删除排序链表中的重复元素 II|1|https://leetcode-cn.com/problems/remove-duplicates-from-sorted-list-ii| -|950. 按递增顺序显示卡牌|1|https://leetcode-cn.com/problems/reveal-cards-in-increasing-order| -|剑指 Offer 11. 旋转数组的最小数字|1|https://leetcode-cn.com/problems/xuan-zhuan-shu-zu-de-zui-xiao-shu-zi-lcof| -|199. 二叉树的右视图|1|https://leetcode-cn.com/problems/binary-tree-right-side-view| -|补充题6. 手撕堆排序|1|https://leetcode-cn.com/problems/sort-an-array| -|738. 单调递增的数字|1|https://leetcode-cn.com/problems/monotone-increasing-digits| -|745. 前缀和后缀搜索|1|https://leetcode-cn.com/problems/prefix-and-suffix-search| +|958. 二叉树的完全性检验|1|https://leetcode.cn/problems/check-completeness-of-a-binary-tree| +|557. 反转字符串中的单词 III|1|https://leetcode.cn/problems/reverse-words-in-a-string-iii| +|22. 括号生成|1|https://leetcode.cn/problems/generate-parentheses| +|459. 重复的子字符串|1|https://leetcode.cn/problems/repeated-substring-pattern| +|102. 二叉树的层序遍历|1|https://leetcode.cn/problems/binary-tree-level-order-traversal| +|143. 重排链表|1|https://leetcode.cn/problems/reorder-list| +|剑指 Offer 27. 二叉树的镜像|1|https://leetcode.cn/problems/er-cha-shu-de-jing-xiang-lcof| +|补充题5. 手撕归并排序|1|https://leetcode.cn/problems/sort-an-array| +|226. 翻转二叉树|1|https://leetcode.cn/problems/invert-binary-tree| +|144. 二叉树的前序遍历|1|https://leetcode.cn/problems/binary-tree-preorder-traversal| +|92. 反转链表 II|1|https://leetcode.cn/problems/reverse-linked-list-ii| +|191. 位1的个数|1|https://leetcode.cn/problems/number-of-1-bits| +|33. 搜索旋转排序数组|1|https://leetcode.cn/problems/search-in-rotated-sorted-array| +|213. 打家劫舍 II|1|https://leetcode.cn/problems/house-robber-ii| +|11. 盛最多水的容器|1|https://leetcode.cn/problems/container-with-most-water| +|61. 旋转链表|1|https://leetcode.cn/problems/rotate-list| +|18. 四数之和|1|https://leetcode.cn/problems/4sum| +|2. 两数相加|1|https://leetcode.cn/problems/add-two-numbers| +|剑指 Offer 62. 圆圈中最后剩下的数字|1|https://leetcode.cn/problems/yuan-quan-zhong-zui-hou-sheng-xia-de-shu-zi-lcof| +|231. 2的幂|1|https://leetcode.cn/problems/power-of-two| +|补充题4. 手撕快速排序|1|https://leetcode.cn/problems/sort-an-array| +|136. 只出现一次的数字|1|https://leetcode.cn/problems/single-number| +|101. 对称二叉树|1|https://leetcode.cn/problems/symmetric-tree| +|570. 至少有5名直接下属的经理|1|https://leetcode.cn/problems/managers-with-at-least-5-direct-reports| +|82. 删除排序链表中的重复元素 II|1|https://leetcode.cn/problems/remove-duplicates-from-sorted-list-ii| +|950. 按递增顺序显示卡牌|1|https://leetcode.cn/problems/reveal-cards-in-increasing-order| +|剑指 Offer 11. 旋转数组的最小数字|1|https://leetcode.cn/problems/xuan-zhuan-shu-zu-de-zui-xiao-shu-zi-lcof| +|199. 二叉树的右视图|1|https://leetcode.cn/problems/binary-tree-right-side-view| +|补充题6. 手撕堆排序|1|https://leetcode.cn/problems/sort-an-array| +|738. 单调递增的数字|1|https://leetcode.cn/problems/monotone-increasing-digits| +|745. 前缀和后缀搜索|1|https://leetcode.cn/problems/prefix-and-suffix-search| Software Engineer |题目|出现次数|链接| |-|-|-| -|146. LRU缓存机制|2|https://leetcode-cn.com/problems/lru-cache| -|80. 删除排序数组中的重复项 II|1|https://leetcode-cn.com/problems/remove-duplicates-from-sorted-array-ii| -|76. 最小覆盖子串|1|https://leetcode-cn.com/problems/minimum-window-substring| -|215. 数组中的第K个最大元素|1|https://leetcode-cn.com/problems/kth-largest-element-in-an-array| -|1. 两数之和|1|https://leetcode-cn.com/problems/two-sum| -|704. 二分查找|1|https://leetcode-cn.com/problems/binary-search| -|232. 用栈实现队列|1|https://leetcode-cn.com/problems/implement-queue-using-stacks| -|165. 比较版本号|1|https://leetcode-cn.com/problems/compare-version-numbers| -|470. 用 Rand7() 实现 Rand10()|1|https://leetcode-cn.com/problems/implement-rand10-using-rand7| -|149. 直线上最多的点数|1|https://leetcode-cn.com/problems/max-points-on-a-line| +|146. LRU缓存机制|2|https://leetcode.cn/problems/lru-cache| +|80. 删除排序数组中的重复项 II|1|https://leetcode.cn/problems/remove-duplicates-from-sorted-array-ii| +|76. 最小覆盖子串|1|https://leetcode.cn/problems/minimum-window-substring| +|215. 数组中的第K个最大元素|1|https://leetcode.cn/problems/kth-largest-element-in-an-array| +|1. 两数之和|1|https://leetcode.cn/problems/two-sum| +|704. 二分查找|1|https://leetcode.cn/problems/binary-search| +|232. 用栈实现队列|1|https://leetcode.cn/problems/implement-queue-using-stacks| +|165. 比较版本号|1|https://leetcode.cn/problems/compare-version-numbers| +|470. 用 Rand7() 实现 Rand10()|1|https://leetcode.cn/problems/implement-rand10-using-rand7| +|149. 直线上最多的点数|1|https://leetcode.cn/problems/max-points-on-a-line| diff --git a/kuaishou/algorithm.md b/kuaishou/algorithm.md index 26c5974..0db7c07 100644 --- a/kuaishou/algorithm.md +++ b/kuaishou/algorithm.md @@ -2,21 +2,21 @@ |题目|出现次数|链接| |-|-|-| -|103. 二叉树的锯齿形层次遍历|2|https://leetcode-cn.com/problems/binary-tree-zigzag-level-order-traversal| -|72. 编辑距离|2|https://leetcode-cn.com/problems/edit-distance| -|46. 全排列|2|https://leetcode-cn.com/problems/permutations| -|23. 合并K个排序链表|2|https://leetcode-cn.com/problems/merge-k-sorted-lists| -|206. 反转链表|2|https://leetcode-cn.com/problems/reverse-linked-list| -|144. 二叉树的前序遍历|1|https://leetcode-cn.com/problems/binary-tree-preorder-traversal| -|15. 三数之和|1|https://leetcode-cn.com/problems/3sum| +|103. 二叉树的锯齿形层次遍历|2|https://leetcode.cn/problems/binary-tree-zigzag-level-order-traversal| +|72. 编辑距离|2|https://leetcode.cn/problems/edit-distance| +|46. 全排列|2|https://leetcode.cn/problems/permutations| +|23. 合并K个排序链表|2|https://leetcode.cn/problems/merge-k-sorted-lists| +|206. 反转链表|2|https://leetcode.cn/problems/reverse-linked-list| +|144. 二叉树的前序遍历|1|https://leetcode.cn/problems/binary-tree-preorder-traversal| +|15. 三数之和|1|https://leetcode.cn/problems/3sum| |补充题8. 计算数组的小和|1|https://mp.weixin.qq.com/s/0ih4W6nawzFUPSj3GOnYTQ| -|300. 最长上升子序列|1|https://leetcode-cn.com/problems/longest-increasing-subsequence| -|199. 二叉树的右视图|1|https://leetcode-cn.com/problems/binary-tree-right-side-view| -|202. 快乐数|1|https://leetcode-cn.com/problems/happy-number| -|268. 缺失数字|1|https://leetcode-cn.com/problems/missing-number| -|121. 买卖股票的最佳时机|1|https://leetcode-cn.com/problems/best-time-to-buy-and-sell-stock| +|300. 最长上升子序列|1|https://leetcode.cn/problems/longest-increasing-subsequence| +|199. 二叉树的右视图|1|https://leetcode.cn/problems/binary-tree-right-side-view| +|202. 快乐数|1|https://leetcode.cn/problems/happy-number| +|268. 缺失数字|1|https://leetcode.cn/problems/missing-number| +|121. 买卖股票的最佳时机|1|https://leetcode.cn/problems/best-time-to-buy-and-sell-stock| |补充题4. 手撕快速排序|1|| -|102. 二叉树的层序遍历|1|https://leetcode-cn.com/problems/binary-tree-level-order-traversal| -|236. 二叉树的最近公共祖先|1|https://leetcode-cn.com/problems/lowest-common-ancestor-of-a-binary-tree| -|322. 零钱兑换|1|https://leetcode-cn.com/problems/coin-change| -|226. 翻转二叉树|1|https://leetcode-cn.com/problems/invert-binary-tree| \ No newline at end of file +|102. 二叉树的层序遍历|1|https://leetcode.cn/problems/binary-tree-level-order-traversal| +|236. 二叉树的最近公共祖先|1|https://leetcode.cn/problems/lowest-common-ancestor-of-a-binary-tree| +|322. 零钱兑换|1|https://leetcode.cn/problems/coin-change| +|226. 翻转二叉树|1|https://leetcode.cn/problems/invert-binary-tree| \ No newline at end of file diff --git a/kuaishou/backend.md b/kuaishou/backend.md index 42d0726..04c480b 100644 --- a/kuaishou/backend.md +++ b/kuaishou/backend.md @@ -1,140 +1,140 @@ # 后端 |题目|出现次数|链接| |-|-|-| -|206. 反转链表|15|https://leetcode-cn.com/problems/reverse-linked-list| -|160. 相交链表|8|https://leetcode-cn.com/problems/intersection-of-two-linked-lists| +|206. 反转链表|15|https://leetcode.cn/problems/reverse-linked-list| +|160. 相交链表|8|https://leetcode.cn/problems/intersection-of-two-linked-lists| |补充题4. 手撕快速排序|7|| -|146. LRU缓存机制|7|https://leetcode-cn.com/problems/lru-cache| -|21. 合并两个有序链表|7|https://leetcode-cn.com/problems/merge-two-sorted-lists| -|215. 数组中的第K个最大元素|7|https://leetcode-cn.com/problems/kth-largest-element-in-an-array| -|88. 合并两个有序数组|6|https://leetcode-cn.com/problems/merge-sorted-array| -|141. 环形链表|5|https://leetcode-cn.com/problems/linked-list-cycle| -|92. 反转链表 II|5|https://leetcode-cn.com/problems/reverse-linked-list-ii| -|151. 翻转字符串里的单词|5|https://leetcode-cn.com/problems/reverse-words-in-a-string| -|2. 两数相加|5|https://leetcode-cn.com/problems/add-two-numbers| -|3. 无重复字符的最长子串|5|https://leetcode-cn.com/problems/longest-substring-without-repeating-characters| -|155. 最小栈|4|https://leetcode-cn.com/problems/min-stack| -|144. 二叉树的前序遍历|4|https://leetcode-cn.com/problems/binary-tree-preorder-traversal| -|136. 只出现一次的数字|4|https://leetcode-cn.com/problems/single-number| -|34. 在排序数组中查找元素的第一个和最后一个位置|4|https://leetcode-cn.com/problems/find-first-and-last-position-of-element-in-sorted-array| -|20. 有效的括号|4|https://leetcode-cn.com/problems/valid-parentheses| -|148. 排序链表|4|https://leetcode-cn.com/problems/sort-list| -|24. 两两交换链表中的节点|4|https://leetcode-cn.com/problems/swap-nodes-in-pairs| -|415. 字符串相加|4|https://leetcode-cn.com/problems/add-strings| -|142. 环形链表 II|3|https://leetcode-cn.com/problems/linked-list-cycle-ii| -|46. 全排列|3|https://leetcode-cn.com/problems/permutations| -|剑指 Offer 10- II. 青蛙跳台阶问题|3|https://leetcode-cn.com/problems/qing-wa-tiao-tai-jie-wen-ti-lcof| -|剑指 Offer 22. 链表中倒数第k个节点|3|https://leetcode-cn.com/problems/lian-biao-zhong-dao-shu-di-kge-jie-dian-lcof| -|150. 逆波兰表达式求值|3|https://leetcode-cn.com/problems/evaluate-reverse-polish-notation| -|94. 二叉树的中序遍历|3|https://leetcode-cn.com/problems/binary-tree-inorder-traversal| -|128. 最长连续序列|3|https://leetcode-cn.com/problems/longest-consecutive-sequence| +|146. LRU缓存机制|7|https://leetcode.cn/problems/lru-cache| +|21. 合并两个有序链表|7|https://leetcode.cn/problems/merge-two-sorted-lists| +|215. 数组中的第K个最大元素|7|https://leetcode.cn/problems/kth-largest-element-in-an-array| +|88. 合并两个有序数组|6|https://leetcode.cn/problems/merge-sorted-array| +|141. 环形链表|5|https://leetcode.cn/problems/linked-list-cycle| +|92. 反转链表 II|5|https://leetcode.cn/problems/reverse-linked-list-ii| +|151. 翻转字符串里的单词|5|https://leetcode.cn/problems/reverse-words-in-a-string| +|2. 两数相加|5|https://leetcode.cn/problems/add-two-numbers| +|3. 无重复字符的最长子串|5|https://leetcode.cn/problems/longest-substring-without-repeating-characters| +|155. 最小栈|4|https://leetcode.cn/problems/min-stack| +|144. 二叉树的前序遍历|4|https://leetcode.cn/problems/binary-tree-preorder-traversal| +|136. 只出现一次的数字|4|https://leetcode.cn/problems/single-number| +|34. 在排序数组中查找元素的第一个和最后一个位置|4|https://leetcode.cn/problems/find-first-and-last-position-of-element-in-sorted-array| +|20. 有效的括号|4|https://leetcode.cn/problems/valid-parentheses| +|148. 排序链表|4|https://leetcode.cn/problems/sort-list| +|24. 两两交换链表中的节点|4|https://leetcode.cn/problems/swap-nodes-in-pairs| +|415. 字符串相加|4|https://leetcode.cn/problems/add-strings| +|142. 环形链表 II|3|https://leetcode.cn/problems/linked-list-cycle-ii| +|46. 全排列|3|https://leetcode.cn/problems/permutations| +|剑指 Offer 10- II. 青蛙跳台阶问题|3|https://leetcode.cn/problems/qing-wa-tiao-tai-jie-wen-ti-lcof| +|剑指 Offer 22. 链表中倒数第k个节点|3|https://leetcode.cn/problems/lian-biao-zhong-dao-shu-di-kge-jie-dian-lcof| +|150. 逆波兰表达式求值|3|https://leetcode.cn/problems/evaluate-reverse-polish-notation| +|94. 二叉树的中序遍历|3|https://leetcode.cn/problems/binary-tree-inorder-traversal| +|128. 最长连续序列|3|https://leetcode.cn/problems/longest-consecutive-sequence| |补充题8. 计算数组的小和|3|https://mp.weixin.qq.com/s/0ih4W6nawzFUPSj3GOnYTQ| -|121. 买卖股票的最佳时机|3|https://leetcode-cn.com/problems/best-time-to-buy-and-sell-stock| +|121. 买卖股票的最佳时机|3|https://leetcode.cn/problems/best-time-to-buy-and-sell-stock| |补充题5. 手撕归并排序|3|| -|69. x 的平方根|3|https://leetcode-cn.com/problems/sqrtx| -|103. 二叉树的锯齿形层次遍历|3|https://leetcode-cn.com/problems/binary-tree-zigzag-level-order-traversal| -|102. 二叉树的层序遍历|3|https://leetcode-cn.com/problems/binary-tree-level-order-traversal| -|剑指 Offer 51. 数组中的逆序对|3|https://leetcode-cn.com/problems/shu-zu-zhong-de-ni-xu-dui-lcof| -|剑指 Offer 21. 调整数组顺序使奇数位于偶数前面|3|https://leetcode-cn.com/problems/diao-zheng-shu-zu-shun-xu-shi-qi-shu-wei-yu-ou-shu-qian-mian-lcof| -|76. 最小覆盖子串|3|https://leetcode-cn.com/problems/minimum-window-substring| -|15. 三数之和|2|https://leetcode-cn.com/problems/3sum| -|145. 二叉树的后序遍历|2|https://leetcode-cn.com/problems/binary-tree-postorder-traversal| -|543. 二叉树的直径|2|https://leetcode-cn.com/problems/diameter-of-binary-tree| -|845. 数组中的最长山脉|2|https://leetcode-cn.com/problems/longest-mountain-in-array| -|剑指 Offer 18. 删除链表的节点|2|https://leetcode-cn.com/problems/shan-chu-lian-biao-de-jie-dian-lcof| -|1143. 最长公共子序列|2|https://leetcode-cn.com/problems/longest-common-subsequence| -|剑指 Offer 19. 正则表达式匹配|2|https://leetcode-cn.com/problems/zheng-ze-biao-da-shi-pi-pei-lcof| -|509. 斐波那契数|2|https://leetcode-cn.com/problems/fibonacci-number| -|226. 翻转二叉树|2|https://leetcode-cn.com/problems/invert-binary-tree| -|93. 复原IP地址|2|https://leetcode-cn.com/problems/restore-ip-addresses| -|1047. 删除字符串中的所有相邻重复项|2|https://leetcode-cn.com/problems/remove-all-adjacent-duplicates-in-string| -|43. 字符串相乘|2|https://leetcode-cn.com/problems/multiply-strings| -|113. 路径总和 II|2|https://leetcode-cn.com/problems/path-sum-ii| -|718. 最长重复子数组|2|https://leetcode-cn.com/problems/maximum-length-of-repeated-subarray| -|剑指 Offer 55 - I. 二叉树的深度|2|https://leetcode-cn.com/problems/er-cha-shu-de-shen-du-lcof| -|78. 子集|2|https://leetcode-cn.com/problems/subsets| -|498. 对角线遍历|2|https://leetcode-cn.com/problems/diagonal-traverse| -|122. 买卖股票的最佳时机 II|2|https://leetcode-cn.com/problems/best-time-to-buy-and-sell-stock-ii| -|剑指 Offer 36. 二叉搜索树与双向链表|2|https://leetcode-cn.com/problems/er-cha-sou-suo-shu-yu-shuang-xiang-lian-biao-lcof| -|200. 岛屿数量|2|https://leetcode-cn.com/problems/number-of-islands| -|33. 搜索旋转排序数组|2|https://leetcode-cn.com/problems/search-in-rotated-sorted-array| -|54. 螺旋矩阵|2|https://leetcode-cn.com/problems/spiral-matrix| -|225. 用队列实现栈|2|https://leetcode-cn.com/problems/implement-stack-using-queues| -|23. 合并K个排序链表|2|https://leetcode-cn.com/problems/merge-k-sorted-lists| -|104. 二叉树的最大深度|2|https://leetcode-cn.com/problems/maximum-depth-of-binary-tree| -|318. 最大单词长度乘积|1|https://leetcode-cn.com/problems/maximum-product-of-word-lengths| -|321. 拼接最大数|1|https://leetcode-cn.com/problems/create-maximum-number| -|面试题 17.01. 不用加号的加法|1|https://leetcode-cn.com/problems/add-without-plus-lcci| -|468. 验证IP地址|1|https://leetcode-cn.com/problems/validate-ip-address| -|16. 最接近的三数之和|1|https://leetcode-cn.com/problems/3sum-closest| -|239. 滑动窗口最大值|1|https://leetcode-cn.com/problems/sliding-window-maximum| -|470. 用 Rand7() 实现 Rand10()|1|https://leetcode-cn.com/problems/implement-rand10-using-rand7| -|8. 字符串转换整数 (atoi)|1|https://leetcode-cn.com/problems/string-to-integer-atoi| -|剑指 Offer 24. 反转链表|1|https://leetcode-cn.com/problems/fan-zhuan-lian-biao-lcof| -|67. 二进制求和|1|https://leetcode-cn.com/problems/add-binary| -|450. 删除二叉搜索树中的节点|1|https://leetcode-cn.com/problems/delete-node-in-a-bst| -|322. 零钱兑换|1|https://leetcode-cn.com/problems/coin-change| -|220. 存在重复元素 III|1|https://leetcode-cn.com/problems/contains-duplicate-iii| -|剑指 Offer 04. 二维数组中的查找|1|https://leetcode-cn.com/problems/er-wei-shu-zu-zhong-de-cha-zhao-lcof| -|48. 旋转图像|1|https://leetcode-cn.com/problems/rotate-image| -|337. 打家劫舍 III|1|https://leetcode-cn.com/problems/house-robber-iii| -|191. 位1的个数|1|https://leetcode-cn.com/problems/number-of-1-bits| -|22. 括号生成|1|https://leetcode-cn.com/problems/generate-parentheses| -|5. 最长回文子串|1|https://leetcode-cn.com/problems/longest-palindromic-substring| -|224. 基本计算器|1|https://leetcode-cn.com/problems/basic-calculator| -|701. 二叉搜索树中的插入操作|1|https://leetcode-cn.com/problems/insert-into-a-binary-search-tree| -|111. 二叉树的最小深度|1|https://leetcode-cn.com/problems/minimum-depth-of-binary-tree| -|110. 平衡二叉树|1|https://leetcode-cn.com/problems/balanced-binary-tree| -|210. 课程表 II|1|https://leetcode-cn.com/problems/course-schedule-ii| -|480. 滑动窗口中位数|1|https://leetcode-cn.com/problems/sliding-window-median| -|137. 只出现一次的数字 II|1|https://leetcode-cn.com/problems/single-number-ii| -|剑指 Offer 41. 数据流中的中位数|1|https://leetcode-cn.com/problems/shu-ju-liu-zhong-de-zhong-wei-shu-lcof| -|42. 接雨水|1|https://leetcode-cn.com/problems/trapping-rain-water| -|82. 删除排序链表中的重复元素 II|1|https://leetcode-cn.com/problems/remove-duplicates-from-sorted-list-ii| -|230. 二叉搜索树中第K小的元素|1|https://leetcode-cn.com/problems/kth-smallest-element-in-a-bst| -|剑指 Offer 10- I. 斐波那契数列|1|https://leetcode-cn.com/problems/fei-bo-na-qi-shu-lie-lcof| -|169. 多数元素|1|https://leetcode-cn.com/problems/majority-element| -|59. 螺旋矩阵 II|1|https://leetcode-cn.com/problems/spiral-matrix-ii| -|74. 搜索二维矩阵|1|https://leetcode-cn.com/problems/search-a-2d-matrix| -|236. 二叉树的最近公共祖先|1|https://leetcode-cn.com/problems/lowest-common-ancestor-of-a-binary-tree| -|1. 两数之和|1|https://leetcode-cn.com/problems/two-sum| -|75. 颜色分类|1|https://leetcode-cn.com/problems/sort-colors| -|207. 课程表|1|https://leetcode-cn.com/problems/course-schedule| -|64. 最小路径和|1|https://leetcode-cn.com/problems/minimum-path-sum| -|1156. 单字符重复子串的最大长度|1|https://leetcode-cn.com/problems/swap-for-longest-repeated-character-substring| -|剑指 Offer 43. 1~n整数中1出现的次数|1|https://leetcode-cn.com/problems/1nzheng-shu-zhong-1chu-xian-de-ci-shu-lcof| -|14. 最长公共前缀|1|https://leetcode-cn.com/problems/longest-common-prefix| -|面试题 16.06. 最小差|1|https://leetcode-cn.com/problems/smallest-difference-lcci| -|1493. 删掉一个元素以后全为 1 的最长子数组|1|https://leetcode-cn.com/problems/longest-subarray-of-1s-after-deleting-one-element| -|剑指 Offer 09. 用两个栈实现队列|1|https://leetcode-cn.com/problems/yong-liang-ge-zhan-shi-xian-dui-lie-lcof| -|1027. 最长等差数列|1|https://leetcode-cn.com/problems/longest-arithmetic-subsequence| -|1464. 数组中两元素的最大乘积|1|https://leetcode-cn.com/problems/maximum-product-of-two-elements-in-an-array| -|235. 二叉搜索树的最近公共祖先|1|https://leetcode-cn.com/problems/lowest-common-ancestor-of-a-binary-search-tree| -|204. 计数质数|1|https://leetcode-cn.com/problems/count-primes| -|83. 删除排序链表中的重复元素|1|https://leetcode-cn.com/problems/remove-duplicates-from-sorted-list| -|958. 二叉树的完全性检验|1|https://leetcode-cn.com/problems/check-completeness-of-a-binary-tree| -|312. 戳气球|1|https://leetcode-cn.com/problems/burst-balloons| -|剑指 Offer 25. 合并两个排序的链表|1|https://leetcode-cn.com/problems/he-bing-liang-ge-pai-xu-de-lian-biao-lcof| -|9. 回文数|1|https://leetcode-cn.com/problems/palindrome-number| -|25. K 个一组翻转链表|1|https://leetcode-cn.com/problems/reverse-nodes-in-k-group| -|199. 二叉树的右视图|1|https://leetcode-cn.com/problems/binary-tree-right-side-view| -|240. 搜索二维矩阵 II|1|https://leetcode-cn.com/problems/search-a-2d-matrix-ii| -|1312. 让字符串成为回文串的最少插入次数|1|https://leetcode-cn.com/problems/minimum-insertion-steps-to-make-a-string-palindrome| -|6. Z 字形变换|1|https://leetcode-cn.com/problems/zigzag-conversion| -|189. 旋转数组|1|https://leetcode-cn.com/problems/rotate-array| -|19. 删除链表的倒数第N个节点|1|https://leetcode-cn.com/problems/remove-nth-node-from-end-of-list| -|53. 最大子序和|1|https://leetcode-cn.com/problems/maximum-subarray| -|232. 用栈实现队列|1|https://leetcode-cn.com/problems/implement-queue-using-stacks| -|572. 另一个树的子树|1|https://leetcode-cn.com/problems/subtree-of-another-tree| -|704. 二分查找|1|https://leetcode-cn.com/problems/binary-search| -|238. 除自身以外数组的乘积|1|https://leetcode-cn.com/problems/product-of-array-except-self| -|剑指 Offer 42. 连续子数组的最大和|1|https://leetcode-cn.com/problems/lian-xu-zi-shu-zu-de-zui-da-he-lcof| -|138. 复制带随机指针的链表|1|https://leetcode-cn.com/problems/copy-list-with-random-pointer| -|剑指 Offer 32 - III. 从上到下打印二叉树 III|1|https://leetcode-cn.com/problems/cong-shang-dao-xia-da-yin-er-cha-shu-iii-lcof| -|129. 求根到叶子节点数字之和|1|https://leetcode-cn.com/problems/sum-root-to-leaf-numbers| -|101. 对称二叉树|1|https://leetcode-cn.com/problems/symmetric-tree| -|540. 有序数组中的单一元素|1|https://leetcode-cn.com/problems/single-element-in-a-sorted-array| -|剑指 Offer 12. 矩阵中的路径|1|https://leetcode-cn.com/problems/ju-zhen-zhong-de-lu-jing-lcof| -|208. 实现 Trie (前缀树)|1|https://leetcode-cn.com/problems/implement-trie-prefix-tree| -|剑指 Offer 40. 最小的k个数|1|https://leetcode-cn.com/problems/zui-xiao-de-kge-shu-lcof| -|40. 组合总和 II|1|https://leetcode-cn.com/problems/combination-sum-ii| \ No newline at end of file +|69. x 的平方根|3|https://leetcode.cn/problems/sqrtx| +|103. 二叉树的锯齿形层次遍历|3|https://leetcode.cn/problems/binary-tree-zigzag-level-order-traversal| +|102. 二叉树的层序遍历|3|https://leetcode.cn/problems/binary-tree-level-order-traversal| +|剑指 Offer 51. 数组中的逆序对|3|https://leetcode.cn/problems/shu-zu-zhong-de-ni-xu-dui-lcof| +|剑指 Offer 21. 调整数组顺序使奇数位于偶数前面|3|https://leetcode.cn/problems/diao-zheng-shu-zu-shun-xu-shi-qi-shu-wei-yu-ou-shu-qian-mian-lcof| +|76. 最小覆盖子串|3|https://leetcode.cn/problems/minimum-window-substring| +|15. 三数之和|2|https://leetcode.cn/problems/3sum| +|145. 二叉树的后序遍历|2|https://leetcode.cn/problems/binary-tree-postorder-traversal| +|543. 二叉树的直径|2|https://leetcode.cn/problems/diameter-of-binary-tree| +|845. 数组中的最长山脉|2|https://leetcode.cn/problems/longest-mountain-in-array| +|剑指 Offer 18. 删除链表的节点|2|https://leetcode.cn/problems/shan-chu-lian-biao-de-jie-dian-lcof| +|1143. 最长公共子序列|2|https://leetcode.cn/problems/longest-common-subsequence| +|剑指 Offer 19. 正则表达式匹配|2|https://leetcode.cn/problems/zheng-ze-biao-da-shi-pi-pei-lcof| +|509. 斐波那契数|2|https://leetcode.cn/problems/fibonacci-number| +|226. 翻转二叉树|2|https://leetcode.cn/problems/invert-binary-tree| +|93. 复原IP地址|2|https://leetcode.cn/problems/restore-ip-addresses| +|1047. 删除字符串中的所有相邻重复项|2|https://leetcode.cn/problems/remove-all-adjacent-duplicates-in-string| +|43. 字符串相乘|2|https://leetcode.cn/problems/multiply-strings| +|113. 路径总和 II|2|https://leetcode.cn/problems/path-sum-ii| +|718. 最长重复子数组|2|https://leetcode.cn/problems/maximum-length-of-repeated-subarray| +|剑指 Offer 55 - I. 二叉树的深度|2|https://leetcode.cn/problems/er-cha-shu-de-shen-du-lcof| +|78. 子集|2|https://leetcode.cn/problems/subsets| +|498. 对角线遍历|2|https://leetcode.cn/problems/diagonal-traverse| +|122. 买卖股票的最佳时机 II|2|https://leetcode.cn/problems/best-time-to-buy-and-sell-stock-ii| +|剑指 Offer 36. 二叉搜索树与双向链表|2|https://leetcode.cn/problems/er-cha-sou-suo-shu-yu-shuang-xiang-lian-biao-lcof| +|200. 岛屿数量|2|https://leetcode.cn/problems/number-of-islands| +|33. 搜索旋转排序数组|2|https://leetcode.cn/problems/search-in-rotated-sorted-array| +|54. 螺旋矩阵|2|https://leetcode.cn/problems/spiral-matrix| +|225. 用队列实现栈|2|https://leetcode.cn/problems/implement-stack-using-queues| +|23. 合并K个排序链表|2|https://leetcode.cn/problems/merge-k-sorted-lists| +|104. 二叉树的最大深度|2|https://leetcode.cn/problems/maximum-depth-of-binary-tree| +|318. 最大单词长度乘积|1|https://leetcode.cn/problems/maximum-product-of-word-lengths| +|321. 拼接最大数|1|https://leetcode.cn/problems/create-maximum-number| +|面试题 17.01. 不用加号的加法|1|https://leetcode.cn/problems/add-without-plus-lcci| +|468. 验证IP地址|1|https://leetcode.cn/problems/validate-ip-address| +|16. 最接近的三数之和|1|https://leetcode.cn/problems/3sum-closest| +|239. 滑动窗口最大值|1|https://leetcode.cn/problems/sliding-window-maximum| +|470. 用 Rand7() 实现 Rand10()|1|https://leetcode.cn/problems/implement-rand10-using-rand7| +|8. 字符串转换整数 (atoi)|1|https://leetcode.cn/problems/string-to-integer-atoi| +|剑指 Offer 24. 反转链表|1|https://leetcode.cn/problems/fan-zhuan-lian-biao-lcof| +|67. 二进制求和|1|https://leetcode.cn/problems/add-binary| +|450. 删除二叉搜索树中的节点|1|https://leetcode.cn/problems/delete-node-in-a-bst| +|322. 零钱兑换|1|https://leetcode.cn/problems/coin-change| +|220. 存在重复元素 III|1|https://leetcode.cn/problems/contains-duplicate-iii| +|剑指 Offer 04. 二维数组中的查找|1|https://leetcode.cn/problems/er-wei-shu-zu-zhong-de-cha-zhao-lcof| +|48. 旋转图像|1|https://leetcode.cn/problems/rotate-image| +|337. 打家劫舍 III|1|https://leetcode.cn/problems/house-robber-iii| +|191. 位1的个数|1|https://leetcode.cn/problems/number-of-1-bits| +|22. 括号生成|1|https://leetcode.cn/problems/generate-parentheses| +|5. 最长回文子串|1|https://leetcode.cn/problems/longest-palindromic-substring| +|224. 基本计算器|1|https://leetcode.cn/problems/basic-calculator| +|701. 二叉搜索树中的插入操作|1|https://leetcode.cn/problems/insert-into-a-binary-search-tree| +|111. 二叉树的最小深度|1|https://leetcode.cn/problems/minimum-depth-of-binary-tree| +|110. 平衡二叉树|1|https://leetcode.cn/problems/balanced-binary-tree| +|210. 课程表 II|1|https://leetcode.cn/problems/course-schedule-ii| +|480. 滑动窗口中位数|1|https://leetcode.cn/problems/sliding-window-median| +|137. 只出现一次的数字 II|1|https://leetcode.cn/problems/single-number-ii| +|剑指 Offer 41. 数据流中的中位数|1|https://leetcode.cn/problems/shu-ju-liu-zhong-de-zhong-wei-shu-lcof| +|42. 接雨水|1|https://leetcode.cn/problems/trapping-rain-water| +|82. 删除排序链表中的重复元素 II|1|https://leetcode.cn/problems/remove-duplicates-from-sorted-list-ii| +|230. 二叉搜索树中第K小的元素|1|https://leetcode.cn/problems/kth-smallest-element-in-a-bst| +|剑指 Offer 10- I. 斐波那契数列|1|https://leetcode.cn/problems/fei-bo-na-qi-shu-lie-lcof| +|169. 多数元素|1|https://leetcode.cn/problems/majority-element| +|59. 螺旋矩阵 II|1|https://leetcode.cn/problems/spiral-matrix-ii| +|74. 搜索二维矩阵|1|https://leetcode.cn/problems/search-a-2d-matrix| +|236. 二叉树的最近公共祖先|1|https://leetcode.cn/problems/lowest-common-ancestor-of-a-binary-tree| +|1. 两数之和|1|https://leetcode.cn/problems/two-sum| +|75. 颜色分类|1|https://leetcode.cn/problems/sort-colors| +|207. 课程表|1|https://leetcode.cn/problems/course-schedule| +|64. 最小路径和|1|https://leetcode.cn/problems/minimum-path-sum| +|1156. 单字符重复子串的最大长度|1|https://leetcode.cn/problems/swap-for-longest-repeated-character-substring| +|剑指 Offer 43. 1~n整数中1出现的次数|1|https://leetcode.cn/problems/1nzheng-shu-zhong-1chu-xian-de-ci-shu-lcof| +|14. 最长公共前缀|1|https://leetcode.cn/problems/longest-common-prefix| +|面试题 16.06. 最小差|1|https://leetcode.cn/problems/smallest-difference-lcci| +|1493. 删掉一个元素以后全为 1 的最长子数组|1|https://leetcode.cn/problems/longest-subarray-of-1s-after-deleting-one-element| +|剑指 Offer 09. 用两个栈实现队列|1|https://leetcode.cn/problems/yong-liang-ge-zhan-shi-xian-dui-lie-lcof| +|1027. 最长等差数列|1|https://leetcode.cn/problems/longest-arithmetic-subsequence| +|1464. 数组中两元素的最大乘积|1|https://leetcode.cn/problems/maximum-product-of-two-elements-in-an-array| +|235. 二叉搜索树的最近公共祖先|1|https://leetcode.cn/problems/lowest-common-ancestor-of-a-binary-search-tree| +|204. 计数质数|1|https://leetcode.cn/problems/count-primes| +|83. 删除排序链表中的重复元素|1|https://leetcode.cn/problems/remove-duplicates-from-sorted-list| +|958. 二叉树的完全性检验|1|https://leetcode.cn/problems/check-completeness-of-a-binary-tree| +|312. 戳气球|1|https://leetcode.cn/problems/burst-balloons| +|剑指 Offer 25. 合并两个排序的链表|1|https://leetcode.cn/problems/he-bing-liang-ge-pai-xu-de-lian-biao-lcof| +|9. 回文数|1|https://leetcode.cn/problems/palindrome-number| +|25. K 个一组翻转链表|1|https://leetcode.cn/problems/reverse-nodes-in-k-group| +|199. 二叉树的右视图|1|https://leetcode.cn/problems/binary-tree-right-side-view| +|240. 搜索二维矩阵 II|1|https://leetcode.cn/problems/search-a-2d-matrix-ii| +|1312. 让字符串成为回文串的最少插入次数|1|https://leetcode.cn/problems/minimum-insertion-steps-to-make-a-string-palindrome| +|6. Z 字形变换|1|https://leetcode.cn/problems/zigzag-conversion| +|189. 旋转数组|1|https://leetcode.cn/problems/rotate-array| +|19. 删除链表的倒数第N个节点|1|https://leetcode.cn/problems/remove-nth-node-from-end-of-list| +|53. 最大子序和|1|https://leetcode.cn/problems/maximum-subarray| +|232. 用栈实现队列|1|https://leetcode.cn/problems/implement-queue-using-stacks| +|572. 另一个树的子树|1|https://leetcode.cn/problems/subtree-of-another-tree| +|704. 二分查找|1|https://leetcode.cn/problems/binary-search| +|238. 除自身以外数组的乘积|1|https://leetcode.cn/problems/product-of-array-except-self| +|剑指 Offer 42. 连续子数组的最大和|1|https://leetcode.cn/problems/lian-xu-zi-shu-zu-de-zui-da-he-lcof| +|138. 复制带随机指针的链表|1|https://leetcode.cn/problems/copy-list-with-random-pointer| +|剑指 Offer 32 - III. 从上到下打印二叉树 III|1|https://leetcode.cn/problems/cong-shang-dao-xia-da-yin-er-cha-shu-iii-lcof| +|129. 求根到叶子节点数字之和|1|https://leetcode.cn/problems/sum-root-to-leaf-numbers| +|101. 对称二叉树|1|https://leetcode.cn/problems/symmetric-tree| +|540. 有序数组中的单一元素|1|https://leetcode.cn/problems/single-element-in-a-sorted-array| +|剑指 Offer 12. 矩阵中的路径|1|https://leetcode.cn/problems/ju-zhen-zhong-de-lu-jing-lcof| +|208. 实现 Trie (前缀树)|1|https://leetcode.cn/problems/implement-trie-prefix-tree| +|剑指 Offer 40. 最小的k个数|1|https://leetcode.cn/problems/zui-xiao-de-kge-shu-lcof| +|40. 组合总和 II|1|https://leetcode.cn/problems/combination-sum-ii| \ No newline at end of file diff --git a/kuaishou/client.md b/kuaishou/client.md index 640c106..086ff5b 100644 --- a/kuaishou/client.md +++ b/kuaishou/client.md @@ -2,41 +2,41 @@ |题目|出现次数|链接| |-|-|-| -|206. 反转链表|6|https://leetcode-cn.com/problems/reverse-linked-list| -|142. 环形链表 II|3|https://leetcode-cn.com/problems/linked-list-cycle-ii| -|21. 合并两个有序链表|2|https://leetcode-cn.com/problems/merge-two-sorted-lists| -|78. 子集|2|https://leetcode-cn.com/problems/subsets| -|103. 二叉树的锯齿形层次遍历|2|https://leetcode-cn.com/problems/binary-tree-zigzag-level-order-traversal| -|144. 二叉树的前序遍历|2|https://leetcode-cn.com/problems/binary-tree-preorder-traversal| -|110. 平衡二叉树|2|https://leetcode-cn.com/problems/balanced-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| -|102. 二叉树的层序遍历|2|https://leetcode-cn.com/problems/binary-tree-level-order-traversal| -|704. 二分查找|2|https://leetcode-cn.com/problems/binary-search| -|300. 最长上升子序列|1|https://leetcode-cn.com/problems/longest-increasing-subsequence| -|121. 买卖股票的最佳时机|1|https://leetcode-cn.com/problems/best-time-to-buy-and-sell-stock| -|1. 两数之和|1|https://leetcode-cn.com/problems/two-sum| -|283. 移动零|1|https://leetcode-cn.com/problems/move-zeroes| -|415. 字符串相加|1|https://leetcode-cn.com/problems/add-strings| -|200. 岛屿数量|1|https://leetcode-cn.com/problems/number-of-islands| -|3. 无重复字符的最长子串|1|https://leetcode-cn.com/problems/longest-substring-without-repeating-characters| -|11. 盛最多水的容器|1|https://leetcode-cn.com/problems/container-with-most-water| -|167. 两数之和 II - 输入有序数组|1|https://leetcode-cn.com/problems/two-sum-ii-input-array-is-sorted| -|470. 用 Rand7() 实现 Rand10()|1|https://leetcode-cn.com/problems/implement-rand10-using-rand7| -|189. 旋转数组|1|https://leetcode-cn.com/problems/rotate-array| -|459. 重复的子字符串|1|https://leetcode-cn.com/problems/repeated-substring-pattern| -|129. 求根到叶子节点数字之和|1|https://leetcode-cn.com/problems/sum-root-to-leaf-numbers| -|312. 戳气球|1|https://leetcode-cn.com/problems/burst-balloons| -|69. x 的平方根|1|https://leetcode-cn.com/problems/sqrtx| -|718. 最长重复子数组|1|https://leetcode-cn.com/problems/maximum-length-of-repeated-subarray| -|24. 两两交换链表中的节点|1|https://leetcode-cn.com/problems/swap-nodes-in-pairs| -|146. LRU缓存机制|1|https://leetcode-cn.com/problems/lru-cache| -|剑指 Offer 64. 求1+2+…+n|1|https://leetcode-cn.com/problems/qiu-12n-lcof| -|70. 爬楼梯|1|https://leetcode-cn.com/problems/climbing-stairs| -|剑指 Offer 24. 反转链表|1|https://leetcode-cn.com/problems/fan-zhuan-lian-biao-lcof| -|232. 用栈实现队列|1|https://leetcode-cn.com/problems/implement-queue-using-stacks| -|919. 完全二叉树插入器|1|https://leetcode-cn.com/problems/complete-binary-tree-inserter| -|19. 删除链表的倒数第N个节点|1|https://leetcode-cn.com/problems/remove-nth-node-from-end-of-list| -|109. 有序链表转换二叉搜索树|1|https://leetcode-cn.com/problems/convert-sorted-list-to-binary-search-tree| -|104. 二叉树的最大深度|1|https://leetcode-cn.com/problems/maximum-depth-of-binary-tree| -|53. 最大子序和|1|https://leetcode-cn.com/problems/maximum-subarray| +|206. 反转链表|6|https://leetcode.cn/problems/reverse-linked-list| +|142. 环形链表 II|3|https://leetcode.cn/problems/linked-list-cycle-ii| +|21. 合并两个有序链表|2|https://leetcode.cn/problems/merge-two-sorted-lists| +|78. 子集|2|https://leetcode.cn/problems/subsets| +|103. 二叉树的锯齿形层次遍历|2|https://leetcode.cn/problems/binary-tree-zigzag-level-order-traversal| +|144. 二叉树的前序遍历|2|https://leetcode.cn/problems/binary-tree-preorder-traversal| +|110. 平衡二叉树|2|https://leetcode.cn/problems/balanced-binary-tree| +|剑指 Offer 21. 调整数组顺序使奇数位于偶数前面|2|https://leetcode.cn/problems/diao-zheng-shu-zu-shun-xu-shi-qi-shu-wei-yu-ou-shu-qian-mian-lcof| +|102. 二叉树的层序遍历|2|https://leetcode.cn/problems/binary-tree-level-order-traversal| +|704. 二分查找|2|https://leetcode.cn/problems/binary-search| +|300. 最长上升子序列|1|https://leetcode.cn/problems/longest-increasing-subsequence| +|121. 买卖股票的最佳时机|1|https://leetcode.cn/problems/best-time-to-buy-and-sell-stock| +|1. 两数之和|1|https://leetcode.cn/problems/two-sum| +|283. 移动零|1|https://leetcode.cn/problems/move-zeroes| +|415. 字符串相加|1|https://leetcode.cn/problems/add-strings| +|200. 岛屿数量|1|https://leetcode.cn/problems/number-of-islands| +|3. 无重复字符的最长子串|1|https://leetcode.cn/problems/longest-substring-without-repeating-characters| +|11. 盛最多水的容器|1|https://leetcode.cn/problems/container-with-most-water| +|167. 两数之和 II - 输入有序数组|1|https://leetcode.cn/problems/two-sum-ii-input-array-is-sorted| +|470. 用 Rand7() 实现 Rand10()|1|https://leetcode.cn/problems/implement-rand10-using-rand7| +|189. 旋转数组|1|https://leetcode.cn/problems/rotate-array| +|459. 重复的子字符串|1|https://leetcode.cn/problems/repeated-substring-pattern| +|129. 求根到叶子节点数字之和|1|https://leetcode.cn/problems/sum-root-to-leaf-numbers| +|312. 戳气球|1|https://leetcode.cn/problems/burst-balloons| +|69. x 的平方根|1|https://leetcode.cn/problems/sqrtx| +|718. 最长重复子数组|1|https://leetcode.cn/problems/maximum-length-of-repeated-subarray| +|24. 两两交换链表中的节点|1|https://leetcode.cn/problems/swap-nodes-in-pairs| +|146. LRU缓存机制|1|https://leetcode.cn/problems/lru-cache| +|剑指 Offer 64. 求1+2+…+n|1|https://leetcode.cn/problems/qiu-12n-lcof| +|70. 爬楼梯|1|https://leetcode.cn/problems/climbing-stairs| +|剑指 Offer 24. 反转链表|1|https://leetcode.cn/problems/fan-zhuan-lian-biao-lcof| +|232. 用栈实现队列|1|https://leetcode.cn/problems/implement-queue-using-stacks| +|919. 完全二叉树插入器|1|https://leetcode.cn/problems/complete-binary-tree-inserter| +|19. 删除链表的倒数第N个节点|1|https://leetcode.cn/problems/remove-nth-node-from-end-of-list| +|109. 有序链表转换二叉搜索树|1|https://leetcode.cn/problems/convert-sorted-list-to-binary-search-tree| +|104. 二叉树的最大深度|1|https://leetcode.cn/problems/maximum-depth-of-binary-tree| +|53. 最大子序和|1|https://leetcode.cn/problems/maximum-subarray| |补充题4. 手撕快速排序|1|| \ No newline at end of file diff --git a/kuaishou/data.md b/kuaishou/data.md index 9f1cd96..92c775e 100644 --- a/kuaishou/data.md +++ b/kuaishou/data.md @@ -2,15 +2,15 @@ |题目|出现次数|链接| |-|-|-| -|5. 最长回文子串|1|https://leetcode-cn.com/problems/longest-palindromic-substring| -|509. 斐波那契数|1|https://leetcode-cn.com/problems/fibonacci-number| -|34. 在排序数组中查找元素的第一个和最后一个位置|1|https://leetcode-cn.com/problems/find-first-and-last-position-of-element-in-sorted-array| -|35. 搜索插入位置|1|https://leetcode-cn.com/problems/search-insert-position| -|93. 复原IP地址|1|https://leetcode-cn.com/problems/restore-ip-addresses| -|145. 二叉树的后序遍历|1|https://leetcode-cn.com/problems/binary-tree-postorder-traversal| -|剑指 Offer 24. 反转链表|1|https://leetcode-cn.com/problems/fan-zhuan-lian-biao-lcof| -|144. 二叉树的前序遍历|1|https://leetcode-cn.com/problems/binary-tree-preorder-traversal| -|剑指 Offer 27. 二叉树的镜像|1|https://leetcode-cn.com/problems/er-cha-shu-de-jing-xiang-lcof| -|剑指 Offer 09. 用两个栈实现队列|1|https://leetcode-cn.com/problems/yong-liang-ge-zhan-shi-xian-dui-lie-lcof| -|112. 路径总和|1|https://leetcode-cn.com/problems/path-sum| -|240. 搜索二维矩阵 II|1|https://leetcode-cn.com/problems/search-a-2d-matrix-ii| \ No newline at end of file +|5. 最长回文子串|1|https://leetcode.cn/problems/longest-palindromic-substring| +|509. 斐波那契数|1|https://leetcode.cn/problems/fibonacci-number| +|34. 在排序数组中查找元素的第一个和最后一个位置|1|https://leetcode.cn/problems/find-first-and-last-position-of-element-in-sorted-array| +|35. 搜索插入位置|1|https://leetcode.cn/problems/search-insert-position| +|93. 复原IP地址|1|https://leetcode.cn/problems/restore-ip-addresses| +|145. 二叉树的后序遍历|1|https://leetcode.cn/problems/binary-tree-postorder-traversal| +|剑指 Offer 24. 反转链表|1|https://leetcode.cn/problems/fan-zhuan-lian-biao-lcof| +|144. 二叉树的前序遍历|1|https://leetcode.cn/problems/binary-tree-preorder-traversal| +|剑指 Offer 27. 二叉树的镜像|1|https://leetcode.cn/problems/er-cha-shu-de-jing-xiang-lcof| +|剑指 Offer 09. 用两个栈实现队列|1|https://leetcode.cn/problems/yong-liang-ge-zhan-shi-xian-dui-lie-lcof| +|112. 路径总和|1|https://leetcode.cn/problems/path-sum| +|240. 搜索二维矩阵 II|1|https://leetcode.cn/problems/search-a-2d-matrix-ii| \ No newline at end of file diff --git a/kuaishou/frontend.md b/kuaishou/frontend.md index 9855140..061bce5 100644 --- a/kuaishou/frontend.md +++ b/kuaishou/frontend.md @@ -2,19 +2,19 @@ |题目|出现次数|链接| |-|-|-| -|88. 合并两个有序数组|2|https://leetcode-cn.com/problems/merge-sorted-array| -|3. 无重复字符的最长子串|2|https://leetcode-cn.com/problems/longest-substring-without-repeating-characters| -|70. 爬楼梯|2|https://leetcode-cn.com/problems/climbing-stairs| -|384. 打乱数组|2|https://leetcode-cn.com/problems/shuffle-an-array| -|104. 二叉树的最大深度|1|https://leetcode-cn.com/problems/maximum-depth-of-binary-tree| -|206. 反转链表|1|https://leetcode-cn.com/problems/reverse-linked-list| -|46. 全排列|1|https://leetcode-cn.com/problems/permutations| -|704. 二分查找|1|https://leetcode-cn.com/problems/binary-search| -|7. 整数反转|1|https://leetcode-cn.com/problems/reverse-integer| -|121. 买卖股票的最佳时机|1|https://leetcode-cn.com/problems/best-time-to-buy-and-sell-stock| -|509. 斐波那契数|1|https://leetcode-cn.com/problems/fibonacci-number| -|231. 2的幂|1|https://leetcode-cn.com/problems/power-of-two| -|剑指 Offer 10- I. 斐波那契数列|1|https://leetcode-cn.com/problems/fei-bo-na-qi-shu-lie-lcof| -|102. 二叉树的层序遍历|1|https://leetcode-cn.com/problems/binary-tree-level-order-traversal| -|169. 多数元素|1|https://leetcode-cn.com/problems/majority-element| -|110. 平衡二叉树|1|https://leetcode-cn.com/problems/balanced-binary-tree| \ No newline at end of file +|88. 合并两个有序数组|2|https://leetcode.cn/problems/merge-sorted-array| +|3. 无重复字符的最长子串|2|https://leetcode.cn/problems/longest-substring-without-repeating-characters| +|70. 爬楼梯|2|https://leetcode.cn/problems/climbing-stairs| +|384. 打乱数组|2|https://leetcode.cn/problems/shuffle-an-array| +|104. 二叉树的最大深度|1|https://leetcode.cn/problems/maximum-depth-of-binary-tree| +|206. 反转链表|1|https://leetcode.cn/problems/reverse-linked-list| +|46. 全排列|1|https://leetcode.cn/problems/permutations| +|704. 二分查找|1|https://leetcode.cn/problems/binary-search| +|7. 整数反转|1|https://leetcode.cn/problems/reverse-integer| +|121. 买卖股票的最佳时机|1|https://leetcode.cn/problems/best-time-to-buy-and-sell-stock| +|509. 斐波那契数|1|https://leetcode.cn/problems/fibonacci-number| +|231. 2的幂|1|https://leetcode.cn/problems/power-of-two| +|剑指 Offer 10- I. 斐波那契数列|1|https://leetcode.cn/problems/fei-bo-na-qi-shu-lie-lcof| +|102. 二叉树的层序遍历|1|https://leetcode.cn/problems/binary-tree-level-order-traversal| +|169. 多数元素|1|https://leetcode.cn/problems/majority-element| +|110. 平衡二叉树|1|https://leetcode.cn/problems/balanced-binary-tree| \ No newline at end of file diff --git a/kuaishou/test.md b/kuaishou/test.md index c082d6c..38dc42e 100644 --- a/kuaishou/test.md +++ b/kuaishou/test.md @@ -2,21 +2,21 @@ |题目|出现次数|链接| |-|-|-| -|3. 无重复字符的最长子串|3|https://leetcode-cn.com/problems/longest-substring-without-repeating-characters| -|142. 环形链表 II|2|https://leetcode-cn.com/problems/linked-list-cycle-ii| -|20. 有效的括号|2|https://leetcode-cn.com/problems/valid-parentheses| -|53. 最大子序和|1|https://leetcode-cn.com/problems/maximum-subarray| -|232. 用栈实现队列|1|https://leetcode-cn.com/problems/implement-queue-using-stacks| -|15. 三数之和|1|https://leetcode-cn.com/problems/3sum| +|3. 无重复字符的最长子串|3|https://leetcode.cn/problems/longest-substring-without-repeating-characters| +|142. 环形链表 II|2|https://leetcode.cn/problems/linked-list-cycle-ii| +|20. 有效的括号|2|https://leetcode.cn/problems/valid-parentheses| +|53. 最大子序和|1|https://leetcode.cn/problems/maximum-subarray| +|232. 用栈实现队列|1|https://leetcode.cn/problems/implement-queue-using-stacks| +|15. 三数之和|1|https://leetcode.cn/problems/3sum| |补充题6. 手撕堆排序|1|| -|509. 斐波那契数|1|https://leetcode-cn.com/problems/fibonacci-number| -|206. 反转链表|1|https://leetcode-cn.com/problems/reverse-linked-list| -|剑指 Offer 48. 最长不含重复字符的子字符串|1|https://leetcode-cn.com/problems/zui-chang-bu-han-zhong-fu-zi-fu-de-zi-zi-fu-chuan-lcof| -|143. 重排链表|1|https://leetcode-cn.com/problems/reorder-list| -|349. 两个数组的交集|1|https://leetcode-cn.com/problems/intersection-of-two-arrays| -|剑指 Offer 42. 连续子数组的最大和|1|https://leetcode-cn.com/problems/lian-xu-zi-shu-zu-de-zui-da-he-lcof| -|121. 买卖股票的最佳时机|1|https://leetcode-cn.com/problems/best-time-to-buy-and-sell-stock| -|5. 最长回文子串|1|https://leetcode-cn.com/problems/longest-palindromic-substring| -|39. 组合总和|1|https://leetcode-cn.com/problems/combination-sum| -|647. 回文子串|1|https://leetcode-cn.com/problems/palindromic-substrings| -|344. 反转字符串|1|https://leetcode-cn.com/problems/reverse-string| \ No newline at end of file +|509. 斐波那契数|1|https://leetcode.cn/problems/fibonacci-number| +|206. 反转链表|1|https://leetcode.cn/problems/reverse-linked-list| +|剑指 Offer 48. 最长不含重复字符的子字符串|1|https://leetcode.cn/problems/zui-chang-bu-han-zhong-fu-zi-fu-de-zi-zi-fu-chuan-lcof| +|143. 重排链表|1|https://leetcode.cn/problems/reorder-list| +|349. 两个数组的交集|1|https://leetcode.cn/problems/intersection-of-two-arrays| +|剑指 Offer 42. 连续子数组的最大和|1|https://leetcode.cn/problems/lian-xu-zi-shu-zu-de-zui-da-he-lcof| +|121. 买卖股票的最佳时机|1|https://leetcode.cn/problems/best-time-to-buy-and-sell-stock| +|5. 最长回文子串|1|https://leetcode.cn/problems/longest-palindromic-substring| +|39. 组合总和|1|https://leetcode.cn/problems/combination-sum| +|647. 回文子串|1|https://leetcode.cn/problems/palindromic-substrings| +|344. 反转字符串|1|https://leetcode.cn/problems/reverse-string| \ No newline at end of file diff --git a/meituan/algorithm.md b/meituan/algorithm.md index b0f377c..589543d 100644 --- a/meituan/algorithm.md +++ b/meituan/algorithm.md @@ -3,40 +3,40 @@ |题目|出现次数|链接| |-|-|-| -|补充题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| -|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| -|410. 分割数组的最大值|1|https://leetcode-cn.com/problems/split-array-largest-sum| -|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| -|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| -|695. 岛屿的最大面积|1|https://leetcode-cn.com/problems/max-area-of-island| -|面试题 17.24. 最大子矩阵|1|https://leetcode-cn.com/problems/max-submatrix-lcci| -|300. 最长上升子序列|1|https://leetcode-cn.com/problems/longest-increasing-subsequence| -|39. 组合总和|1|https://leetcode-cn.com/problems/combination-sum| -|剑指 Offer 22. 链表中倒数第k个节点|1|https://leetcode-cn.com/problems/lian-biao-zhong-dao-shu-di-kge-jie-dian-lcof| \ No newline at end of file +|补充题4. 手撕快速排序|5|https://leetcode.cn/problems/sort-an-array| +|121. 买卖股票的最佳时机|4|https://leetcode.cn/problems/best-time-to-buy-and-sell-stock| +|215. 数组中的第K个最大元素|4|https://leetcode.cn/problems/kth-largest-element-in-an-array| +|128. 最长连续序列|2|https://leetcode.cn/problems/longest-consecutive-sequence| +|1143. 最长公共子序列|2|https://leetcode.cn/problems/longest-common-subsequence| +|498. 对角线遍历|2|https://leetcode.cn/problems/diagonal-traverse| +|剑指 Offer 65. 不用加减乘除做加法|2|https://leetcode.cn/problems/bu-yong-jia-jian-cheng-chu-zuo-jia-fa-lcof| +|53. 最大子序和|2|https://leetcode.cn/problems/maximum-subarray| +|2. 两数相加|2|https://leetcode.cn/problems/add-two-numbers| +|718. 最长重复子数组|2|https://leetcode.cn/problems/maximum-length-of-repeated-subarray| +|21. 合并两个有序链表|1|https://leetcode.cn/problems/merge-two-sorted-lists| +|560. 和为K的子数组|1|https://leetcode.cn/problems/subarray-sum-equals-k| +|5. 最长回文子串|1|https://leetcode.cn/problems/longest-palindromic-substring| +|20. 有效的括号|1|https://leetcode.cn/problems/valid-parentheses| +|94. 二叉树的中序遍历|1|https://leetcode.cn/problems/binary-tree-inorder-traversal| +|104. 二叉树的最大深度|1|https://leetcode.cn/problems/maximum-depth-of-binary-tree| +|69. x 的平方根|1|https://leetcode.cn/problems/sqrtx| +|240. 搜索二维矩阵 II|1|https://leetcode.cn/problems/search-a-2d-matrix-ii| +|76. 最小覆盖子串|1|https://leetcode.cn/problems/minimum-window-substring| +|143. 重排链表|1|https://leetcode.cn/problems/reorder-list| +|103. 二叉树的锯齿形层次遍历|1|https://leetcode.cn/problems/binary-tree-zigzag-level-order-traversal| +|208. 实现 Trie (前缀树)|1|https://leetcode.cn/problems/implement-trie-prefix-tree| +|3. 无重复字符的最长子串|1|https://leetcode.cn/problems/longest-substring-without-repeating-characters| +|50. Pow(x, n)|1|https://leetcode.cn/problems/powx-n| +|7. 整数反转|1|https://leetcode.cn/problems/reverse-integer| +|410. 分割数组的最大值|1|https://leetcode.cn/problems/split-array-largest-sum| +|25. K 个一组翻转链表|1|https://leetcode.cn/problems/reverse-nodes-in-k-group| +|146. LRU缓存机制|1|https://leetcode.cn/problems/lru-cache| +|15. 三数之和|1|https://leetcode.cn/problems/3sum| +|226. 翻转二叉树|1|https://leetcode.cn/problems/invert-binary-tree| +|剑指 Offer 40. 最小的k个数|1|https://leetcode.cn/problems/zui-xiao-de-kge-shu-lcof| +|73. 矩阵置零|1|https://leetcode.cn/problems/set-matrix-zeroes| +|695. 岛屿的最大面积|1|https://leetcode.cn/problems/max-area-of-island| +|面试题 17.24. 最大子矩阵|1|https://leetcode.cn/problems/max-submatrix-lcci| +|300. 最长上升子序列|1|https://leetcode.cn/problems/longest-increasing-subsequence| +|39. 组合总和|1|https://leetcode.cn/problems/combination-sum| +|剑指 Offer 22. 链表中倒数第k个节点|1|https://leetcode.cn/problems/lian-biao-zhong-dao-shu-di-kge-jie-dian-lcof| \ No newline at end of file diff --git a/meituan/backend.md b/meituan/backend.md index e5aefdc..6ab3e51 100644 --- a/meituan/backend.md +++ b/meituan/backend.md @@ -3,157 +3,157 @@ |题目|出现次数|链接| |-|-|-| -|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| -|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| -|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| -|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| -|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| -|93. 复原IP地址|3|https://leetcode-cn.com/problems/restore-ip-addresses| -|498. 对角线遍历|3|https://leetcode-cn.com/problems/diagonal-traverse| -|33. 搜索旋转排序数组|3|https://leetcode-cn.com/problems/search-in-rotated-sorted-array| -|62. 不同路径|3|https://leetcode-cn.com/problems/unique-paths| -|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| +|206. 反转链表|27|https://leetcode.cn/problems/reverse-linked-list| +|88. 合并两个有序数组|11|https://leetcode.cn/problems/merge-sorted-array| +|补充题4. 手撕快速排序|11|https://leetcode.cn/problems/sort-an-array| +|141. 环形链表|11|https://leetcode.cn/problems/linked-list-cycle| +|718. 最长重复子数组|10|https://leetcode.cn/problems/maximum-length-of-repeated-subarray| +|102. 二叉树的层序遍历|9|https://leetcode.cn/problems/binary-tree-level-order-traversal| +|剑指 Offer 22. 链表中倒数第k个节点|9|https://leetcode.cn/problems/lian-biao-zhong-dao-shu-di-kge-jie-dian-lcof| +|8. 字符串转换整数 (atoi)|8|https://leetcode.cn/problems/string-to-integer-atoi| +|92. 反转链表 II|8|https://leetcode.cn/problems/reverse-linked-list-ii| +|232. 用栈实现队列|7|https://leetcode.cn/problems/implement-queue-using-stacks| +|215. 数组中的第K个最大元素|7|https://leetcode.cn/problems/kth-largest-element-in-an-array| +|124. 二叉树中的最大路径和|6|https://leetcode.cn/problems/binary-tree-maximum-path-sum| +|144. 二叉树的前序遍历|6|https://leetcode.cn/problems/binary-tree-preorder-traversal| +|146. LRU缓存机制|6|https://leetcode.cn/problems/lru-cache| +|543. 二叉树的直径|6|https://leetcode.cn/problems/diameter-of-binary-tree| +|142. 环形链表 II|6|https://leetcode.cn/problems/linked-list-cycle-ii| +|160. 相交链表|6|https://leetcode.cn/problems/intersection-of-two-linked-lists| +|54. 螺旋矩阵|6|https://leetcode.cn/problems/spiral-matrix| +|5. 最长回文子串|6|https://leetcode.cn/problems/longest-palindromic-substring| +|19. 删除链表的倒数第N个节点|6|https://leetcode.cn/problems/remove-nth-node-from-end-of-list| +|21. 合并两个有序链表|6|https://leetcode.cn/problems/merge-two-sorted-lists| +|25. K 个一组翻转链表|5|https://leetcode.cn/problems/reverse-nodes-in-k-group| +|236. 二叉树的最近公共祖先|5|https://leetcode.cn/problems/lowest-common-ancestor-of-a-binary-tree| +|15. 三数之和|5|https://leetcode.cn/problems/3sum| +|94. 二叉树的中序遍历|5|https://leetcode.cn/problems/binary-tree-inorder-traversal| +|82. 删除排序链表中的重复元素 II|5|https://leetcode.cn/problems/remove-duplicates-from-sorted-list-ii| +|143. 重排链表|5|https://leetcode.cn/problems/reorder-list| +|3. 无重复字符的最长子串|5|https://leetcode.cn/problems/longest-substring-without-repeating-characters| +|56. 合并区间|5|https://leetcode.cn/problems/merge-intervals| +|剑指 Offer 36. 二叉搜索树与双向链表|4|https://leetcode.cn/problems/er-cha-sou-suo-shu-yu-shuang-xiang-lian-biao-lcof| +|415. 字符串相加|4|https://leetcode.cn/problems/add-strings| +|704. 二分查找|4|https://leetcode.cn/problems/binary-search| +|191. 位1的个数|4|https://leetcode.cn/problems/number-of-1-bits| +|20. 有效的括号|4|https://leetcode.cn/problems/valid-parentheses| +|113. 路径总和 II|4|https://leetcode.cn/problems/path-sum-ii| +|7. 整数反转|4|https://leetcode.cn/problems/reverse-integer| +|2. 两数相加|4|https://leetcode.cn/problems/add-two-numbers| +|53. 最大子序和|4|https://leetcode.cn/problems/maximum-subarray| +|剑指 Offer 40. 最小的k个数|4|https://leetcode.cn/problems/zui-xiao-de-kge-shu-lcof| +|103. 二叉树的锯齿形层次遍历|4|https://leetcode.cn/problems/binary-tree-zigzag-level-order-traversal| +|151. 翻转字符串里的单词|4|https://leetcode.cn/problems/reverse-words-in-a-string| +|1143. 最长公共子序列|3|https://leetcode.cn/problems/longest-common-subsequence| +|110. 平衡二叉树|3|https://leetcode.cn/problems/balanced-binary-tree| +|1. 两数之和|3|https://leetcode.cn/problems/two-sum| +|199. 二叉树的右视图|3|https://leetcode.cn/problems/binary-tree-right-side-view| +|234. 回文链表|3|https://leetcode.cn/problems/palindrome-linked-list| +|93. 复原IP地址|3|https://leetcode.cn/problems/restore-ip-addresses| +|498. 对角线遍历|3|https://leetcode.cn/problems/diagonal-traverse| +|33. 搜索旋转排序数组|3|https://leetcode.cn/problems/search-in-rotated-sorted-array| +|62. 不同路径|3|https://leetcode.cn/problems/unique-paths| +|169. 多数元素|3|https://leetcode.cn/problems/majority-element| +|剑指 Offer 62. 圆圈中最后剩下的数字|3|https://leetcode.cn/problems/yuan-quan-zhong-zui-hou-sheng-xia-de-shu-zi-lcof| +|70. 爬楼梯|3|https://leetcode.cn/problems/climbing-stairs| +|补充题5. 手撕归并排序|3|https://leetcode.cn/problems/sort-an-array| +|468. 验证IP地址|3|https://leetcode.cn/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| -|384. 打乱数组|2|https://leetcode-cn.com/problems/shuffle-an-array| -|226. 翻转二叉树|2|https://leetcode-cn.com/problems/invert-binary-tree| -|69. x 的平方根|2|https://leetcode-cn.com/problems/sqrtx| -|41. 缺失的第一个正数|2|https://leetcode-cn.com/problems/first-missing-positive| -|300. 最长上升子序列|2|https://leetcode-cn.com/problems/longest-increasing-subsequence| -|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| -|64. 最小路径和|2|https://leetcode-cn.com/problems/minimum-path-sum| -|687. 最长同值路径|2|https://leetcode-cn.com/problems/longest-univalue-path| -|剑指 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| -|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| -|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| -|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| -|60. 第k个排列|1|https://leetcode-cn.com/problems/permutation-sequence| -|132. 分割回文串 II|1|https://leetcode-cn.com/problems/palindrome-partitioning-ii| -|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|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| -|剑指 Offer 45. 把数组排成最小的数|1|https://leetcode-cn.com/problems/ba-shu-zu-pai-cheng-zui-xiao-de-shu-lcof| -|958. 二叉树的完全性检验|1|https://leetcode-cn.com/problems/check-completeness-of-a-binary-tree| -|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| -|240. 搜索二维矩阵 II|1|https://leetcode-cn.com/problems/search-a-2d-matrix-ii| -|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| -|617. 合并二叉树|1|https://leetcode-cn.com/problems/merge-two-binary-trees| -|1095. 山脉数组中查找目标值|1|https://leetcode-cn.com/problems/find-in-mountain-array| -|354. 俄罗斯套娃信封问题|1|https://leetcode-cn.com/problems/russian-doll-envelopes| -|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| -|剑指 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| +|83. 删除排序链表中的重复元素|3|https://leetcode.cn/problems/remove-duplicates-from-sorted-list| +|78. 子集|3|https://leetcode.cn/problems/subsets| +|46. 全排列|3|https://leetcode.cn/problems/permutations| +|34. 在排序数组中查找元素的第一个和最后一个位置|2|https://leetcode.cn/problems/find-first-and-last-position-of-element-in-sorted-array| +|384. 打乱数组|2|https://leetcode.cn/problems/shuffle-an-array| +|226. 翻转二叉树|2|https://leetcode.cn/problems/invert-binary-tree| +|69. x 的平方根|2|https://leetcode.cn/problems/sqrtx| +|41. 缺失的第一个正数|2|https://leetcode.cn/problems/first-missing-positive| +|300. 最长上升子序列|2|https://leetcode.cn/problems/longest-increasing-subsequence| +|9. 回文数|2|https://leetcode.cn/problems/palindrome-number| +|剑指 Offer 10- II. 青蛙跳台阶问题|2|https://leetcode.cn/problems/qing-wa-tiao-tai-jie-wen-ti-lcof| +|64. 最小路径和|2|https://leetcode.cn/problems/minimum-path-sum| +|687. 最长同值路径|2|https://leetcode.cn/problems/longest-univalue-path| +|剑指 Offer 10- I. 斐波那契数列|2|https://leetcode.cn/problems/fei-bo-na-qi-shu-lie-lcof| +|179. 最大数|2|https://leetcode.cn/problems/largest-number| +|162. 寻找峰值|2|https://leetcode.cn/problems/find-peak-element| +|剑指 Offer 21. 调整数组顺序使奇数位于偶数前面|2|https://leetcode.cn/problems/diao-zheng-shu-zu-shun-xu-shi-qi-shu-wei-yu-ou-shu-qian-mian-lcof| +|121. 买卖股票的最佳时机|2|https://leetcode.cn/problems/best-time-to-buy-and-sell-stock| +|125. 验证回文串|2|https://leetcode.cn/problems/valid-palindrome| +|6. Z 字形变换|2|https://leetcode.cn/problems/zigzag-conversion| +|101. 对称二叉树|2|https://leetcode.cn/problems/symmetric-tree| +|242. 有效的字母异位词|2|https://leetcode.cn/problems/valid-anagram| +|剑指 Offer 15. 二进制中1的个数|2|https://leetcode.cn/problems/er-jin-zhi-zhong-1de-ge-shu-lcof| +|120. 三角形最小路径和|2|https://leetcode.cn/problems/triangle| +|283. 移动零|2|https://leetcode.cn/problems/move-zeroes| +|118. 杨辉三角|2|https://leetcode.cn/problems/pascals-triangle| +|剑指 Offer 58 - I. 翻转单词顺序|1|https://leetcode.cn/problems/fan-zhuan-dan-ci-shun-xu-lcof| +|剑指 Offer 09. 用两个栈实现队列|1|https://leetcode.cn/problems/yong-liang-ge-zhan-shi-xian-dui-lie-lcof| +|387. 字符串中的第一个唯一字符|1|https://leetcode.cn/problems/first-unique-character-in-a-string| +|153. 寻找旋转排序数组中的最小值|1|https://leetcode.cn/problems/find-minimum-in-rotated-sorted-array| +|55. 跳跃游戏|1|https://leetcode.cn/problems/jump-game| +|1245. 树的直径|1|https://leetcode.cn/problems/tree-diameter| +|1044. 最长重复子串|1|https://leetcode.cn/problems/longest-duplicate-substring| +|679. 24 点游戏|1|https://leetcode.cn/problems/24-game| +|60. 第k个排列|1|https://leetcode.cn/problems/permutation-sequence| +|132. 分割回文串 II|1|https://leetcode.cn/problems/palindrome-partitioning-ii| +|43. 字符串相乘|1|https://leetcode.cn/problems/multiply-strings| +|105. 从前序与中序遍历序列构造二叉树|1|https://leetcode.cn/problems/construct-binary-tree-from-preorder-and-inorder-traversal| +|117. 填充每个节点的下一个右侧节点指针 II|1|https://leetcode.cn/problems/populating-next-right-pointers-in-each-node-ii| +|补充题6. 手撕堆排序|1|https://leetcode.cn/problems/sort-an-array| +|509. 斐波那契数|1|https://leetcode.cn/problems/fibonacci-number| +|268. 缺失数字|1|https://leetcode.cn/problems/missing-number| +|26. 删除排序数组中的重复项|1|https://leetcode.cn/problems/remove-duplicates-from-sorted-array| +|剑指 Offer 45. 把数组排成最小的数|1|https://leetcode.cn/problems/ba-shu-zu-pai-cheng-zui-xiao-de-shu-lcof| +|958. 二叉树的完全性检验|1|https://leetcode.cn/problems/check-completeness-of-a-binary-tree| +|42. 接雨水|1|https://leetcode.cn/problems/trapping-rain-water| +|面试题 16.03. 交点|1|https://leetcode.cn/problems/intersection-lcci| +|108. 将有序数组转换为二叉搜索树|1|https://leetcode.cn/problems/convert-sorted-array-to-binary-search-tree| +|240. 搜索二维矩阵 II|1|https://leetcode.cn/problems/search-a-2d-matrix-ii| +|450. 删除二叉搜索树中的节点|1|https://leetcode.cn/problems/delete-node-in-a-bst| +|剑指 Offer 14- I. 剪绳子|1|https://leetcode.cn/problems/jian-sheng-zi-lcof| +|203. 移除链表元素|1|https://leetcode.cn/problems/remove-linked-list-elements| +|227. 基本计算器 II|1|https://leetcode.cn/problems/basic-calculator-ii| +|31. 下一个排列|1|https://leetcode.cn/problems/next-permutation| +|剑指 Offer 58 - II. 左旋转字符串|1|https://leetcode.cn/problems/zuo-xuan-zhuan-zi-fu-chuan-lcof| +|617. 合并二叉树|1|https://leetcode.cn/problems/merge-two-binary-trees| +|1095. 山脉数组中查找目标值|1|https://leetcode.cn/problems/find-in-mountain-array| +|354. 俄罗斯套娃信封问题|1|https://leetcode.cn/problems/russian-doll-envelopes| +|104. 二叉树的最大深度|1|https://leetcode.cn/problems/maximum-depth-of-binary-tree| +|198. 打家劫舍|1|https://leetcode.cn/problems/house-robber| +|155. 最小栈|1|https://leetcode.cn/problems/min-stack| +|剑指 Offer 53 - I. 在排序数组中查找数字 I|1|https://leetcode.cn/problems/zai-pai-xu-shu-zu-zhong-cha-zhao-shu-zi-lcof| +|138. 复制带随机指针的链表|1|https://leetcode.cn/problems/copy-list-with-random-pointer| +|剑指 Offer 11. 旋转数组的最小数字|1|https://leetcode.cn/problems/xuan-zhuan-shu-zu-de-zui-xiao-shu-zi-lcof| +|137. 只出现一次的数字 II|1|https://leetcode.cn/problems/single-number-ii| +|518. 零钱兑换 II|1|https://leetcode.cn/problems/coin-change-2| +|59. 螺旋矩阵 II|1|https://leetcode.cn/problems/spiral-matrix-ii| +|4. 寻找两个正序数组的中位数|1|https://leetcode.cn/problems/median-of-two-sorted-arrays| |补充题20. 立方根|1|| -|剑指 Offer 65. 不用加减乘除做加法|1|https://leetcode-cn.com/problems/bu-yong-jia-jian-cheng-chu-zuo-jia-fa-lcof| -|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| -|136. 只出现一次的数字|1|https://leetcode-cn.com/problems/single-number| -|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| -|面试题 02.08. 环路检测|1|https://leetcode-cn.com/problems/linked-list-cycle-lcci| -|128. 最长连续序列|1|https://leetcode-cn.com/problems/longest-consecutive-sequence| -|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| +|剑指 Offer 65. 不用加减乘除做加法|1|https://leetcode.cn/problems/bu-yong-jia-jian-cheng-chu-zuo-jia-fa-lcof| +|165. 比较版本号|1|https://leetcode.cn/problems/compare-version-numbers| +|123. 买卖股票的最佳时机 III|1|https://leetcode.cn/problems/best-time-to-buy-and-sell-stock-iii| +|136. 只出现一次的数字|1|https://leetcode.cn/problems/single-number| +|129. 求根到叶子节点数字之和|1|https://leetcode.cn/problems/sum-root-to-leaf-numbers| +|剑指 Offer 43. 1~n整数中1出现的次数|1|https://leetcode.cn/problems/1nzheng-shu-zhong-1chu-xian-de-ci-shu-lcof| +|面试题 02.08. 环路检测|1|https://leetcode.cn/problems/linked-list-cycle-lcci| +|128. 最长连续序列|1|https://leetcode.cn/problems/longest-consecutive-sequence| +|47. 全排列 II|1|https://leetcode.cn/problems/permutations-ii| +|61. 旋转链表|1|https://leetcode.cn/problems/rotate-list| +|剑指 Offer 03. 数组中重复的数字|1|https://leetcode.cn/problems/shu-zu-zhong-zhong-fu-de-shu-zi-lcof| +|剑指 Offer 29. 顺时针打印矩阵|1|https://leetcode.cn/problems/shun-shi-zhen-da-yin-ju-zhen-lcof| +|面试题 02.01. 移除重复节点|1|https://leetcode.cn/problems/remove-duplicate-node-lcci| +|面试题 02.02. 返回倒数第 k 个节点|1|https://leetcode.cn/problems/kth-node-from-end-of-list-lcci| +|11. 盛最多水的容器|1|https://leetcode.cn/problems/container-with-most-water| +|172. 阶乘后的零|1|https://leetcode.cn/problems/factorial-trailing-zeroes| +|14. 最长公共前缀|1|https://leetcode.cn/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 +|516. 最长回文子序列|1|https://leetcode.cn/problems/longest-palindromic-subsequence| +|692. 前K个高频单词|1|https://leetcode.cn/problems/top-k-frequent-words| +|91. 解码方法|1|https://leetcode.cn/problems/decode-ways| +|面试题 02.05. 链表求和|1|https://leetcode.cn/problems/sum-lists-lcci| +|面试题 03.05. 栈排序|1|https://leetcode.cn/problems/sort-of-stacks-lcci| +|23. 合并K个排序链表|1|https://leetcode.cn/problems/merge-k-sorted-lists| +|876. 链表的中间结点|1|https://leetcode.cn/problems/middle-of-the-linked-list| +|145. 二叉树的后序遍历|1|https://leetcode.cn/problems/binary-tree-postorder-traversal| +|622. 设计循环队列|1|https://leetcode.cn/problems/design-circular-queue| +|343. 整数拆分|1|https://leetcode.cn/problems/integer-break| +|112. 路径总和|1|https://leetcode.cn/problems/path-sum| \ No newline at end of file diff --git a/meituan/client.md b/meituan/client.md index ebbf92f..bb79375 100644 --- a/meituan/client.md +++ b/meituan/client.md @@ -2,61 +2,61 @@ 若想按部门/难度/题型筛选题目,请进入[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| -|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| -|69. x 的平方根|2|https://leetcode-cn.com/problems/sqrtx| -|141. 环形链表|2|https://leetcode-cn.com/problems/linked-list-cycle| -|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| -|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| -|169. 多数元素|1|https://leetcode-cn.com/problems/majority-element| -|151. 翻转字符串里的单词|1|https://leetcode-cn.com/problems/reverse-words-in-a-string| -|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| -|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| +|补充题4. 手撕快速排序|4|https://leetcode.cn/problems/sort-an-array| +|142. 环形链表 II|4|https://leetcode.cn/problems/linked-list-cycle-ii| +|剑指 Offer 10- I. 斐波那契数列|3|https://leetcode.cn/problems/fei-bo-na-qi-shu-lie-lcof| +|155. 最小栈|3|https://leetcode.cn/problems/min-stack| +|206. 反转链表|3|https://leetcode.cn/problems/reverse-linked-list| +|236. 二叉树的最近公共祖先|2|https://leetcode.cn/problems/lowest-common-ancestor-of-a-binary-tree| +|53. 最大子序和|2|https://leetcode.cn/problems/maximum-subarray| +|69. x 的平方根|2|https://leetcode.cn/problems/sqrtx| +|141. 环形链表|2|https://leetcode.cn/problems/linked-list-cycle| +|232. 用栈实现队列|2|https://leetcode.cn/problems/implement-queue-using-stacks| +|54. 螺旋矩阵|2|https://leetcode.cn/problems/spiral-matrix| +|剑指 Offer 52. 两个链表的第一个公共节点|2|https://leetcode.cn/problems/liang-ge-lian-biao-de-di-yi-ge-gong-gong-jie-dian-lcof| +|46. 全排列|2|https://leetcode.cn/problems/permutations| +|19. 删除链表的倒数第N个节点|2|https://leetcode.cn/problems/remove-nth-node-from-end-of-list| +|86. 分隔链表|1|https://leetcode.cn/problems/partition-list| +|48. 旋转图像|1|https://leetcode.cn/problems/rotate-image| +|312. 戳气球|1|https://leetcode.cn/problems/burst-balloons| +|718. 最长重复子数组|1|https://leetcode.cn/problems/maximum-length-of-repeated-subarray| +|169. 多数元素|1|https://leetcode.cn/problems/majority-element| +|151. 翻转字符串里的单词|1|https://leetcode.cn/problems/reverse-words-in-a-string| +|78. 子集|1|https://leetcode.cn/problems/subsets| +|146. LRU缓存机制|1|https://leetcode.cn/problems/lru-cache| +|234. 回文链表|1|https://leetcode.cn/problems/palindrome-linked-list| +|1143. 最长公共子序列|1|https://leetcode.cn/problems/longest-common-subsequence| +|83. 删除排序链表中的重复元素|1|https://leetcode.cn/problems/remove-duplicates-from-sorted-list| +|21. 合并两个有序链表|1|https://leetcode.cn/problems/merge-two-sorted-lists| +|876. 链表的中间结点|1|https://leetcode.cn/problems/middle-of-the-linked-list| +|剑指 Offer 22. 链表中倒数第k个节点|1|https://leetcode.cn/problems/lian-biao-zhong-dao-shu-di-kge-jie-dian-lcof| +|剑指 Offer 21. 调整数组顺序使奇数位于偶数前面|1|https://leetcode.cn/problems/diao-zheng-shu-zu-shun-xu-shi-qi-shu-wei-yu-ou-shu-qian-mian-lcof| +|239. 滑动窗口最大值|1|https://leetcode.cn/problems/sliding-window-maximum| +|63. 不同路径 II|1|https://leetcode.cn/problems/unique-paths-ii| +|64. 最小路径和|1|https://leetcode.cn/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| -|62. 不同路径|1|https://leetcode-cn.com/problems/unique-paths| -|121. 买卖股票的最佳时机|1|https://leetcode-cn.com/problems/best-time-to-buy-and-sell-stock| -|88. 合并两个有序数组|1|https://leetcode-cn.com/problems/merge-sorted-array| -|516. 最长回文子序列|1|https://leetcode-cn.com/problems/longest-palindromic-subsequence| -|144. 二叉树的前序遍历|1|https://leetcode-cn.com/problems/binary-tree-preorder-traversal| -|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| -|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| -|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| -|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 +|24. 两两交换链表中的节点|1|https://leetcode.cn/problems/swap-nodes-in-pairs| +|200. 岛屿数量|1|https://leetcode.cn/problems/number-of-islands| +|226. 翻转二叉树|1|https://leetcode.cn/problems/invert-binary-tree| +|25. K 个一组翻转链表|1|https://leetcode.cn/problems/reverse-nodes-in-k-group| +|7. 整数反转|1|https://leetcode.cn/problems/reverse-integer| +|225. 用队列实现栈|1|https://leetcode.cn/problems/implement-stack-using-queues| +|62. 不同路径|1|https://leetcode.cn/problems/unique-paths| +|121. 买卖股票的最佳时机|1|https://leetcode.cn/problems/best-time-to-buy-and-sell-stock| +|88. 合并两个有序数组|1|https://leetcode.cn/problems/merge-sorted-array| +|516. 最长回文子序列|1|https://leetcode.cn/problems/longest-palindromic-subsequence| +|144. 二叉树的前序遍历|1|https://leetcode.cn/problems/binary-tree-preorder-traversal| +|102. 二叉树的层序遍历|1|https://leetcode.cn/problems/binary-tree-level-order-traversal| +|559. N叉树的最大深度|1|https://leetcode.cn/problems/maximum-depth-of-n-ary-tree| +|剑指 Offer 40. 最小的k个数|1|https://leetcode.cn/problems/zui-xiao-de-kge-shu-lcof| +|199. 二叉树的右视图|1|https://leetcode.cn/problems/binary-tree-right-side-view| +|20. 有效的括号|1|https://leetcode.cn/problems/valid-parentheses| +|4. 寻找两个正序数组的中位数|1|https://leetcode.cn/problems/median-of-two-sorted-arrays| +|160. 相交链表|1|https://leetcode.cn/problems/intersection-of-two-linked-lists| +|34. 在排序数组中查找元素的第一个和最后一个位置|1|https://leetcode.cn/problems/find-first-and-last-position-of-element-in-sorted-array| +|剑指 Offer 10- II. 青蛙跳台阶问题|1|https://leetcode.cn/problems/qing-wa-tiao-tai-jie-wen-ti-lcof| +|113. 路径总和 II|1|https://leetcode.cn/problems/path-sum-ii| +|70. 爬楼梯|1|https://leetcode.cn/problems/climbing-stairs| +|300. 最长上升子序列|1|https://leetcode.cn/problems/longest-increasing-subsequence| +|889. 根据前序和后序遍历构造二叉树|1|https://leetcode.cn/problems/construct-binary-tree-from-preorder-and-postorder-traversal| +|468. 验证IP地址|1|https://leetcode.cn/problems/validate-ip-address| \ No newline at end of file diff --git a/meituan/data.md b/meituan/data.md index 9b91902..b6f0842 100644 --- a/meituan/data.md +++ b/meituan/data.md @@ -2,26 +2,26 @@ 若想按部门/难度/题型筛选题目,请进入[CodeTop](https://codetop.cc)查询 |题目|出现次数|链接| |-|-|-| -|补充题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| -|120. 三角形最小路径和|1|https://leetcode-cn.com/problems/triangle| -|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| -|剑指 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 +|补充题4. 手撕快速排序|3|https://leetcode.cn/problems/sort-an-array| +|141. 环形链表|3|https://leetcode.cn/problems/linked-list-cycle| +|704. 二分查找|2|https://leetcode.cn/problems/binary-search| +|215. 数组中的第K个最大元素|2|https://leetcode.cn/problems/kth-largest-element-in-an-array| +|54. 螺旋矩阵|2|https://leetcode.cn/problems/spiral-matrix| +|120. 三角形最小路径和|1|https://leetcode.cn/problems/triangle| +|151. 翻转字符串里的单词|1|https://leetcode.cn/problems/reverse-words-in-a-string| +|1143. 最长公共子序列|1|https://leetcode.cn/problems/longest-common-subsequence| +|26. 删除排序数组中的重复项|1|https://leetcode.cn/problems/remove-duplicates-from-sorted-array| +|117. 填充每个节点的下一个右侧节点指针 II|1|https://leetcode.cn/problems/populating-next-right-pointers-in-each-node-ii| +|104. 二叉树的最大深度|1|https://leetcode.cn/problems/maximum-depth-of-binary-tree| +|124. 二叉树中的最大路径和|1|https://leetcode.cn/problems/binary-tree-maximum-path-sum| +|153. 寻找旋转排序数组中的最小值|1|https://leetcode.cn/problems/find-minimum-in-rotated-sorted-array| +|补充题5. 手撕归并排序|1|https://leetcode.cn/problems/sort-an-array| +|剑指 Offer 27. 二叉树的镜像|1|https://leetcode.cn/problems/er-cha-shu-de-jing-xiang-lcof| +|21. 合并两个有序链表|1|https://leetcode.cn/problems/merge-two-sorted-lists| +|剑指 Offer 51. 数组中的逆序对|1|https://leetcode.cn/problems/shu-zu-zhong-de-ni-xu-dui-lcof| +|53. 最大子序和|1|https://leetcode.cn/problems/maximum-subarray| +|15. 三数之和|1|https://leetcode.cn/problems/3sum| +|20. 有效的括号|1|https://leetcode.cn/problems/valid-parentheses| +|剑指 Offer 22. 链表中倒数第k个节点|1|https://leetcode.cn/problems/lian-biao-zhong-dao-shu-di-kge-jie-dian-lcof| +|239. 滑动窗口最大值|1|https://leetcode.cn/problems/sliding-window-maximum| +|155. 最小栈|1|https://leetcode.cn/problems/min-stack| \ No newline at end of file diff --git a/meituan/frontend.md b/meituan/frontend.md index 72a0c51..f47e0c7 100644 --- a/meituan/frontend.md +++ b/meituan/frontend.md @@ -2,48 +2,48 @@ 若想按部门/难度/题型筛选题目,请进入[CodeTop](https://codetop.cc)查询 |题目|出现次数|链接| |-|-|-| -|补充题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| -|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| -|206. 反转链表|1|https://leetcode-cn.com/problems/reverse-linked-list| -|199. 二叉树的右视图|1|https://leetcode-cn.com/problems/binary-tree-right-side-view| -|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| -|105. 从前序与中序遍历序列构造二叉树|1|https://leetcode-cn.com/problems/construct-binary-tree-from-preorder-and-inorder-traversal| -|剑指 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| -|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| +|补充题4. 手撕快速排序|7|https://leetcode.cn/problems/sort-an-array| +|70. 爬楼梯|4|https://leetcode.cn/problems/climbing-stairs| +|88. 合并两个有序数组|4|https://leetcode.cn/problems/merge-sorted-array| +|剑指 Offer 10- I. 斐波那契数列|4|https://leetcode.cn/problems/fei-bo-na-qi-shu-lie-lcof| +|104. 二叉树的最大深度|3|https://leetcode.cn/problems/maximum-depth-of-binary-tree| +|300. 最长上升子序列|3|https://leetcode.cn/problems/longest-increasing-subsequence| +|20. 有效的括号|2|https://leetcode.cn/problems/valid-parentheses| +|415. 字符串相加|2|https://leetcode.cn/problems/add-strings| +|46. 全排列|2|https://leetcode.cn/problems/permutations| +|1047. 删除字符串中的所有相邻重复项|2|https://leetcode.cn/problems/remove-all-adjacent-duplicates-in-string| +|498. 对角线遍历|2|https://leetcode.cn/problems/diagonal-traverse| +|322. 零钱兑换|2|https://leetcode.cn/problems/coin-change| +|48. 旋转图像|2|https://leetcode.cn/problems/rotate-image| +|136. 只出现一次的数字|2|https://leetcode.cn/problems/single-number| +|54. 螺旋矩阵|1|https://leetcode.cn/problems/spiral-matrix| +|141. 环形链表|1|https://leetcode.cn/problems/linked-list-cycle| +|654. 最大二叉树|1|https://leetcode.cn/problems/maximum-binary-tree| +|704. 二分查找|1|https://leetcode.cn/problems/binary-search| +|557. 反转字符串中的单词 III|1|https://leetcode.cn/problems/reverse-words-in-a-string-iii| +|102. 二叉树的层序遍历|1|https://leetcode.cn/problems/binary-tree-level-order-traversal| +|21. 合并两个有序链表|1|https://leetcode.cn/problems/merge-two-sorted-lists| +|206. 反转链表|1|https://leetcode.cn/problems/reverse-linked-list| +|199. 二叉树的右视图|1|https://leetcode.cn/problems/binary-tree-right-side-view| +|42. 接雨水|1|https://leetcode.cn/problems/trapping-rain-water| +|64. 最小路径和|1|https://leetcode.cn/problems/minimum-path-sum| +|补充题5. 手撕归并排序|1|https://leetcode.cn/problems/sort-an-array| +|50. Pow(x, n)|1|https://leetcode.cn/problems/powx-n| +|172. 阶乘后的零|1|https://leetcode.cn/problems/factorial-trailing-zeroes| +|105. 从前序与中序遍历序列构造二叉树|1|https://leetcode.cn/problems/construct-binary-tree-from-preorder-and-inorder-traversal| +|剑指 Offer 48. 最长不含重复字符的子字符串|1|https://leetcode.cn/problems/zui-chang-bu-han-zhong-fu-zi-fu-de-zi-zi-fu-chuan-lcof| +|剑指 Offer 10- II. 青蛙跳台阶问题|1|https://leetcode.cn/problems/qing-wa-tiao-tai-jie-wen-ti-lcof| +|6. Z 字形变换|1|https://leetcode.cn/problems/zigzag-conversion| +|63. 不同路径 II|1|https://leetcode.cn/problems/unique-paths-ii| +|384. 打乱数组|1|https://leetcode.cn/problems/shuffle-an-array| +|14. 最长公共前缀|1|https://leetcode.cn/problems/longest-common-prefix| +|15. 三数之和|1|https://leetcode.cn/problems/3sum| +|260. 只出现一次的数字 III|1|https://leetcode.cn/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 +|1. 两数之和|1|https://leetcode.cn/problems/two-sum| +|718. 最长重复子数组|1|https://leetcode.cn/problems/maximum-length-of-repeated-subarray| +|59. 螺旋矩阵 II|1|https://leetcode.cn/problems/spiral-matrix-ii| +|53. 最大子序和|1|https://leetcode.cn/problems/maximum-subarray| +|283. 移动零|1|https://leetcode.cn/problems/move-zeroes| +|1518. 换酒问题|1|https://leetcode.cn/problems/water-bottles| +|78. 子集|1|https://leetcode.cn/problems/subsets| \ No newline at end of file diff --git a/meituan/test.md b/meituan/test.md index 8e11c0d..655402a 100644 --- a/meituan/test.md +++ b/meituan/test.md @@ -2,62 +2,62 @@ 若想按部门/难度/题型筛选题目,请进入[CodeTop](https://codetop.cc)查询 |题目|出现次数|链接| |-|-|-| -|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| -|8. 字符串转换整数 (atoi)|4|https://leetcode-cn.com/problems/string-to-integer-atoi| -|151. 翻转字符串里的单词|3|https://leetcode-cn.com/problems/reverse-words-in-a-string| -|468. 验证IP地址|3|https://leetcode-cn.com/problems/validate-ip-address| +|3. 无重复字符的最长子串|8|https://leetcode.cn/problems/longest-substring-without-repeating-characters| +|1. 两数之和|7|https://leetcode.cn/problems/two-sum| +|704. 二分查找|6|https://leetcode.cn/problems/binary-search| +|20. 有效的括号|6|https://leetcode.cn/problems/valid-parentheses| +|232. 用栈实现队列|5|https://leetcode.cn/problems/implement-queue-using-stacks| +|141. 环形链表|4|https://leetcode.cn/problems/linked-list-cycle| +|14. 最长公共前缀|4|https://leetcode.cn/problems/longest-common-prefix| +|46. 全排列|4|https://leetcode.cn/problems/permutations| +|7. 整数反转|4|https://leetcode.cn/problems/reverse-integer| +|53. 最大子序和|4|https://leetcode.cn/problems/maximum-subarray| +|136. 只出现一次的数字|4|https://leetcode.cn/problems/single-number| +|242. 有效的字母异位词|4|https://leetcode.cn/problems/valid-anagram| +|8. 字符串转换整数 (atoi)|4|https://leetcode.cn/problems/string-to-integer-atoi| +|151. 翻转字符串里的单词|3|https://leetcode.cn/problems/reverse-words-in-a-string| +|468. 验证IP地址|3|https://leetcode.cn/problems/validate-ip-address| |补充题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| -|剑指 Offer 57 - II. 和为s的连续正数序列|2|https://leetcode-cn.com/problems/he-wei-sde-lian-xu-zheng-shu-xu-lie-lcof| -|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| -|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| -|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| -|9. 回文数|1|https://leetcode-cn.com/problems/palindrome-number| -|剑指 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| -|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| -|206. 反转链表|1|https://leetcode-cn.com/problems/reverse-linked-list| -|101. 对称二叉树|1|https://leetcode-cn.com/problems/symmetric-tree| -|167. 两数之和 II - 输入有序数组|1|https://leetcode-cn.com/problems/two-sum-ii-input-array-is-sorted| -|32. 最长有效括号|1|https://leetcode-cn.com/problems/longest-valid-parentheses| -|15. 三数之和|1|https://leetcode-cn.com/problems/3sum| \ No newline at end of file +|剑指 Offer 53 - I. 在排序数组中查找数字 I|3|https://leetcode.cn/problems/zai-pai-xu-shu-zu-zhong-cha-zhao-shu-zi-lcof| +|169. 多数元素|3|https://leetcode.cn/problems/majority-element| +|补充题4. 手撕快速排序|3|https://leetcode.cn/problems/sort-an-array| +|128. 最长连续序列|2|https://leetcode.cn/problems/longest-consecutive-sequence| +|83. 删除排序链表中的重复元素|2|https://leetcode.cn/problems/remove-duplicates-from-sorted-list| +|21. 合并两个有序链表|2|https://leetcode.cn/problems/merge-two-sorted-lists| +|88. 合并两个有序数组|2|https://leetcode.cn/problems/merge-sorted-array| +|226. 翻转二叉树|2|https://leetcode.cn/problems/invert-binary-tree| +|剑指 Offer 21. 调整数组顺序使奇数位于偶数前面|2|https://leetcode.cn/problems/diao-zheng-shu-zu-shun-xu-shi-qi-shu-wei-yu-ou-shu-qian-mian-lcof| +|718. 最长重复子数组|2|https://leetcode.cn/problems/maximum-length-of-repeated-subarray| +|76. 最小覆盖子串|2|https://leetcode.cn/problems/minimum-window-substring| +|239. 滑动窗口最大值|2|https://leetcode.cn/problems/sliding-window-maximum| +|剑指 Offer 57 - II. 和为s的连续正数序列|2|https://leetcode.cn/problems/he-wei-sde-lian-xu-zheng-shu-xu-lie-lcof| +|165. 比较版本号|2|https://leetcode.cn/problems/compare-version-numbers| +|153. 寻找旋转排序数组中的最小值|1|https://leetcode.cn/problems/find-minimum-in-rotated-sorted-array| +|876. 链表的中间结点|1|https://leetcode.cn/problems/middle-of-the-linked-list| +|70. 爬楼梯|1|https://leetcode.cn/problems/climbing-stairs| +|796. 旋转字符串|1|https://leetcode.cn/problems/rotate-string| +|72. 编辑距离|1|https://leetcode.cn/problems/edit-distance| +|460. LFU缓存|1|https://leetcode.cn/problems/lfu-cache| +|106. 从中序与后序遍历序列构造二叉树|1|https://leetcode.cn/problems/construct-binary-tree-from-inorder-and-postorder-traversal| +|231. 2的幂|1|https://leetcode.cn/problems/power-of-two| +|415. 字符串相加|1|https://leetcode.cn/problems/add-strings| +|50. Pow(x, n)|1|https://leetcode.cn/problems/powx-n| +|40. 组合总和 II|1|https://leetcode.cn/problems/combination-sum-ii| +|628. 三个数的最大乘积|1|https://leetcode.cn/problems/maximum-product-of-three-numbers| +|215. 数组中的第K个最大元素|1|https://leetcode.cn/problems/kth-largest-element-in-an-array| +|剑指 Offer 61. 扑克牌中的顺子|1|https://leetcode.cn/problems/bu-ke-pai-zhong-de-shun-zi-lcof| +|剑指 Offer 45. 把数组排成最小的数|1|https://leetcode.cn/problems/ba-shu-zu-pai-cheng-zui-xiao-de-shu-lcof| +|240. 搜索二维矩阵 II|1|https://leetcode.cn/problems/search-a-2d-matrix-ii| +|23. 合并K个排序链表|1|https://leetcode.cn/problems/merge-k-sorted-lists| +|9. 回文数|1|https://leetcode.cn/problems/palindrome-number| +|剑指 Offer 10- I. 斐波那契数列|1|https://leetcode.cn/problems/fei-bo-na-qi-shu-lie-lcof| +|26. 删除排序数组中的重复项|1|https://leetcode.cn/problems/remove-duplicates-from-sorted-array| +|283. 移动零|1|https://leetcode.cn/problems/move-zeroes| +|34. 在排序数组中查找元素的第一个和最后一个位置|1|https://leetcode.cn/problems/find-first-and-last-position-of-element-in-sorted-array| +|125. 验证回文串|1|https://leetcode.cn/problems/valid-palindrome| +|28. 实现 strStr()|1|https://leetcode.cn/problems/implement-strstr| +|206. 反转链表|1|https://leetcode.cn/problems/reverse-linked-list| +|101. 对称二叉树|1|https://leetcode.cn/problems/symmetric-tree| +|167. 两数之和 II - 输入有序数组|1|https://leetcode.cn/problems/two-sum-ii-input-array-is-sorted| +|32. 最长有效括号|1|https://leetcode.cn/problems/longest-valid-parentheses| +|15. 三数之和|1|https://leetcode.cn/problems/3sum| \ No newline at end of file diff --git a/microsoft/SDE.md b/microsoft/SDE.md index 492971d..6f2f87e 100644 --- a/microsoft/SDE.md +++ b/microsoft/SDE.md @@ -3,205 +3,205 @@ |题目|出现次数|链接| |-|-|-| -|215. 数组中的第K个最大元素|14|https://leetcode-cn.com/problems/kth-largest-element-in-an-array| -|236. 二叉树的最近公共祖先|10|https://leetcode-cn.com/problems/lowest-common-ancestor-of-a-binary-tree| -|206. 反转链表|9|https://leetcode-cn.com/problems/reverse-linked-list| -|48. 旋转图像|9|https://leetcode-cn.com/problems/rotate-image| -|124. 二叉树中的最大路径和|7|https://leetcode-cn.com/problems/binary-tree-maximum-path-sum| -|53. 最大子序和|7|https://leetcode-cn.com/problems/maximum-subarray| -|91. 解码方法|6|https://leetcode-cn.com/problems/decode-ways| -|151. 翻转字符串里的单词|6|https://leetcode-cn.com/problems/reverse-words-in-a-string| -|543. 二叉树的直径|6|https://leetcode-cn.com/problems/diameter-of-binary-tree| -|297. 二叉树的序列化与反序列化|6|https://leetcode-cn.com/problems/serialize-and-deserialize-binary-tree| -|146. LRU缓存机制|5|https://leetcode-cn.com/problems/lru-cache| -|450. 删除二叉搜索树中的节点|5|https://leetcode-cn.com/problems/delete-node-in-a-bst| -|22. 括号生成|5|https://leetcode-cn.com/problems/generate-parentheses| -|47. 全排列 II|5|https://leetcode-cn.com/problems/permutations-ii| -|224. 基本计算器|5|https://leetcode-cn.com/problems/basic-calculator| -|468. 验证IP地址|4|https://leetcode-cn.com/problems/validate-ip-address| -|110. 平衡二叉树|4|https://leetcode-cn.com/problems/balanced-binary-tree| -|94. 二叉树的中序遍历|4|https://leetcode-cn.com/problems/binary-tree-inorder-traversal| -|15. 三数之和|4|https://leetcode-cn.com/problems/3sum| -|121. 买卖股票的最佳时机|4|https://leetcode-cn.com/problems/best-time-to-buy-and-sell-stock| -|39. 组合总和|4|https://leetcode-cn.com/problems/combination-sum| -|1. 两数之和|4|https://leetcode-cn.com/problems/two-sum| -|3. 无重复字符的最长子串|4|https://leetcode-cn.com/problems/longest-substring-without-repeating-characters| -|207. 课程表|4|https://leetcode-cn.com/problems/course-schedule| -|138. 复制带随机指针的链表|4|https://leetcode-cn.com/problems/copy-list-with-random-pointer| -|69. x 的平方根|4|https://leetcode-cn.com/problems/sqrtx| -|240. 搜索二维矩阵 II|4|https://leetcode-cn.com/problems/search-a-2d-matrix-ii| -|4. 寻找两个正序数组的中位数|3|https://leetcode-cn.com/problems/median-of-two-sorted-arrays| -|103. 二叉树的锯齿形层次遍历|3|https://leetcode-cn.com/problems/binary-tree-zigzag-level-order-traversal| -|560. 和为K的子数组|3|https://leetcode-cn.com/problems/subarray-sum-equals-k| -|162. 寻找峰值|3|https://leetcode-cn.com/problems/find-peak-element| -|62. 不同路径|3|https://leetcode-cn.com/problems/unique-paths| -|72. 编辑距离|3|https://leetcode-cn.com/problems/edit-distance| -|200. 岛屿数量|3|https://leetcode-cn.com/problems/number-of-islands| -|89. 格雷编码|3|https://leetcode-cn.com/problems/gray-code| -|98. 验证二叉搜索树|3|https://leetcode-cn.com/problems/validate-binary-search-tree| -|152. 乘积最大子数组|3|https://leetcode-cn.com/problems/maximum-product-subarray| -|384. 打乱数组|3|https://leetcode-cn.com/problems/shuffle-an-array| -|37. 解数独|3|https://leetcode-cn.com/problems/sudoku-solver| -|36. 有效的数独|3|https://leetcode-cn.com/problems/valid-sudoku| -|面试题 08.12. 八皇后|3|https://leetcode-cn.com/problems/eight-queens-lcci| -|141. 环形链表|3|https://leetcode-cn.com/problems/linked-list-cycle| -|153. 寻找旋转排序数组中的最小值|3|https://leetcode-cn.com/problems/find-minimum-in-rotated-sorted-array| -|33. 搜索旋转排序数组|3|https://leetcode-cn.com/problems/search-in-rotated-sorted-array| -|剑指 Offer 46. 把数字翻译成字符串|2|https://leetcode-cn.com/problems/ba-shu-zi-fan-yi-cheng-zi-fu-chuan-lcof| -|415. 字符串相加|2|https://leetcode-cn.com/problems/add-strings| -|986. 区间列表的交集|2|https://leetcode-cn.com/problems/interval-list-intersections| -|547. 省份数量(原朋友圈)|2|https://leetcode-cn.com/problems/number-of-provinces| -|34. 在排序数组中查找元素的第一个和最后一个位置|2|https://leetcode-cn.com/problems/find-first-and-last-position-of-element-in-sorted-array| -|142. 环形链表 II|2|https://leetcode-cn.com/problems/linked-list-cycle-ii| -|154. 寻找旋转排序数组中的最小值 II|2|https://leetcode-cn.com/problems/find-minimum-in-rotated-sorted-array-ii| -|283. 移动零|2|https://leetcode-cn.com/problems/move-zeroes| -|10. 正则表达式匹配|2|https://leetcode-cn.com/problems/regular-expression-matching| -|79. 单词搜索|2|https://leetcode-cn.com/problems/word-search| -|剑指 Offer 52. 两个链表的第一个公共节点|2|https://leetcode-cn.com/problems/liang-ge-lian-biao-de-di-yi-ge-gong-gong-jie-dian-lcof| -|76. 最小覆盖子串|2|https://leetcode-cn.com/problems/minimum-window-substring| -|449. 序列化和反序列化二叉搜索树|2|https://leetcode-cn.com/problems/serialize-and-deserialize-bst| -|300. 最长上升子序列|2|https://leetcode-cn.com/problems/longest-increasing-subsequence| -|剑指 Offer 33. 二叉搜索树的后序遍历序列|2|https://leetcode-cn.com/problems/er-cha-sou-suo-shu-de-hou-xu-bian-li-xu-lie-lcof| -|剑指 Offer 04. 二维数组中的查找|2|https://leetcode-cn.com/problems/er-wei-shu-zu-zhong-de-cha-zhao-lcof| -|剑指 Offer 51. 数组中的逆序对|2|https://leetcode-cn.com/problems/shu-zu-zhong-de-ni-xu-dui-lcof| -|877. 石子游戏|2|https://leetcode-cn.com/problems/stone-game| -|59. 螺旋矩阵 II|2|https://leetcode-cn.com/problems/spiral-matrix-ii| -|25. K 个一组翻转链表|2|https://leetcode-cn.com/problems/reverse-nodes-in-k-group| -|287. 寻找重复数|2|https://leetcode-cn.com/problems/find-the-duplicate-number| -|362. 敲击计数器|2|https://leetcode-cn.com/problems/design-hit-counter| -|119. 杨辉三角 II|2|https://leetcode-cn.com/problems/pascals-triangle-ii| -|863. 二叉树中所有距离为 K 的结点|2|https://leetcode-cn.com/problems/all-nodes-distance-k-in-binary-tree| -|1095. 山脉数组中查找目标值|2|https://leetcode-cn.com/problems/find-in-mountain-array| -|295. 数据流的中位数|2|https://leetcode-cn.com/problems/find-median-from-data-stream| -|8. 字符串转换整数 (atoi)|2|https://leetcode-cn.com/problems/string-to-integer-atoi| -|129. 求根到叶子节点数字之和|2|https://leetcode-cn.com/problems/sum-root-to-leaf-numbers| -|173. 二叉搜索树迭代器|2|https://leetcode-cn.com/problems/binary-search-tree-iterator| -|73. 矩阵置零|2|https://leetcode-cn.com/problems/set-matrix-zeroes| +|215. 数组中的第K个最大元素|14|https://leetcode.cn/problems/kth-largest-element-in-an-array| +|236. 二叉树的最近公共祖先|10|https://leetcode.cn/problems/lowest-common-ancestor-of-a-binary-tree| +|206. 反转链表|9|https://leetcode.cn/problems/reverse-linked-list| +|48. 旋转图像|9|https://leetcode.cn/problems/rotate-image| +|124. 二叉树中的最大路径和|7|https://leetcode.cn/problems/binary-tree-maximum-path-sum| +|53. 最大子序和|7|https://leetcode.cn/problems/maximum-subarray| +|91. 解码方法|6|https://leetcode.cn/problems/decode-ways| +|151. 翻转字符串里的单词|6|https://leetcode.cn/problems/reverse-words-in-a-string| +|543. 二叉树的直径|6|https://leetcode.cn/problems/diameter-of-binary-tree| +|297. 二叉树的序列化与反序列化|6|https://leetcode.cn/problems/serialize-and-deserialize-binary-tree| +|146. LRU缓存机制|5|https://leetcode.cn/problems/lru-cache| +|450. 删除二叉搜索树中的节点|5|https://leetcode.cn/problems/delete-node-in-a-bst| +|22. 括号生成|5|https://leetcode.cn/problems/generate-parentheses| +|47. 全排列 II|5|https://leetcode.cn/problems/permutations-ii| +|224. 基本计算器|5|https://leetcode.cn/problems/basic-calculator| +|468. 验证IP地址|4|https://leetcode.cn/problems/validate-ip-address| +|110. 平衡二叉树|4|https://leetcode.cn/problems/balanced-binary-tree| +|94. 二叉树的中序遍历|4|https://leetcode.cn/problems/binary-tree-inorder-traversal| +|15. 三数之和|4|https://leetcode.cn/problems/3sum| +|121. 买卖股票的最佳时机|4|https://leetcode.cn/problems/best-time-to-buy-and-sell-stock| +|39. 组合总和|4|https://leetcode.cn/problems/combination-sum| +|1. 两数之和|4|https://leetcode.cn/problems/two-sum| +|3. 无重复字符的最长子串|4|https://leetcode.cn/problems/longest-substring-without-repeating-characters| +|207. 课程表|4|https://leetcode.cn/problems/course-schedule| +|138. 复制带随机指针的链表|4|https://leetcode.cn/problems/copy-list-with-random-pointer| +|69. x 的平方根|4|https://leetcode.cn/problems/sqrtx| +|240. 搜索二维矩阵 II|4|https://leetcode.cn/problems/search-a-2d-matrix-ii| +|4. 寻找两个正序数组的中位数|3|https://leetcode.cn/problems/median-of-two-sorted-arrays| +|103. 二叉树的锯齿形层次遍历|3|https://leetcode.cn/problems/binary-tree-zigzag-level-order-traversal| +|560. 和为K的子数组|3|https://leetcode.cn/problems/subarray-sum-equals-k| +|162. 寻找峰值|3|https://leetcode.cn/problems/find-peak-element| +|62. 不同路径|3|https://leetcode.cn/problems/unique-paths| +|72. 编辑距离|3|https://leetcode.cn/problems/edit-distance| +|200. 岛屿数量|3|https://leetcode.cn/problems/number-of-islands| +|89. 格雷编码|3|https://leetcode.cn/problems/gray-code| +|98. 验证二叉搜索树|3|https://leetcode.cn/problems/validate-binary-search-tree| +|152. 乘积最大子数组|3|https://leetcode.cn/problems/maximum-product-subarray| +|384. 打乱数组|3|https://leetcode.cn/problems/shuffle-an-array| +|37. 解数独|3|https://leetcode.cn/problems/sudoku-solver| +|36. 有效的数独|3|https://leetcode.cn/problems/valid-sudoku| +|面试题 08.12. 八皇后|3|https://leetcode.cn/problems/eight-queens-lcci| +|141. 环形链表|3|https://leetcode.cn/problems/linked-list-cycle| +|153. 寻找旋转排序数组中的最小值|3|https://leetcode.cn/problems/find-minimum-in-rotated-sorted-array| +|33. 搜索旋转排序数组|3|https://leetcode.cn/problems/search-in-rotated-sorted-array| +|剑指 Offer 46. 把数字翻译成字符串|2|https://leetcode.cn/problems/ba-shu-zi-fan-yi-cheng-zi-fu-chuan-lcof| +|415. 字符串相加|2|https://leetcode.cn/problems/add-strings| +|986. 区间列表的交集|2|https://leetcode.cn/problems/interval-list-intersections| +|547. 省份数量(原朋友圈)|2|https://leetcode.cn/problems/number-of-provinces| +|34. 在排序数组中查找元素的第一个和最后一个位置|2|https://leetcode.cn/problems/find-first-and-last-position-of-element-in-sorted-array| +|142. 环形链表 II|2|https://leetcode.cn/problems/linked-list-cycle-ii| +|154. 寻找旋转排序数组中的最小值 II|2|https://leetcode.cn/problems/find-minimum-in-rotated-sorted-array-ii| +|283. 移动零|2|https://leetcode.cn/problems/move-zeroes| +|10. 正则表达式匹配|2|https://leetcode.cn/problems/regular-expression-matching| +|79. 单词搜索|2|https://leetcode.cn/problems/word-search| +|剑指 Offer 52. 两个链表的第一个公共节点|2|https://leetcode.cn/problems/liang-ge-lian-biao-de-di-yi-ge-gong-gong-jie-dian-lcof| +|76. 最小覆盖子串|2|https://leetcode.cn/problems/minimum-window-substring| +|449. 序列化和反序列化二叉搜索树|2|https://leetcode.cn/problems/serialize-and-deserialize-bst| +|300. 最长上升子序列|2|https://leetcode.cn/problems/longest-increasing-subsequence| +|剑指 Offer 33. 二叉搜索树的后序遍历序列|2|https://leetcode.cn/problems/er-cha-sou-suo-shu-de-hou-xu-bian-li-xu-lie-lcof| +|剑指 Offer 04. 二维数组中的查找|2|https://leetcode.cn/problems/er-wei-shu-zu-zhong-de-cha-zhao-lcof| +|剑指 Offer 51. 数组中的逆序对|2|https://leetcode.cn/problems/shu-zu-zhong-de-ni-xu-dui-lcof| +|877. 石子游戏|2|https://leetcode.cn/problems/stone-game| +|59. 螺旋矩阵 II|2|https://leetcode.cn/problems/spiral-matrix-ii| +|25. K 个一组翻转链表|2|https://leetcode.cn/problems/reverse-nodes-in-k-group| +|287. 寻找重复数|2|https://leetcode.cn/problems/find-the-duplicate-number| +|362. 敲击计数器|2|https://leetcode.cn/problems/design-hit-counter| +|119. 杨辉三角 II|2|https://leetcode.cn/problems/pascals-triangle-ii| +|863. 二叉树中所有距离为 K 的结点|2|https://leetcode.cn/problems/all-nodes-distance-k-in-binary-tree| +|1095. 山脉数组中查找目标值|2|https://leetcode.cn/problems/find-in-mountain-array| +|295. 数据流的中位数|2|https://leetcode.cn/problems/find-median-from-data-stream| +|8. 字符串转换整数 (atoi)|2|https://leetcode.cn/problems/string-to-integer-atoi| +|129. 求根到叶子节点数字之和|2|https://leetcode.cn/problems/sum-root-to-leaf-numbers| +|173. 二叉搜索树迭代器|2|https://leetcode.cn/problems/binary-search-tree-iterator| +|73. 矩阵置零|2|https://leetcode.cn/problems/set-matrix-zeroes| |补充题12. 二叉树的下一个节点|2|https://mp.weixin.qq.com/s/yewlHvHSilMsrUMFIO8WAA| -|补充题6. 手撕堆排序|2|https://leetcode-cn.com/problems/sort-an-array| -|148. 排序链表|2|https://leetcode-cn.com/problems/sort-list| -|208. 实现 Trie (前缀树)|2|https://leetcode-cn.com/problems/implement-trie-prefix-tree| -|706. 设计哈希映射|2|https://leetcode-cn.com/problems/design-hashmap| -|160. 相交链表|2|https://leetcode-cn.com/problems/intersection-of-two-linked-lists| -|428. 序列化和反序列化 N 叉树|2|https://leetcode-cn.com/problems/serialize-and-deserialize-n-ary-tree| -|64. 最小路径和|2|https://leetcode-cn.com/problems/minimum-path-sum| -|116. 填充每个节点的下一个右侧节点指针|2|https://leetcode-cn.com/problems/populating-next-right-pointers-in-each-node| -|105. 从前序与中序遍历序列构造二叉树|2|https://leetcode-cn.com/problems/construct-binary-tree-from-preorder-and-inorder-traversal| -|40. 组合总和 II|2|https://leetcode-cn.com/problems/combination-sum-ii| -|189. 旋转数组|2|https://leetcode-cn.com/problems/rotate-array| -|84. 柱状图中最大的矩形|1|https://leetcode-cn.com/problems/largest-rectangle-in-histogram| -|120. 三角形最小路径和|1|https://leetcode-cn.com/problems/triangle| -|5. 最长回文子串|1|https://leetcode-cn.com/problems/longest-palindromic-substring| -|867. 转置矩阵|1|https://leetcode-cn.com/problems/transpose-matrix| -|78. 子集|1|https://leetcode-cn.com/problems/subsets| -|907. 子数组的最小值之和|1|https://leetcode-cn.com/problems/sum-of-subarray-minimums| -|1013. 将数组分成和相等的三个部分|1|https://leetcode-cn.com/problems/partition-array-into-three-parts-with-equal-sum| -|572. 另一个树的子树|1|https://leetcode-cn.com/problems/subtree-of-another-tree| -|704. 二分查找|1|https://leetcode-cn.com/problems/binary-search| -|171. Excel表列序号|1|https://leetcode-cn.com/problems/excel-sheet-column-number| -|150. 逆波兰表达式求值|1|https://leetcode-cn.com/problems/evaluate-reverse-polish-notation| -|767. 重构字符串|1|https://leetcode-cn.com/problems/reorganize-string| -|459. 重复的子字符串|1|https://leetcode-cn.com/problems/repeated-substring-pattern| -|973. 最接近原点的 K 个点|1|https://leetcode-cn.com/problems/k-closest-points-to-origin| -|剑指 Offer 21. 调整数组顺序使奇数位于偶数前面|1|https://leetcode-cn.com/problems/diao-zheng-shu-zu-shun-xu-shi-qi-shu-wei-yu-ou-shu-qian-mian-lcof| -|剑指 Offer 36. 二叉搜索树与双向链表|1|https://leetcode-cn.com/problems/er-cha-sou-suo-shu-yu-shuang-xiang-lian-biao-lcof| -|887. 鸡蛋掉落|1|https://leetcode-cn.com/problems/super-egg-drop| -|剑指 Offer 26. 树的子结构|1|https://leetcode-cn.com/problems/shu-de-zi-jie-gou-lcof| -|328. 奇偶链表|1|https://leetcode-cn.com/problems/odd-even-linked-list| -|137. 只出现一次的数字 II|1|https://leetcode-cn.com/problems/single-number-ii| -|155. 最小栈|1|https://leetcode-cn.com/problems/min-stack| -|1375. 灯泡开关 III|1|https://leetcode-cn.com/problems/bulb-switcher-iii| -|662. 二叉树最大宽度|1|https://leetcode-cn.com/problems/maximum-width-of-binary-tree| -|44. 通配符匹配|1|https://leetcode-cn.com/problems/wildcard-matching| -|739. 每日温度|1|https://leetcode-cn.com/problems/daily-temperatures| -|122. 买卖股票的最佳时机 II|1|https://leetcode-cn.com/problems/best-time-to-buy-and-sell-stock-ii| -|20. 有效的括号|1|https://leetcode-cn.com/problems/valid-parentheses| -|700. 二叉搜索树中的搜索|1|https://leetcode-cn.com/problems/search-in-a-binary-search-tree| -|701. 二叉搜索树中的插入操作|1|https://leetcode-cn.com/problems/insert-into-a-binary-search-tree| -|1312. 让字符串成为回文串的最少插入次数|1|https://leetcode-cn.com/problems/minimum-insertion-steps-to-make-a-string-palindrome| -|139. 单词拆分|1|https://leetcode-cn.com/problems/word-break| -|557. 反转字符串中的单词 III|1|https://leetcode-cn.com/problems/reverse-words-in-a-string-iii| -|60. 第k个排列|1|https://leetcode-cn.com/problems/permutation-sequence| -|848. 字母移位|1|https://leetcode-cn.com/problems/shifting-letters| -|569. 员工薪水中位数|1|https://leetcode-cn.com/problems/median-employee-salary| -|88. 合并两个有序数组|1|https://leetcode-cn.com/problems/merge-sorted-array| -|617. 合并二叉树|1|https://leetcode-cn.com/problems/merge-two-binary-trees| -|349. 两个数组的交集|1|https://leetcode-cn.com/problems/intersection-of-two-arrays| -|713. 乘积小于K的子数组|1|https://leetcode-cn.com/problems/subarray-product-less-than-k| -|102. 二叉树的层序遍历|1|https://leetcode-cn.com/problems/binary-tree-level-order-traversal| -|113. 路径总和 II|1|https://leetcode-cn.com/problems/path-sum-ii| -|692. 前K个高频单词|1|https://leetcode-cn.com/problems/top-k-frequent-words| -|394. 字符串解码|1|https://leetcode-cn.com/problems/decode-string| -|1155. 掷骰子的N种方法|1|https://leetcode-cn.com/problems/number-of-dice-rolls-with-target-sum| -|694. 不同岛屿的数量|1|https://leetcode-cn.com/problems/number-of-distinct-islands| -|1314. 矩阵区域和|1|https://leetcode-cn.com/problems/matrix-block-sum| -|82. 删除排序链表中的重复元素 II|1|https://leetcode-cn.com/problems/remove-duplicates-from-sorted-list-ii| -|123. 买卖股票的最佳时机 III|1|https://leetcode-cn.com/problems/best-time-to-buy-and-sell-stock-iii| -|114. 二叉树展开为链表|1|https://leetcode-cn.com/problems/flatten-binary-tree-to-linked-list| -|104. 二叉树的最大深度|1|https://leetcode-cn.com/problems/maximum-depth-of-binary-tree| -|407. 接雨水 II|1|https://leetcode-cn.com/problems/trapping-rain-water-ii| -|剑指 Offer 40. 最小的k个数|1|https://leetcode-cn.com/problems/zui-xiao-de-kge-shu-lcof| -|347. 前 K 个高频元素|1|https://leetcode-cn.com/problems/top-k-frequent-elements| -|剑指 Offer 31. 栈的压入、弹出序列|1|https://leetcode-cn.com/problems/zhan-de-ya-ru-dan-chu-xu-lie-lcof| -|29. 两数相除|1|https://leetcode-cn.com/problems/divide-two-integers| -|1356. 根据数字二进制下 1 的数目排序|1|https://leetcode-cn.com/problems/sort-integers-by-the-number-of-1-bits| -|386. 字典序排数|1|https://leetcode-cn.com/problems/lexicographical-numbers| -|311. 稀疏矩阵的乘法|1|https://leetcode-cn.com/problems/sparse-matrix-multiplication| -|166. 分数到小数|1|https://leetcode-cn.com/problems/fraction-to-recurring-decimal| +|补充题6. 手撕堆排序|2|https://leetcode.cn/problems/sort-an-array| +|148. 排序链表|2|https://leetcode.cn/problems/sort-list| +|208. 实现 Trie (前缀树)|2|https://leetcode.cn/problems/implement-trie-prefix-tree| +|706. 设计哈希映射|2|https://leetcode.cn/problems/design-hashmap| +|160. 相交链表|2|https://leetcode.cn/problems/intersection-of-two-linked-lists| +|428. 序列化和反序列化 N 叉树|2|https://leetcode.cn/problems/serialize-and-deserialize-n-ary-tree| +|64. 最小路径和|2|https://leetcode.cn/problems/minimum-path-sum| +|116. 填充每个节点的下一个右侧节点指针|2|https://leetcode.cn/problems/populating-next-right-pointers-in-each-node| +|105. 从前序与中序遍历序列构造二叉树|2|https://leetcode.cn/problems/construct-binary-tree-from-preorder-and-inorder-traversal| +|40. 组合总和 II|2|https://leetcode.cn/problems/combination-sum-ii| +|189. 旋转数组|2|https://leetcode.cn/problems/rotate-array| +|84. 柱状图中最大的矩形|1|https://leetcode.cn/problems/largest-rectangle-in-histogram| +|120. 三角形最小路径和|1|https://leetcode.cn/problems/triangle| +|5. 最长回文子串|1|https://leetcode.cn/problems/longest-palindromic-substring| +|867. 转置矩阵|1|https://leetcode.cn/problems/transpose-matrix| +|78. 子集|1|https://leetcode.cn/problems/subsets| +|907. 子数组的最小值之和|1|https://leetcode.cn/problems/sum-of-subarray-minimums| +|1013. 将数组分成和相等的三个部分|1|https://leetcode.cn/problems/partition-array-into-three-parts-with-equal-sum| +|572. 另一个树的子树|1|https://leetcode.cn/problems/subtree-of-another-tree| +|704. 二分查找|1|https://leetcode.cn/problems/binary-search| +|171. Excel表列序号|1|https://leetcode.cn/problems/excel-sheet-column-number| +|150. 逆波兰表达式求值|1|https://leetcode.cn/problems/evaluate-reverse-polish-notation| +|767. 重构字符串|1|https://leetcode.cn/problems/reorganize-string| +|459. 重复的子字符串|1|https://leetcode.cn/problems/repeated-substring-pattern| +|973. 最接近原点的 K 个点|1|https://leetcode.cn/problems/k-closest-points-to-origin| +|剑指 Offer 21. 调整数组顺序使奇数位于偶数前面|1|https://leetcode.cn/problems/diao-zheng-shu-zu-shun-xu-shi-qi-shu-wei-yu-ou-shu-qian-mian-lcof| +|剑指 Offer 36. 二叉搜索树与双向链表|1|https://leetcode.cn/problems/er-cha-sou-suo-shu-yu-shuang-xiang-lian-biao-lcof| +|887. 鸡蛋掉落|1|https://leetcode.cn/problems/super-egg-drop| +|剑指 Offer 26. 树的子结构|1|https://leetcode.cn/problems/shu-de-zi-jie-gou-lcof| +|328. 奇偶链表|1|https://leetcode.cn/problems/odd-even-linked-list| +|137. 只出现一次的数字 II|1|https://leetcode.cn/problems/single-number-ii| +|155. 最小栈|1|https://leetcode.cn/problems/min-stack| +|1375. 灯泡开关 III|1|https://leetcode.cn/problems/bulb-switcher-iii| +|662. 二叉树最大宽度|1|https://leetcode.cn/problems/maximum-width-of-binary-tree| +|44. 通配符匹配|1|https://leetcode.cn/problems/wildcard-matching| +|739. 每日温度|1|https://leetcode.cn/problems/daily-temperatures| +|122. 买卖股票的最佳时机 II|1|https://leetcode.cn/problems/best-time-to-buy-and-sell-stock-ii| +|20. 有效的括号|1|https://leetcode.cn/problems/valid-parentheses| +|700. 二叉搜索树中的搜索|1|https://leetcode.cn/problems/search-in-a-binary-search-tree| +|701. 二叉搜索树中的插入操作|1|https://leetcode.cn/problems/insert-into-a-binary-search-tree| +|1312. 让字符串成为回文串的最少插入次数|1|https://leetcode.cn/problems/minimum-insertion-steps-to-make-a-string-palindrome| +|139. 单词拆分|1|https://leetcode.cn/problems/word-break| +|557. 反转字符串中的单词 III|1|https://leetcode.cn/problems/reverse-words-in-a-string-iii| +|60. 第k个排列|1|https://leetcode.cn/problems/permutation-sequence| +|848. 字母移位|1|https://leetcode.cn/problems/shifting-letters| +|569. 员工薪水中位数|1|https://leetcode.cn/problems/median-employee-salary| +|88. 合并两个有序数组|1|https://leetcode.cn/problems/merge-sorted-array| +|617. 合并二叉树|1|https://leetcode.cn/problems/merge-two-binary-trees| +|349. 两个数组的交集|1|https://leetcode.cn/problems/intersection-of-two-arrays| +|713. 乘积小于K的子数组|1|https://leetcode.cn/problems/subarray-product-less-than-k| +|102. 二叉树的层序遍历|1|https://leetcode.cn/problems/binary-tree-level-order-traversal| +|113. 路径总和 II|1|https://leetcode.cn/problems/path-sum-ii| +|692. 前K个高频单词|1|https://leetcode.cn/problems/top-k-frequent-words| +|394. 字符串解码|1|https://leetcode.cn/problems/decode-string| +|1155. 掷骰子的N种方法|1|https://leetcode.cn/problems/number-of-dice-rolls-with-target-sum| +|694. 不同岛屿的数量|1|https://leetcode.cn/problems/number-of-distinct-islands| +|1314. 矩阵区域和|1|https://leetcode.cn/problems/matrix-block-sum| +|82. 删除排序链表中的重复元素 II|1|https://leetcode.cn/problems/remove-duplicates-from-sorted-list-ii| +|123. 买卖股票的最佳时机 III|1|https://leetcode.cn/problems/best-time-to-buy-and-sell-stock-iii| +|114. 二叉树展开为链表|1|https://leetcode.cn/problems/flatten-binary-tree-to-linked-list| +|104. 二叉树的最大深度|1|https://leetcode.cn/problems/maximum-depth-of-binary-tree| +|407. 接雨水 II|1|https://leetcode.cn/problems/trapping-rain-water-ii| +|剑指 Offer 40. 最小的k个数|1|https://leetcode.cn/problems/zui-xiao-de-kge-shu-lcof| +|347. 前 K 个高频元素|1|https://leetcode.cn/problems/top-k-frequent-elements| +|剑指 Offer 31. 栈的压入、弹出序列|1|https://leetcode.cn/problems/zhan-de-ya-ru-dan-chu-xu-lie-lcof| +|29. 两数相除|1|https://leetcode.cn/problems/divide-two-integers| +|1356. 根据数字二进制下 1 的数目排序|1|https://leetcode.cn/problems/sort-integers-by-the-number-of-1-bits| +|386. 字典序排数|1|https://leetcode.cn/problems/lexicographical-numbers| +|311. 稀疏矩阵的乘法|1|https://leetcode.cn/problems/sparse-matrix-multiplication| +|166. 分数到小数|1|https://leetcode.cn/problems/fraction-to-recurring-decimal| |补充题14. 阿拉伯数字转中文数字|1|| -|21. 合并两个有序链表|1|https://leetcode-cn.com/problems/merge-two-sorted-lists| -|1358. 包含所有三种字符的子字符串数目|1|https://leetcode-cn.com/problems/number-of-substrings-containing-all-three-characters| -|剑指 Offer 53 - II. 0~n-1中缺失的数字|1|https://leetcode-cn.com/problems/que-shi-de-shu-zi-lcof| +|21. 合并两个有序链表|1|https://leetcode.cn/problems/merge-two-sorted-lists| +|1358. 包含所有三种字符的子字符串数目|1|https://leetcode.cn/problems/number-of-substrings-containing-all-three-characters| +|剑指 Offer 53 - II. 0~n-1中缺失的数字|1|https://leetcode.cn/problems/que-shi-de-shu-zi-lcof| |补充题17. 两个有序数组第k小的数|1|| -|209. 长度最小的子数组|1|https://leetcode-cn.com/problems/minimum-size-subarray-sum| -|227. 基本计算器 II|1|https://leetcode-cn.com/problems/basic-calculator-ii| -|470. 用 Rand7() 实现 Rand10()|1|https://leetcode-cn.com/problems/implement-rand10-using-rand7| -|13. 罗马数字转整数|1|https://leetcode-cn.com/problems/roman-to-integer| -|643. 子数组最大平均数 I|1|https://leetcode-cn.com/problems/maximum-average-subarray-i| -|871. 最低加油次数|1|https://leetcode-cn.com/problems/minimum-number-of-refueling-stops| -|1615. 最大网络秩|1|https://leetcode-cn.com/problems/maximal-network-rank| -|剑指 Offer 56 - II. 数组中数字出现的次数 II|1|https://leetcode-cn.com/problems/shu-zu-zhong-shu-zi-chu-xian-de-ci-shu-ii-lcof| -|1483. 树节点的第 K 个祖先|1|https://leetcode-cn.com/problems/kth-ancestor-of-a-tree-node| -|1570. 两个稀疏向量的点积|1|https://leetcode-cn.com/problems/dot-product-of-two-sparse-vectors| -|628. 三个数的最大乘积|1|https://leetcode-cn.com/problems/maximum-product-of-three-numbers| -|145. 二叉树的后序遍历|1|https://leetcode-cn.com/problems/binary-tree-postorder-traversal| -|46. 全排列|1|https://leetcode-cn.com/problems/permutations| -|460. LFU缓存|1|https://leetcode-cn.com/problems/lfu-cache| -|785. 判断二分图|1|https://leetcode-cn.com/problems/is-graph-bipartite| -|718. 最长重复子数组|1|https://leetcode-cn.com/problems/maximum-length-of-repeated-subarray| -|242. 有效的字母异位词|1|https://leetcode-cn.com/problems/valid-anagram| -|307. 区域和检索 - 数组可修改|1|https://leetcode-cn.com/problems/range-sum-query-mutable| -|442. 数组中重复的数据|1|https://leetcode-cn.com/problems/find-all-duplicates-in-an-array| +|209. 长度最小的子数组|1|https://leetcode.cn/problems/minimum-size-subarray-sum| +|227. 基本计算器 II|1|https://leetcode.cn/problems/basic-calculator-ii| +|470. 用 Rand7() 实现 Rand10()|1|https://leetcode.cn/problems/implement-rand10-using-rand7| +|13. 罗马数字转整数|1|https://leetcode.cn/problems/roman-to-integer| +|643. 子数组最大平均数 I|1|https://leetcode.cn/problems/maximum-average-subarray-i| +|871. 最低加油次数|1|https://leetcode.cn/problems/minimum-number-of-refueling-stops| +|1615. 最大网络秩|1|https://leetcode.cn/problems/maximal-network-rank| +|剑指 Offer 56 - II. 数组中数字出现的次数 II|1|https://leetcode.cn/problems/shu-zu-zhong-shu-zi-chu-xian-de-ci-shu-ii-lcof| +|1483. 树节点的第 K 个祖先|1|https://leetcode.cn/problems/kth-ancestor-of-a-tree-node| +|1570. 两个稀疏向量的点积|1|https://leetcode.cn/problems/dot-product-of-two-sparse-vectors| +|628. 三个数的最大乘积|1|https://leetcode.cn/problems/maximum-product-of-three-numbers| +|145. 二叉树的后序遍历|1|https://leetcode.cn/problems/binary-tree-postorder-traversal| +|46. 全排列|1|https://leetcode.cn/problems/permutations| +|460. LFU缓存|1|https://leetcode.cn/problems/lfu-cache| +|785. 判断二分图|1|https://leetcode.cn/problems/is-graph-bipartite| +|718. 最长重复子数组|1|https://leetcode.cn/problems/maximum-length-of-repeated-subarray| +|242. 有效的字母异位词|1|https://leetcode.cn/problems/valid-anagram| +|307. 区域和检索 - 数组可修改|1|https://leetcode.cn/problems/range-sum-query-mutable| +|442. 数组中重复的数据|1|https://leetcode.cn/problems/find-all-duplicates-in-an-array| |补充题13. 中文数字转阿拉伯数字|1|| -|56. 合并区间|1|https://leetcode-cn.com/problems/merge-intervals| -|17. 电话号码的字母组合|1|https://leetcode-cn.com/problems/letter-combinations-of-a-phone-number| -|1143. 最长公共子序列|1|https://leetcode-cn.com/problems/longest-common-subsequence| -|179. 最大数|1|https://leetcode-cn.com/problems/largest-number| -|513. 找树左下角的值|1|https://leetcode-cn.com/problems/find-bottom-left-tree-value| -|133. 克隆图|1|https://leetcode-cn.com/problems/clone-graph| -|99. 恢复二叉搜索树|1|https://leetcode-cn.com/problems/recover-binary-search-tree| -|剑指 Offer 48. 最长不含重复字符的子字符串|1|https://leetcode-cn.com/problems/zui-chang-bu-han-zhong-fu-zi-fu-de-zi-zi-fu-chuan-lcof| -|168. Excel表列名称|1|https://leetcode-cn.com/problems/excel-sheet-column-title| -|2. 两数相加|1|https://leetcode-cn.com/problems/add-two-numbers| -|337. 打家劫舍 III|1|https://leetcode-cn.com/problems/house-robber-iii| -|518. 零钱兑换 II|1|https://leetcode-cn.com/problems/coin-change-2| -|844. 比较含退格的字符串|1|https://leetcode-cn.com/problems/backspace-string-compare| -|353. 贪吃蛇|1|https://leetcode-cn.com/problems/design-snake-game| -|198. 打家劫舍|1|https://leetcode-cn.com/problems/house-robber| -|109. 有序链表转换二叉搜索树|1|https://leetcode-cn.com/problems/convert-sorted-list-to-binary-search-tree| -|70. 爬楼梯|1|https://leetcode-cn.com/problems/climbing-stairs| -|面试题 17.24. 最大子矩阵|1|https://leetcode-cn.com/problems/max-submatrix-lcci| -|268. 缺失数字|1|https://leetcode-cn.com/problems/missing-number| -|1497. 检查数组对是否可以被 k 整除|1|https://leetcode-cn.com/problems/check-if-array-pairs-are-divisible-by-k| -|239. 滑动窗口最大值|1|https://leetcode-cn.com/problems/sliding-window-maximum| -|354. 俄罗斯套娃信封问题|1|https://leetcode-cn.com/problems/russian-doll-envelopes| -|752. 打开转盘锁|1|https://leetcode-cn.com/problems/open-the-lock| -|797. 所有可能的路径|1|https://leetcode-cn.com/problems/all-paths-from-source-to-target| -|222. 完全二叉树的节点个数|1|https://leetcode-cn.com/problems/count-complete-tree-nodes| -|322. 零钱兑换|1|https://leetcode-cn.com/problems/coin-change| -|743. 网络延迟时间|1|https://leetcode-cn.com/problems/network-delay-time| -|199. 二叉树的右视图|1|https://leetcode-cn.com/problems/binary-tree-right-side-view| -|135. 分发糖果|1|https://leetcode-cn.com/problems/candy| -|41. 缺失的第一个正数|1|https://leetcode-cn.com/problems/first-missing-positive| -|剑指 Offer 15. 二进制中1的个数|1|https://leetcode-cn.com/problems/er-jin-zhi-zhong-1de-ge-shu-lcof| -|剑指 Offer 22. 链表中倒数第k个节点|1|https://leetcode-cn.com/problems/lian-biao-zhong-dao-shu-di-kge-jie-dian-lcof| +|56. 合并区间|1|https://leetcode.cn/problems/merge-intervals| +|17. 电话号码的字母组合|1|https://leetcode.cn/problems/letter-combinations-of-a-phone-number| +|1143. 最长公共子序列|1|https://leetcode.cn/problems/longest-common-subsequence| +|179. 最大数|1|https://leetcode.cn/problems/largest-number| +|513. 找树左下角的值|1|https://leetcode.cn/problems/find-bottom-left-tree-value| +|133. 克隆图|1|https://leetcode.cn/problems/clone-graph| +|99. 恢复二叉搜索树|1|https://leetcode.cn/problems/recover-binary-search-tree| +|剑指 Offer 48. 最长不含重复字符的子字符串|1|https://leetcode.cn/problems/zui-chang-bu-han-zhong-fu-zi-fu-de-zi-zi-fu-chuan-lcof| +|168. Excel表列名称|1|https://leetcode.cn/problems/excel-sheet-column-title| +|2. 两数相加|1|https://leetcode.cn/problems/add-two-numbers| +|337. 打家劫舍 III|1|https://leetcode.cn/problems/house-robber-iii| +|518. 零钱兑换 II|1|https://leetcode.cn/problems/coin-change-2| +|844. 比较含退格的字符串|1|https://leetcode.cn/problems/backspace-string-compare| +|353. 贪吃蛇|1|https://leetcode.cn/problems/design-snake-game| +|198. 打家劫舍|1|https://leetcode.cn/problems/house-robber| +|109. 有序链表转换二叉搜索树|1|https://leetcode.cn/problems/convert-sorted-list-to-binary-search-tree| +|70. 爬楼梯|1|https://leetcode.cn/problems/climbing-stairs| +|面试题 17.24. 最大子矩阵|1|https://leetcode.cn/problems/max-submatrix-lcci| +|268. 缺失数字|1|https://leetcode.cn/problems/missing-number| +|1497. 检查数组对是否可以被 k 整除|1|https://leetcode.cn/problems/check-if-array-pairs-are-divisible-by-k| +|239. 滑动窗口最大值|1|https://leetcode.cn/problems/sliding-window-maximum| +|354. 俄罗斯套娃信封问题|1|https://leetcode.cn/problems/russian-doll-envelopes| +|752. 打开转盘锁|1|https://leetcode.cn/problems/open-the-lock| +|797. 所有可能的路径|1|https://leetcode.cn/problems/all-paths-from-source-to-target| +|222. 完全二叉树的节点个数|1|https://leetcode.cn/problems/count-complete-tree-nodes| +|322. 零钱兑换|1|https://leetcode.cn/problems/coin-change| +|743. 网络延迟时间|1|https://leetcode.cn/problems/network-delay-time| +|199. 二叉树的右视图|1|https://leetcode.cn/problems/binary-tree-right-side-view| +|135. 分发糖果|1|https://leetcode.cn/problems/candy| +|41. 缺失的第一个正数|1|https://leetcode.cn/problems/first-missing-positive| +|剑指 Offer 15. 二进制中1的个数|1|https://leetcode.cn/problems/er-jin-zhi-zhong-1de-ge-shu-lcof| +|剑指 Offer 22. 链表中倒数第k个节点|1|https://leetcode.cn/problems/lian-biao-zhong-dao-shu-di-kge-jie-dian-lcof| diff --git a/shopee/algorithm.md b/shopee/algorithm.md index ed2d886..668671c 100644 --- a/shopee/algorithm.md +++ b/shopee/algorithm.md @@ -2,7 +2,7 @@ |题目|出现次数|链接| |-|-|-| -|5. 最长回文子串|2|https://leetcode-cn.com/problems/longest-palindromic-substring| -|915. 分割数组|1|https://leetcode-cn.com/problems/partition-array-into-disjoint-intervals| -|3. 无重复字符的最长子串|1|https://leetcode-cn.com/problems/longest-substring-without-repeating-characters| -|724. 寻找数组的中心索引|1|https://leetcode-cn.com/problems/find-pivot-index| \ No newline at end of file +|5. 最长回文子串|2|https://leetcode.cn/problems/longest-palindromic-substring| +|915. 分割数组|1|https://leetcode.cn/problems/partition-array-into-disjoint-intervals| +|3. 无重复字符的最长子串|1|https://leetcode.cn/problems/longest-substring-without-repeating-characters| +|724. 寻找数组的中心索引|1|https://leetcode.cn/problems/find-pivot-index| \ No newline at end of file diff --git a/shopee/backend.md b/shopee/backend.md index ba3005b..5cb90a8 100644 --- a/shopee/backend.md +++ b/shopee/backend.md @@ -2,108 +2,108 @@ |题目|出现次数|链接| |-|-|-| -|232. 用栈实现队列|10|https://leetcode-cn.com/problems/implement-queue-using-stacks| -|160. 相交链表|8|https://leetcode-cn.com/problems/intersection-of-two-linked-lists| -|1. 两数之和|7|https://leetcode-cn.com/problems/two-sum| -|21. 合并两个有序链表|7|https://leetcode-cn.com/problems/merge-two-sorted-lists| -|179. 最大数|5|https://leetcode-cn.com/problems/largest-number| -|704. 二分查找|5|https://leetcode-cn.com/problems/binary-search| -|146. LRU缓存机制|5|https://leetcode-cn.com/problems/lru-cache| -|226. 翻转二叉树|4|https://leetcode-cn.com/problems/invert-binary-tree| -|206. 反转链表|4|https://leetcode-cn.com/problems/reverse-linked-list| -|2. 两数相加|4|https://leetcode-cn.com/problems/add-two-numbers| -|82. 删除排序链表中的重复元素 II|4|https://leetcode-cn.com/problems/remove-duplicates-from-sorted-list-ii| -|72. 编辑距离|3|https://leetcode-cn.com/problems/edit-distance| -|15. 三数之和|3|https://leetcode-cn.com/problems/3sum| -|94. 二叉树的中序遍历|3|https://leetcode-cn.com/problems/binary-tree-inorder-traversal| -|34. 在排序数组中查找元素的第一个和最后一个位置|3|https://leetcode-cn.com/problems/find-first-and-last-position-of-element-in-sorted-array| -|102. 二叉树的层序遍历|3|https://leetcode-cn.com/problems/binary-tree-level-order-traversal| -|3. 无重复字符的最长子串|3|https://leetcode-cn.com/problems/longest-substring-without-repeating-characters| -|117. 填充每个节点的下一个右侧节点指针 II|3|https://leetcode-cn.com/problems/populating-next-right-pointers-in-each-node-ii| -|76. 最小覆盖子串|3|https://leetcode-cn.com/problems/minimum-window-substring| -|445. 两数相加 II|3|https://leetcode-cn.com/problems/add-two-numbers-ii| -|19. 删除链表的倒数第N个节点|2|https://leetcode-cn.com/problems/remove-nth-node-from-end-of-list| -|补充题5. 手撕归并排序|2|https://leetcode-cn.com/problems/sort-an-array| -|105. 从前序与中序遍历序列构造二叉树|2|https://leetcode-cn.com/problems/construct-binary-tree-from-preorder-and-inorder-traversal| -|199. 二叉树的右视图|2|https://leetcode-cn.com/problems/binary-tree-right-side-view| -|141. 环形链表|2|https://leetcode-cn.com/problems/linked-list-cycle| -|136. 只出现一次的数字|2|https://leetcode-cn.com/problems/single-number| -|剑指 Offer 51. 数组中的逆序对|2|https://leetcode-cn.com/problems/shu-zu-zhong-de-ni-xu-dui-lcof| -|113. 路径总和 II|2|https://leetcode-cn.com/problems/path-sum-ii| -|405. 数字转换为十六进制数|2|https://leetcode-cn.com/problems/convert-a-number-to-hexadecimal| -|215. 数组中的第K个最大元素|2|https://leetcode-cn.com/problems/kth-largest-element-in-an-array| -|110. 平衡二叉树|2|https://leetcode-cn.com/problems/balanced-binary-tree| -|剑指 Offer 22. 链表中倒数第k个节点|2|https://leetcode-cn.com/problems/lian-biao-zhong-dao-shu-di-kge-jie-dian-lcof| -|239. 滑动窗口最大值|2|https://leetcode-cn.com/problems/sliding-window-maximum| -|145. 二叉树的后序遍历|2|https://leetcode-cn.com/problems/binary-tree-postorder-traversal| -|25. K 个一组翻转链表|2|https://leetcode-cn.com/problems/reverse-nodes-in-k-group| -|236. 二叉树的最近公共祖先|2|https://leetcode-cn.com/problems/lowest-common-ancestor-of-a-binary-tree| -|23. 合并K个排序链表|1|https://leetcode-cn.com/problems/merge-k-sorted-lists| -|53. 最大子序和|1|https://leetcode-cn.com/problems/maximum-subarray| -|718. 最长重复子数组|1|https://leetcode-cn.com/problems/maximum-length-of-repeated-subarray| -|378. 有序矩阵中第K小的元素|1|https://leetcode-cn.com/problems/kth-smallest-element-in-a-sorted-matrix| -|154. 寻找旋转排序数组中的最小值 II|1|https://leetcode-cn.com/problems/find-minimum-in-rotated-sorted-array-ii| -|295. 数据流的中位数|1|https://leetcode-cn.com/problems/find-median-from-data-stream| -|142. 环形链表 II|1|https://leetcode-cn.com/problems/linked-list-cycle-ii| -|144. 二叉树的前序遍历|1|https://leetcode-cn.com/problems/binary-tree-preorder-traversal| -|42. 接雨水|1|https://leetcode-cn.com/problems/trapping-rain-water| -|167. 两数之和 II - 输入有序数组|1|https://leetcode-cn.com/problems/two-sum-ii-input-array-is-sorted| -|54. 螺旋矩阵|1|https://leetcode-cn.com/problems/spiral-matrix| -|114. 二叉树展开为链表|1|https://leetcode-cn.com/problems/flatten-binary-tree-to-linked-list| -|153. 寻找旋转排序数组中的最小值|1|https://leetcode-cn.com/problems/find-minimum-in-rotated-sorted-array| -|剑指 Offer 10- I. 斐波那契数列|1|https://leetcode-cn.com/problems/fei-bo-na-qi-shu-lie-lcof| -|88. 合并两个有序数组|1|https://leetcode-cn.com/problems/merge-sorted-array| -|5. 最长回文子串|1|https://leetcode-cn.com/problems/longest-palindromic-substring| -|230. 二叉搜索树中第K小的元素|1|https://leetcode-cn.com/problems/kth-smallest-element-in-a-bst| -|300. 最长上升子序列|1|https://leetcode-cn.com/problems/longest-increasing-subsequence| -|415. 字符串相加|1|https://leetcode-cn.com/problems/add-strings| -|138. 复制带随机指针的链表|1|https://leetcode-cn.com/problems/copy-list-with-random-pointer| -|剑指 Offer 62. 圆圈中最后剩下的数字|1|https://leetcode-cn.com/problems/yuan-quan-zhong-zui-hou-sheng-xia-de-shu-zi-lcof| -|98. 验证二叉搜索树|1|https://leetcode-cn.com/problems/validate-binary-search-tree| -|402. 移掉K位数字|1|https://leetcode-cn.com/problems/remove-k-digits| -|208. 实现 Trie (前缀树)|1|https://leetcode-cn.com/problems/implement-trie-prefix-tree| -|528. 按权重随机选择|1|https://leetcode-cn.com/problems/random-pick-with-weight| -|680. 验证回文字符串 Ⅱ|1|https://leetcode-cn.com/problems/valid-palindrome-ii| -|349. 两个数组的交集|1|https://leetcode-cn.com/problems/intersection-of-two-arrays| -|443. 压缩字符串|1|https://leetcode-cn.com/problems/string-compression| -|225. 用队列实现栈|1|https://leetcode-cn.com/problems/implement-stack-using-queues| -|83. 删除排序链表中的重复元素|1|https://leetcode-cn.com/problems/remove-duplicates-from-sorted-list| -|92. 反转链表 II|1|https://leetcode-cn.com/problems/reverse-linked-list-ii| -|97. 交错字符串|1|https://leetcode-cn.com/problems/interleaving-string| -|227. 基本计算器 II|1|https://leetcode-cn.com/problems/basic-calculator-ii| -|169. 多数元素|1|https://leetcode-cn.com/problems/majority-element| -|20. 有效的括号|1|https://leetcode-cn.com/problems/valid-parentheses| -|139. 单词拆分|1|https://leetcode-cn.com/problems/word-break| -|547. 省份数量(原朋友圈)|1|https://leetcode-cn.com/problems/number-of-provinces| -|26. 删除排序数组中的重复项|1|https://leetcode-cn.com/problems/remove-duplicates-from-sorted-array| -|369. 给单链表加一|1|https://leetcode-cn.com/problems/plus-one-linked-list| -|补充题4. 手撕快速排序|1|https://leetcode-cn.com/problems/sort-an-array| -|101. 对称二叉树|1|https://leetcode-cn.com/problems/symmetric-tree| -|62. 不同路径|1|https://leetcode-cn.com/problems/unique-paths| -|513. 找树左下角的值|1|https://leetcode-cn.com/problems/find-bottom-left-tree-value| -|79. 单词搜索|1|https://leetcode-cn.com/problems/word-search| -|283. 移动零|1|https://leetcode-cn.com/problems/move-zeroes| -|48. 旋转图像|1|https://leetcode-cn.com/problems/rotate-image| -|670. 最大交换|1|https://leetcode-cn.com/problems/maximum-swap| -|703. 数据流中的第K大元素|1|https://leetcode-cn.com/problems/kth-largest-element-in-a-stream| -|剑指 Offer 27. 二叉树的镜像|1|https://leetcode-cn.com/problems/er-cha-shu-de-jing-xiang-lcof| -|241. 为运算表达式设计优先级|1|https://leetcode-cn.com/problems/different-ways-to-add-parentheses| -|746. 使用最小花费爬楼梯|1|https://leetcode-cn.com/problems/min-cost-climbing-stairs| -|187. 重复的DNA序列|1|https://leetcode-cn.com/problems/repeated-dna-sequences| -|面试题 01.06. 字符串压缩|1|https://leetcode-cn.com/problems/compress-string-lcci| -|958. 二叉树的完全性检验|1|https://leetcode-cn.com/problems/check-completeness-of-a-binary-tree| -|剑指 Offer 33. 二叉搜索树的后序遍历序列|1|https://leetcode-cn.com/problems/er-cha-sou-suo-shu-de-hou-xu-bian-li-xu-lie-lcof| -|727. 最小窗口子序列|1|https://leetcode-cn.com/problems/minimum-window-subsequence| -|118. 杨辉三角|1|https://leetcode-cn.com/problems/pascals-triangle| -|392. 判断子序列|1|https://leetcode-cn.com/problems/is-subsequence| -|73. 矩阵置零|1|https://leetcode-cn.com/problems/set-matrix-zeroes| -|47. 全排列 II|1|https://leetcode-cn.com/problems/permutations-ii| -|31. 下一个排列|1|https://leetcode-cn.com/problems/next-permutation| -|151. 翻转字符串里的单词|1|https://leetcode-cn.com/problems/reverse-words-in-a-string| -|200. 岛屿数量|1|https://leetcode-cn.com/problems/number-of-islands| -|剑指 Offer 48. 最长不含重复字符的子字符串|1|https://leetcode-cn.com/problems/zui-chang-bu-han-zhong-fu-zi-fu-de-zi-zi-fu-chuan-lcof| -|1038. 从二叉搜索树到更大和树|1|https://leetcode-cn.com/problems/binary-search-tree-to-greater-sum-tree| -|123. 买卖股票的最佳时机 III|1|https://leetcode-cn.com/problems/best-time-to-buy-and-sell-stock-iii| -|257. 二叉树的所有路径|1|https://leetcode-cn.com/problems/binary-tree-paths| -|75. 颜色分类|1|https://leetcode-cn.com/problems/sort-colors| -|628. 三个数的最大乘积|1|https://leetcode-cn.com/problems/maximum-product-of-three-numbers| \ No newline at end of file +|232. 用栈实现队列|10|https://leetcode.cn/problems/implement-queue-using-stacks| +|160. 相交链表|8|https://leetcode.cn/problems/intersection-of-two-linked-lists| +|1. 两数之和|7|https://leetcode.cn/problems/two-sum| +|21. 合并两个有序链表|7|https://leetcode.cn/problems/merge-two-sorted-lists| +|179. 最大数|5|https://leetcode.cn/problems/largest-number| +|704. 二分查找|5|https://leetcode.cn/problems/binary-search| +|146. LRU缓存机制|5|https://leetcode.cn/problems/lru-cache| +|226. 翻转二叉树|4|https://leetcode.cn/problems/invert-binary-tree| +|206. 反转链表|4|https://leetcode.cn/problems/reverse-linked-list| +|2. 两数相加|4|https://leetcode.cn/problems/add-two-numbers| +|82. 删除排序链表中的重复元素 II|4|https://leetcode.cn/problems/remove-duplicates-from-sorted-list-ii| +|72. 编辑距离|3|https://leetcode.cn/problems/edit-distance| +|15. 三数之和|3|https://leetcode.cn/problems/3sum| +|94. 二叉树的中序遍历|3|https://leetcode.cn/problems/binary-tree-inorder-traversal| +|34. 在排序数组中查找元素的第一个和最后一个位置|3|https://leetcode.cn/problems/find-first-and-last-position-of-element-in-sorted-array| +|102. 二叉树的层序遍历|3|https://leetcode.cn/problems/binary-tree-level-order-traversal| +|3. 无重复字符的最长子串|3|https://leetcode.cn/problems/longest-substring-without-repeating-characters| +|117. 填充每个节点的下一个右侧节点指针 II|3|https://leetcode.cn/problems/populating-next-right-pointers-in-each-node-ii| +|76. 最小覆盖子串|3|https://leetcode.cn/problems/minimum-window-substring| +|445. 两数相加 II|3|https://leetcode.cn/problems/add-two-numbers-ii| +|19. 删除链表的倒数第N个节点|2|https://leetcode.cn/problems/remove-nth-node-from-end-of-list| +|补充题5. 手撕归并排序|2|https://leetcode.cn/problems/sort-an-array| +|105. 从前序与中序遍历序列构造二叉树|2|https://leetcode.cn/problems/construct-binary-tree-from-preorder-and-inorder-traversal| +|199. 二叉树的右视图|2|https://leetcode.cn/problems/binary-tree-right-side-view| +|141. 环形链表|2|https://leetcode.cn/problems/linked-list-cycle| +|136. 只出现一次的数字|2|https://leetcode.cn/problems/single-number| +|剑指 Offer 51. 数组中的逆序对|2|https://leetcode.cn/problems/shu-zu-zhong-de-ni-xu-dui-lcof| +|113. 路径总和 II|2|https://leetcode.cn/problems/path-sum-ii| +|405. 数字转换为十六进制数|2|https://leetcode.cn/problems/convert-a-number-to-hexadecimal| +|215. 数组中的第K个最大元素|2|https://leetcode.cn/problems/kth-largest-element-in-an-array| +|110. 平衡二叉树|2|https://leetcode.cn/problems/balanced-binary-tree| +|剑指 Offer 22. 链表中倒数第k个节点|2|https://leetcode.cn/problems/lian-biao-zhong-dao-shu-di-kge-jie-dian-lcof| +|239. 滑动窗口最大值|2|https://leetcode.cn/problems/sliding-window-maximum| +|145. 二叉树的后序遍历|2|https://leetcode.cn/problems/binary-tree-postorder-traversal| +|25. K 个一组翻转链表|2|https://leetcode.cn/problems/reverse-nodes-in-k-group| +|236. 二叉树的最近公共祖先|2|https://leetcode.cn/problems/lowest-common-ancestor-of-a-binary-tree| +|23. 合并K个排序链表|1|https://leetcode.cn/problems/merge-k-sorted-lists| +|53. 最大子序和|1|https://leetcode.cn/problems/maximum-subarray| +|718. 最长重复子数组|1|https://leetcode.cn/problems/maximum-length-of-repeated-subarray| +|378. 有序矩阵中第K小的元素|1|https://leetcode.cn/problems/kth-smallest-element-in-a-sorted-matrix| +|154. 寻找旋转排序数组中的最小值 II|1|https://leetcode.cn/problems/find-minimum-in-rotated-sorted-array-ii| +|295. 数据流的中位数|1|https://leetcode.cn/problems/find-median-from-data-stream| +|142. 环形链表 II|1|https://leetcode.cn/problems/linked-list-cycle-ii| +|144. 二叉树的前序遍历|1|https://leetcode.cn/problems/binary-tree-preorder-traversal| +|42. 接雨水|1|https://leetcode.cn/problems/trapping-rain-water| +|167. 两数之和 II - 输入有序数组|1|https://leetcode.cn/problems/two-sum-ii-input-array-is-sorted| +|54. 螺旋矩阵|1|https://leetcode.cn/problems/spiral-matrix| +|114. 二叉树展开为链表|1|https://leetcode.cn/problems/flatten-binary-tree-to-linked-list| +|153. 寻找旋转排序数组中的最小值|1|https://leetcode.cn/problems/find-minimum-in-rotated-sorted-array| +|剑指 Offer 10- I. 斐波那契数列|1|https://leetcode.cn/problems/fei-bo-na-qi-shu-lie-lcof| +|88. 合并两个有序数组|1|https://leetcode.cn/problems/merge-sorted-array| +|5. 最长回文子串|1|https://leetcode.cn/problems/longest-palindromic-substring| +|230. 二叉搜索树中第K小的元素|1|https://leetcode.cn/problems/kth-smallest-element-in-a-bst| +|300. 最长上升子序列|1|https://leetcode.cn/problems/longest-increasing-subsequence| +|415. 字符串相加|1|https://leetcode.cn/problems/add-strings| +|138. 复制带随机指针的链表|1|https://leetcode.cn/problems/copy-list-with-random-pointer| +|剑指 Offer 62. 圆圈中最后剩下的数字|1|https://leetcode.cn/problems/yuan-quan-zhong-zui-hou-sheng-xia-de-shu-zi-lcof| +|98. 验证二叉搜索树|1|https://leetcode.cn/problems/validate-binary-search-tree| +|402. 移掉K位数字|1|https://leetcode.cn/problems/remove-k-digits| +|208. 实现 Trie (前缀树)|1|https://leetcode.cn/problems/implement-trie-prefix-tree| +|528. 按权重随机选择|1|https://leetcode.cn/problems/random-pick-with-weight| +|680. 验证回文字符串 Ⅱ|1|https://leetcode.cn/problems/valid-palindrome-ii| +|349. 两个数组的交集|1|https://leetcode.cn/problems/intersection-of-two-arrays| +|443. 压缩字符串|1|https://leetcode.cn/problems/string-compression| +|225. 用队列实现栈|1|https://leetcode.cn/problems/implement-stack-using-queues| +|83. 删除排序链表中的重复元素|1|https://leetcode.cn/problems/remove-duplicates-from-sorted-list| +|92. 反转链表 II|1|https://leetcode.cn/problems/reverse-linked-list-ii| +|97. 交错字符串|1|https://leetcode.cn/problems/interleaving-string| +|227. 基本计算器 II|1|https://leetcode.cn/problems/basic-calculator-ii| +|169. 多数元素|1|https://leetcode.cn/problems/majority-element| +|20. 有效的括号|1|https://leetcode.cn/problems/valid-parentheses| +|139. 单词拆分|1|https://leetcode.cn/problems/word-break| +|547. 省份数量(原朋友圈)|1|https://leetcode.cn/problems/number-of-provinces| +|26. 删除排序数组中的重复项|1|https://leetcode.cn/problems/remove-duplicates-from-sorted-array| +|369. 给单链表加一|1|https://leetcode.cn/problems/plus-one-linked-list| +|补充题4. 手撕快速排序|1|https://leetcode.cn/problems/sort-an-array| +|101. 对称二叉树|1|https://leetcode.cn/problems/symmetric-tree| +|62. 不同路径|1|https://leetcode.cn/problems/unique-paths| +|513. 找树左下角的值|1|https://leetcode.cn/problems/find-bottom-left-tree-value| +|79. 单词搜索|1|https://leetcode.cn/problems/word-search| +|283. 移动零|1|https://leetcode.cn/problems/move-zeroes| +|48. 旋转图像|1|https://leetcode.cn/problems/rotate-image| +|670. 最大交换|1|https://leetcode.cn/problems/maximum-swap| +|703. 数据流中的第K大元素|1|https://leetcode.cn/problems/kth-largest-element-in-a-stream| +|剑指 Offer 27. 二叉树的镜像|1|https://leetcode.cn/problems/er-cha-shu-de-jing-xiang-lcof| +|241. 为运算表达式设计优先级|1|https://leetcode.cn/problems/different-ways-to-add-parentheses| +|746. 使用最小花费爬楼梯|1|https://leetcode.cn/problems/min-cost-climbing-stairs| +|187. 重复的DNA序列|1|https://leetcode.cn/problems/repeated-dna-sequences| +|面试题 01.06. 字符串压缩|1|https://leetcode.cn/problems/compress-string-lcci| +|958. 二叉树的完全性检验|1|https://leetcode.cn/problems/check-completeness-of-a-binary-tree| +|剑指 Offer 33. 二叉搜索树的后序遍历序列|1|https://leetcode.cn/problems/er-cha-sou-suo-shu-de-hou-xu-bian-li-xu-lie-lcof| +|727. 最小窗口子序列|1|https://leetcode.cn/problems/minimum-window-subsequence| +|118. 杨辉三角|1|https://leetcode.cn/problems/pascals-triangle| +|392. 判断子序列|1|https://leetcode.cn/problems/is-subsequence| +|73. 矩阵置零|1|https://leetcode.cn/problems/set-matrix-zeroes| +|47. 全排列 II|1|https://leetcode.cn/problems/permutations-ii| +|31. 下一个排列|1|https://leetcode.cn/problems/next-permutation| +|151. 翻转字符串里的单词|1|https://leetcode.cn/problems/reverse-words-in-a-string| +|200. 岛屿数量|1|https://leetcode.cn/problems/number-of-islands| +|剑指 Offer 48. 最长不含重复字符的子字符串|1|https://leetcode.cn/problems/zui-chang-bu-han-zhong-fu-zi-fu-de-zi-zi-fu-chuan-lcof| +|1038. 从二叉搜索树到更大和树|1|https://leetcode.cn/problems/binary-search-tree-to-greater-sum-tree| +|123. 买卖股票的最佳时机 III|1|https://leetcode.cn/problems/best-time-to-buy-and-sell-stock-iii| +|257. 二叉树的所有路径|1|https://leetcode.cn/problems/binary-tree-paths| +|75. 颜色分类|1|https://leetcode.cn/problems/sort-colors| +|628. 三个数的最大乘积|1|https://leetcode.cn/problems/maximum-product-of-three-numbers| \ No newline at end of file diff --git a/shopee/client.md b/shopee/client.md index b4a55e8..a21de57 100644 --- a/shopee/client.md +++ b/shopee/client.md @@ -1,32 +1,32 @@ 我最近开发的[CodeTop网站](https://codetop.cc)可以按照**部门**、**难度**筛选,比markdown更方便检索 |题目|出现次数|链接| |-|-|-| -|53. 最大子序和|5|https://leetcode-cn.com/problems/maximum-subarray| -|206. 反转链表|3|https://leetcode-cn.com/problems/reverse-linked-list| -|110. 平衡二叉树|2|https://leetcode-cn.com/problems/balanced-binary-tree| -|144. 二叉树的前序遍历|2|https://leetcode-cn.com/problems/binary-tree-preorder-traversal| -|54. 螺旋矩阵|2|https://leetcode-cn.com/problems/spiral-matrix| -|剑指 Offer 22. 链表中倒数第k个节点|2|https://leetcode-cn.com/problems/lian-biao-zhong-dao-shu-di-kge-jie-dian-lcof| -|215. 数组中的第K个最大元素|1|https://leetcode-cn.com/problems/kth-largest-element-in-an-array| -|300. 最长上升子序列|1|https://leetcode-cn.com/problems/longest-increasing-subsequence| -|146. LRU缓存机制|1|https://leetcode-cn.com/problems/lru-cache| -|88. 合并两个有序数组|1|https://leetcode-cn.com/problems/merge-sorted-array| -|94. 二叉树的中序遍历|1|https://leetcode-cn.com/problems/binary-tree-inorder-traversal| -|补充题4. 手撕快速排序|1|https://leetcode-cn.com/problems/sort-an-array| -|224. 基本计算器|1|https://leetcode-cn.com/problems/basic-calculator| -|152. 乘积最大子数组|1|https://leetcode-cn.com/problems/maximum-product-subarray| -|232. 用栈实现队列|1|https://leetcode-cn.com/problems/implement-queue-using-stacks| -|102. 二叉树的层序遍历|1|https://leetcode-cn.com/problems/binary-tree-level-order-traversal| -|69. x 的平方根|1|https://leetcode-cn.com/problems/sqrtx| -|补充题5. 手撕归并排序|1|https://leetcode-cn.com/problems/sort-an-array| -|41. 缺失的第一个正数|1|https://leetcode-cn.com/problems/first-missing-positive| -|14. 最长公共前缀|1|https://leetcode-cn.com/problems/longest-common-prefix| -|160. 相交链表|1|https://leetcode-cn.com/problems/intersection-of-two-linked-lists| -|剑指 Offer 31. 栈的压入、弹出序列|1|https://leetcode-cn.com/problems/zhan-de-ya-ru-dan-chu-xu-lie-lcof| -|141. 环形链表|1|https://leetcode-cn.com/problems/linked-list-cycle| -|226. 翻转二叉树|1|https://leetcode-cn.com/problems/invert-binary-tree| -|704. 二分查找|1|https://leetcode-cn.com/problems/binary-search| -|2. 两数相加|1|https://leetcode-cn.com/problems/add-two-numbers| -|剑指 Offer 54. 二叉搜索树的第k大节点|1|https://leetcode-cn.com/problems/er-cha-sou-suo-shu-de-di-kda-jie-dian-lcof| -|142. 环形链表 II|1|https://leetcode-cn.com/problems/linked-list-cycle-ii| -|3. 无重复字符的最长子串|1|https://leetcode-cn.com/problems/longest-substring-without-repeating-characters| \ No newline at end of file +|53. 最大子序和|5|https://leetcode.cn/problems/maximum-subarray| +|206. 反转链表|3|https://leetcode.cn/problems/reverse-linked-list| +|110. 平衡二叉树|2|https://leetcode.cn/problems/balanced-binary-tree| +|144. 二叉树的前序遍历|2|https://leetcode.cn/problems/binary-tree-preorder-traversal| +|54. 螺旋矩阵|2|https://leetcode.cn/problems/spiral-matrix| +|剑指 Offer 22. 链表中倒数第k个节点|2|https://leetcode.cn/problems/lian-biao-zhong-dao-shu-di-kge-jie-dian-lcof| +|215. 数组中的第K个最大元素|1|https://leetcode.cn/problems/kth-largest-element-in-an-array| +|300. 最长上升子序列|1|https://leetcode.cn/problems/longest-increasing-subsequence| +|146. LRU缓存机制|1|https://leetcode.cn/problems/lru-cache| +|88. 合并两个有序数组|1|https://leetcode.cn/problems/merge-sorted-array| +|94. 二叉树的中序遍历|1|https://leetcode.cn/problems/binary-tree-inorder-traversal| +|补充题4. 手撕快速排序|1|https://leetcode.cn/problems/sort-an-array| +|224. 基本计算器|1|https://leetcode.cn/problems/basic-calculator| +|152. 乘积最大子数组|1|https://leetcode.cn/problems/maximum-product-subarray| +|232. 用栈实现队列|1|https://leetcode.cn/problems/implement-queue-using-stacks| +|102. 二叉树的层序遍历|1|https://leetcode.cn/problems/binary-tree-level-order-traversal| +|69. x 的平方根|1|https://leetcode.cn/problems/sqrtx| +|补充题5. 手撕归并排序|1|https://leetcode.cn/problems/sort-an-array| +|41. 缺失的第一个正数|1|https://leetcode.cn/problems/first-missing-positive| +|14. 最长公共前缀|1|https://leetcode.cn/problems/longest-common-prefix| +|160. 相交链表|1|https://leetcode.cn/problems/intersection-of-two-linked-lists| +|剑指 Offer 31. 栈的压入、弹出序列|1|https://leetcode.cn/problems/zhan-de-ya-ru-dan-chu-xu-lie-lcof| +|141. 环形链表|1|https://leetcode.cn/problems/linked-list-cycle| +|226. 翻转二叉树|1|https://leetcode.cn/problems/invert-binary-tree| +|704. 二分查找|1|https://leetcode.cn/problems/binary-search| +|2. 两数相加|1|https://leetcode.cn/problems/add-two-numbers| +|剑指 Offer 54. 二叉搜索树的第k大节点|1|https://leetcode.cn/problems/er-cha-sou-suo-shu-de-di-kda-jie-dian-lcof| +|142. 环形链表 II|1|https://leetcode.cn/problems/linked-list-cycle-ii| +|3. 无重复字符的最长子串|1|https://leetcode.cn/problems/longest-substring-without-repeating-characters| \ No newline at end of file diff --git a/shopee/data.md b/shopee/data.md index 4f8c216..e38e12d 100644 --- a/shopee/data.md +++ b/shopee/data.md @@ -2,8 +2,8 @@ |题目|出现次数|链接| |-|-|-| -|283. 移动零|2|https://leetcode-cn.com/problems/move-zeroes| -|160. 相交链表|1|https://leetcode-cn.com/problems/intersection-of-two-linked-lists| -|补充题4. 手撕快速排序|1|https://leetcode-cn.com/problems/sort-an-array| -|剑指 Offer 27. 二叉树的镜像|1|https://leetcode-cn.com/problems/er-cha-shu-de-jing-xiang-lcof| -|剑指 Offer 09. 用两个栈实现队列|1|https://leetcode-cn.com/problems/yong-liang-ge-zhan-shi-xian-dui-lie-lcof| \ No newline at end of file +|283. 移动零|2|https://leetcode.cn/problems/move-zeroes| +|160. 相交链表|1|https://leetcode.cn/problems/intersection-of-two-linked-lists| +|补充题4. 手撕快速排序|1|https://leetcode.cn/problems/sort-an-array| +|剑指 Offer 27. 二叉树的镜像|1|https://leetcode.cn/problems/er-cha-shu-de-jing-xiang-lcof| +|剑指 Offer 09. 用两个栈实现队列|1|https://leetcode.cn/problems/yong-liang-ge-zhan-shi-xian-dui-lie-lcof| \ No newline at end of file diff --git a/shopee/frontend.md b/shopee/frontend.md index 2e4e8fe..17ec68d 100644 --- a/shopee/frontend.md +++ b/shopee/frontend.md @@ -2,14 +2,14 @@ |题目|出现次数|链接| |-|-|-| -|剑指 Offer 10- I. 斐波那契数列|2|https://leetcode-cn.com/problems/fei-bo-na-qi-shu-lie-lcof| -|415. 字符串相加|2|https://leetcode-cn.com/problems/add-strings| -|补充题4. 手撕快速排序|2|https://leetcode-cn.com/problems/sort-an-array| -|94. 二叉树的中序遍历|2|https://leetcode-cn.com/problems/binary-tree-inorder-traversal| -|102. 二叉树的层序遍历|1|https://leetcode-cn.com/problems/binary-tree-level-order-traversal| -|349. 两个数组的交集|1|https://leetcode-cn.com/problems/intersection-of-two-arrays| -|704. 二分查找|1|https://leetcode-cn.com/problems/binary-search| -|145. 二叉树的后序遍历|1|https://leetcode-cn.com/problems/binary-tree-postorder-traversal| -|151. 翻转字符串里的单词|1|https://leetcode-cn.com/problems/reverse-words-in-a-string| -|1. 两数之和|1|https://leetcode-cn.com/problems/two-sum| -|141. 环形链表|1|https://leetcode-cn.com/problems/linked-list-cycle| \ No newline at end of file +|剑指 Offer 10- I. 斐波那契数列|2|https://leetcode.cn/problems/fei-bo-na-qi-shu-lie-lcof| +|415. 字符串相加|2|https://leetcode.cn/problems/add-strings| +|补充题4. 手撕快速排序|2|https://leetcode.cn/problems/sort-an-array| +|94. 二叉树的中序遍历|2|https://leetcode.cn/problems/binary-tree-inorder-traversal| +|102. 二叉树的层序遍历|1|https://leetcode.cn/problems/binary-tree-level-order-traversal| +|349. 两个数组的交集|1|https://leetcode.cn/problems/intersection-of-two-arrays| +|704. 二分查找|1|https://leetcode.cn/problems/binary-search| +|145. 二叉树的后序遍历|1|https://leetcode.cn/problems/binary-tree-postorder-traversal| +|151. 翻转字符串里的单词|1|https://leetcode.cn/problems/reverse-words-in-a-string| +|1. 两数之和|1|https://leetcode.cn/problems/two-sum| +|141. 环形链表|1|https://leetcode.cn/problems/linked-list-cycle| \ No newline at end of file diff --git a/shopee/test.md b/shopee/test.md index fb82abf..cd217a4 100644 --- a/shopee/test.md +++ b/shopee/test.md @@ -2,36 +2,36 @@ |题目|出现次数|链接| |-|-|-| -|88. 合并两个有序数组|3|https://leetcode-cn.com/problems/merge-sorted-array| -|70. 爬楼梯|3|https://leetcode-cn.com/problems/climbing-stairs| -|14. 最长公共前缀|3|https://leetcode-cn.com/problems/longest-common-prefix| -|136. 只出现一次的数字|3|https://leetcode-cn.com/problems/single-number| -|141. 环形链表|2|https://leetcode-cn.com/problems/linked-list-cycle| -|8. 字符串转换整数 (atoi)|2|https://leetcode-cn.com/problems/string-to-integer-atoi| -|121. 买卖股票的最佳时机|2|https://leetcode-cn.com/problems/best-time-to-buy-and-sell-stock| -|278. 第一个错误的版本|2|https://leetcode-cn.com/problems/first-bad-version| -|59. 螺旋矩阵 II|2|https://leetcode-cn.com/problems/spiral-matrix-ii| -|剑指 Offer 10- I. 斐波那契数列|2|https://leetcode-cn.com/problems/fei-bo-na-qi-shu-lie-lcof| -|704. 二分查找|2|https://leetcode-cn.com/problems/binary-search| -|160. 相交链表|2|https://leetcode-cn.com/problems/intersection-of-two-linked-lists| -|34. 在排序数组中查找元素的第一个和最后一个位置|2|https://leetcode-cn.com/problems/find-first-and-last-position-of-element-in-sorted-array| -|1. 两数之和|2|https://leetcode-cn.com/problems/two-sum| -|15. 三数之和|2|https://leetcode-cn.com/problems/3sum| -|5. 最长回文子串|2|https://leetcode-cn.com/problems/longest-palindromic-substring| +|88. 合并两个有序数组|3|https://leetcode.cn/problems/merge-sorted-array| +|70. 爬楼梯|3|https://leetcode.cn/problems/climbing-stairs| +|14. 最长公共前缀|3|https://leetcode.cn/problems/longest-common-prefix| +|136. 只出现一次的数字|3|https://leetcode.cn/problems/single-number| +|141. 环形链表|2|https://leetcode.cn/problems/linked-list-cycle| +|8. 字符串转换整数 (atoi)|2|https://leetcode.cn/problems/string-to-integer-atoi| +|121. 买卖股票的最佳时机|2|https://leetcode.cn/problems/best-time-to-buy-and-sell-stock| +|278. 第一个错误的版本|2|https://leetcode.cn/problems/first-bad-version| +|59. 螺旋矩阵 II|2|https://leetcode.cn/problems/spiral-matrix-ii| +|剑指 Offer 10- I. 斐波那契数列|2|https://leetcode.cn/problems/fei-bo-na-qi-shu-lie-lcof| +|704. 二分查找|2|https://leetcode.cn/problems/binary-search| +|160. 相交链表|2|https://leetcode.cn/problems/intersection-of-two-linked-lists| +|34. 在排序数组中查找元素的第一个和最后一个位置|2|https://leetcode.cn/problems/find-first-and-last-position-of-element-in-sorted-array| +|1. 两数之和|2|https://leetcode.cn/problems/two-sum| +|15. 三数之和|2|https://leetcode.cn/problems/3sum| +|5. 最长回文子串|2|https://leetcode.cn/problems/longest-palindromic-substring| |补充题13. 中文数字转阿拉伯数字|1|| -|剑指 Offer 03. 数组中重复的数字|1|https://leetcode-cn.com/problems/shu-zu-zhong-zhong-fu-de-shu-zi-lcof| -|145. 二叉树的后序遍历|1|https://leetcode-cn.com/problems/binary-tree-postorder-traversal| -|102. 二叉树的层序遍历|1|https://leetcode-cn.com/problems/binary-tree-level-order-traversal| -|350. 两个数组的交集 II|1|https://leetcode-cn.com/problems/intersection-of-two-arrays-ii| -|268. 缺失数字|1|https://leetcode-cn.com/problems/missing-number| -|206. 反转链表|1|https://leetcode-cn.com/problems/reverse-linked-list| -|877. 石子游戏|1|https://leetcode-cn.com/problems/stone-game| -|162. 寻找峰值|1|https://leetcode-cn.com/problems/find-peak-element| -|232. 用栈实现队列|1|https://leetcode-cn.com/problems/implement-queue-using-stacks| -|168. Excel表列名称|1|https://leetcode-cn.com/problems/excel-sheet-column-title| -|191. 位1的个数|1|https://leetcode-cn.com/problems/number-of-1-bits| -|647. 回文子串|1|https://leetcode-cn.com/problems/palindromic-substrings| -|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| -|125. 验证回文串|1|https://leetcode-cn.com/problems/valid-palindrome| -|142. 环形链表 II|1|https://leetcode-cn.com/problems/linked-list-cycle-ii| \ No newline at end of file +|剑指 Offer 03. 数组中重复的数字|1|https://leetcode.cn/problems/shu-zu-zhong-zhong-fu-de-shu-zi-lcof| +|145. 二叉树的后序遍历|1|https://leetcode.cn/problems/binary-tree-postorder-traversal| +|102. 二叉树的层序遍历|1|https://leetcode.cn/problems/binary-tree-level-order-traversal| +|350. 两个数组的交集 II|1|https://leetcode.cn/problems/intersection-of-two-arrays-ii| +|268. 缺失数字|1|https://leetcode.cn/problems/missing-number| +|206. 反转链表|1|https://leetcode.cn/problems/reverse-linked-list| +|877. 石子游戏|1|https://leetcode.cn/problems/stone-game| +|162. 寻找峰值|1|https://leetcode.cn/problems/find-peak-element| +|232. 用栈实现队列|1|https://leetcode.cn/problems/implement-queue-using-stacks| +|168. Excel表列名称|1|https://leetcode.cn/problems/excel-sheet-column-title| +|191. 位1的个数|1|https://leetcode.cn/problems/number-of-1-bits| +|647. 回文子串|1|https://leetcode.cn/problems/palindromic-substrings| +|20. 有效的括号|1|https://leetcode.cn/problems/valid-parentheses| +|剑指 Offer 22. 链表中倒数第k个节点|1|https://leetcode.cn/problems/lian-biao-zhong-dao-shu-di-kge-jie-dian-lcof| +|125. 验证回文串|1|https://leetcode.cn/problems/valid-palindrome| +|142. 环形链表 II|1|https://leetcode.cn/problems/linked-list-cycle-ii| \ No newline at end of file diff --git a/tencent/algorithm.md b/tencent/algorithm.md index 170b765..e0d79bd 100644 --- a/tencent/algorithm.md +++ b/tencent/algorithm.md @@ -2,36 +2,36 @@ 若想按部门/难度/题型筛选题目,请进入[CodeTop](https://codetop.cc)查询 |题目|出现次数|链接| |-|-|-| -|206. 反转链表|5|https://leetcode-cn.com/problems/reverse-linked-list| -|53. 最大子序和|4|https://leetcode-cn.com/problems/maximum-subarray| -|1143. 最长公共子序列|3|https://leetcode-cn.com/problems/longest-common-subsequence| -|442. 数组中重复的数据|2|https://leetcode-cn.com/problems/find-all-duplicates-in-an-array| -|300. 最长上升子序列|2|https://leetcode-cn.com/problems/longest-increasing-subsequence| -|8. 字符串转换整数 (atoi)|2|https://leetcode-cn.com/problems/string-to-integer-atoi| -|215. 数组中的第K个最大元素|2|https://leetcode-cn.com/problems/kth-largest-element-in-an-array| -|121. 买卖股票的最佳时机|2|https://leetcode-cn.com/problems/best-time-to-buy-and-sell-stock| -|141. 环形链表|1|https://leetcode-cn.com/problems/linked-list-cycle| -|21. 合并两个有序链表|1|https://leetcode-cn.com/problems/merge-two-sorted-lists| -|494. 目标和|1|https://leetcode-cn.com/problems/target-sum| -|227. 基本计算器 II|1|https://leetcode-cn.com/problems/basic-calculator-ii| -|72. 编辑距离|1|https://leetcode-cn.com/problems/edit-distance| -|633. 平方数之和|1|https://leetcode-cn.com/problems/sum-of-square-numbers| -|125. 验证回文串|1|https://leetcode-cn.com/problems/valid-palindrome| -|152. 乘积最大子数组|1|https://leetcode-cn.com/problems/maximum-product-subarray| -|15. 三数之和|1|https://leetcode-cn.com/problems/3sum| -|105. 从前序与中序遍历序列构造二叉树|1|https://leetcode-cn.com/problems/construct-binary-tree-from-preorder-and-inorder-traversal| -|148. 排序链表|1|https://leetcode-cn.com/problems/sort-list| -|239. 滑动窗口最大值|1|https://leetcode-cn.com/problems/sliding-window-maximum| -|22. 括号生成|1|https://leetcode-cn.com/problems/generate-parentheses| -|75. 颜色分类|1|https://leetcode-cn.com/problems/sort-colors| -|20. 有效的括号|1|https://leetcode-cn.com/problems/valid-parentheses| -|169. 多数元素|1|https://leetcode-cn.com/problems/majority-element| -|171. Excel表列序号|1|https://leetcode-cn.com/problems/excel-sheet-column-number| -|5. 最长回文子串|1|https://leetcode-cn.com/problems/longest-palindromic-substring| -|43. 字符串相乘|1|https://leetcode-cn.com/problems/multiply-strings| -|63. 不同路径 II|1|https://leetcode-cn.com/problems/unique-paths-ii| -|146. LRU缓存机制|1|https://leetcode-cn.com/problems/lru-cache| -|补充题6. 手撕堆排序|1|https://leetcode-cn.com/problems/sort-an-array| -|160. 相交链表|1|https://leetcode-cn.com/problems/intersection-of-two-linked-lists| -|补充题4. 手撕快速排序|1|https://leetcode-cn.com/problems/sort-an-array| -|113. 路径总和 II|1|https://leetcode-cn.com/problems/path-sum-ii| \ No newline at end of file +|206. 反转链表|5|https://leetcode.cn/problems/reverse-linked-list| +|53. 最大子序和|4|https://leetcode.cn/problems/maximum-subarray| +|1143. 最长公共子序列|3|https://leetcode.cn/problems/longest-common-subsequence| +|442. 数组中重复的数据|2|https://leetcode.cn/problems/find-all-duplicates-in-an-array| +|300. 最长上升子序列|2|https://leetcode.cn/problems/longest-increasing-subsequence| +|8. 字符串转换整数 (atoi)|2|https://leetcode.cn/problems/string-to-integer-atoi| +|215. 数组中的第K个最大元素|2|https://leetcode.cn/problems/kth-largest-element-in-an-array| +|121. 买卖股票的最佳时机|2|https://leetcode.cn/problems/best-time-to-buy-and-sell-stock| +|141. 环形链表|1|https://leetcode.cn/problems/linked-list-cycle| +|21. 合并两个有序链表|1|https://leetcode.cn/problems/merge-two-sorted-lists| +|494. 目标和|1|https://leetcode.cn/problems/target-sum| +|227. 基本计算器 II|1|https://leetcode.cn/problems/basic-calculator-ii| +|72. 编辑距离|1|https://leetcode.cn/problems/edit-distance| +|633. 平方数之和|1|https://leetcode.cn/problems/sum-of-square-numbers| +|125. 验证回文串|1|https://leetcode.cn/problems/valid-palindrome| +|152. 乘积最大子数组|1|https://leetcode.cn/problems/maximum-product-subarray| +|15. 三数之和|1|https://leetcode.cn/problems/3sum| +|105. 从前序与中序遍历序列构造二叉树|1|https://leetcode.cn/problems/construct-binary-tree-from-preorder-and-inorder-traversal| +|148. 排序链表|1|https://leetcode.cn/problems/sort-list| +|239. 滑动窗口最大值|1|https://leetcode.cn/problems/sliding-window-maximum| +|22. 括号生成|1|https://leetcode.cn/problems/generate-parentheses| +|75. 颜色分类|1|https://leetcode.cn/problems/sort-colors| +|20. 有效的括号|1|https://leetcode.cn/problems/valid-parentheses| +|169. 多数元素|1|https://leetcode.cn/problems/majority-element| +|171. Excel表列序号|1|https://leetcode.cn/problems/excel-sheet-column-number| +|5. 最长回文子串|1|https://leetcode.cn/problems/longest-palindromic-substring| +|43. 字符串相乘|1|https://leetcode.cn/problems/multiply-strings| +|63. 不同路径 II|1|https://leetcode.cn/problems/unique-paths-ii| +|146. LRU缓存机制|1|https://leetcode.cn/problems/lru-cache| +|补充题6. 手撕堆排序|1|https://leetcode.cn/problems/sort-an-array| +|160. 相交链表|1|https://leetcode.cn/problems/intersection-of-two-linked-lists| +|补充题4. 手撕快速排序|1|https://leetcode.cn/problems/sort-an-array| +|113. 路径总和 II|1|https://leetcode.cn/problems/path-sum-ii| \ No newline at end of file diff --git a/tencent/backend.md b/tencent/backend.md index 0b52c21..91e3b25 100644 --- a/tencent/backend.md +++ b/tencent/backend.md @@ -2,181 +2,181 @@ 若想按部门/难度/题型筛选题目,请进入[CodeTop](https://codetop.cc)查询 |题目|出现次数|链接| |-|-|-| -|146. LRU缓存机制|32|https://leetcode-cn.com/problems/lru-cache| -|206. 反转链表|30|https://leetcode-cn.com/problems/reverse-linked-list| -|补充题4. 手撕快速排序|24|https://leetcode-cn.com/problems/sort-an-array| -|21. 合并两个有序链表|18|https://leetcode-cn.com/problems/merge-two-sorted-lists| -|470. 用 Rand7() 实现 Rand10()|15|https://leetcode-cn.com/problems/implement-rand10-using-rand7| -|234. 回文链表|14|https://leetcode-cn.com/problems/palindrome-linked-list| -|8. 字符串转换整数 (atoi)|13|https://leetcode-cn.com/problems/string-to-integer-atoi| -|53. 最大子序和|12|https://leetcode-cn.com/problems/maximum-subarray| -|460. LFU缓存|12|https://leetcode-cn.com/problems/lfu-cache| -|215. 数组中的第K个最大元素|10|https://leetcode-cn.com/problems/kth-largest-element-in-an-array| -|153. 寻找旋转排序数组中的最小值|10|https://leetcode-cn.com/problems/find-minimum-in-rotated-sorted-array| -|3. 无重复字符的最长子串|10|https://leetcode-cn.com/problems/longest-substring-without-repeating-characters| -|704. 二分查找|10|https://leetcode-cn.com/problems/binary-search| -|415. 字符串相加|10|https://leetcode-cn.com/problems/add-strings| -|补充题6. 手撕堆排序|9|https://leetcode-cn.com/problems/sort-an-array| -|剑指 Offer 54. 二叉搜索树的第k大节点|9|https://leetcode-cn.com/problems/er-cha-sou-suo-shu-de-di-kda-jie-dian-lcof| -|160. 相交链表|8|https://leetcode-cn.com/problems/intersection-of-two-linked-lists| -|141. 环形链表|8|https://leetcode-cn.com/problems/linked-list-cycle| -|151. 翻转字符串里的单词|8|https://leetcode-cn.com/problems/reverse-words-in-a-string| -|4. 寻找两个正序数组的中位数|7|https://leetcode-cn.com/problems/median-of-two-sorted-arrays| -|42. 接雨水|7|https://leetcode-cn.com/problems/trapping-rain-water| -|102. 二叉树的层序遍历|7|https://leetcode-cn.com/problems/binary-tree-level-order-traversal| -|144. 二叉树的前序遍历|7|https://leetcode-cn.com/problems/binary-tree-preorder-traversal| -|300. 最长上升子序列|6|https://leetcode-cn.com/problems/longest-increasing-subsequence| -|110. 平衡二叉树|6|https://leetcode-cn.com/problems/balanced-binary-tree| -|2. 两数相加|6|https://leetcode-cn.com/problems/add-two-numbers| -|70. 爬楼梯|6|https://leetcode-cn.com/problems/climbing-stairs| -|213. 打家劫舍 II|6|https://leetcode-cn.com/problems/house-robber-ii| -|5. 最长回文子串|6|https://leetcode-cn.com/problems/longest-palindromic-substring| -|494. 目标和|6|https://leetcode-cn.com/problems/target-sum| -|15. 三数之和|6|https://leetcode-cn.com/problems/3sum| -|1. 两数之和|5|https://leetcode-cn.com/problems/two-sum| -|239. 滑动窗口最大值|5|https://leetcode-cn.com/problems/sliding-window-maximum| -|136. 只出现一次的数字|5|https://leetcode-cn.com/problems/single-number| -|25. K 个一组翻转链表|5|https://leetcode-cn.com/problems/reverse-nodes-in-k-group| -|232. 用栈实现队列|5|https://leetcode-cn.com/problems/implement-queue-using-stacks| -|155. 最小栈|5|https://leetcode-cn.com/problems/min-stack| -|104. 二叉树的最大深度|5|https://leetcode-cn.com/problems/maximum-depth-of-binary-tree| -|剑指 Offer 22. 链表中倒数第k个节点|5|https://leetcode-cn.com/problems/lian-biao-zhong-dao-shu-di-kge-jie-dian-lcof| -|322. 零钱兑换|5|https://leetcode-cn.com/problems/coin-change| -|525. 连续数组|5|https://leetcode-cn.com/problems/contiguous-array| -|169. 多数元素|4|https://leetcode-cn.com/problems/majority-element| -|236. 二叉树的最近公共祖先|4|https://leetcode-cn.com/problems/lowest-common-ancestor-of-a-binary-tree| -|328. 奇偶链表|4|https://leetcode-cn.com/problems/odd-even-linked-list| -|9. 回文数|4|https://leetcode-cn.com/problems/palindrome-number| -|112. 路径总和|4|https://leetcode-cn.com/problems/path-sum| -|142. 环形链表 II|4|https://leetcode-cn.com/problems/linked-list-cycle-ii| -|54. 螺旋矩阵|4|https://leetcode-cn.com/problems/spiral-matrix| -|240. 搜索二维矩阵 II|4|https://leetcode-cn.com/problems/search-a-2d-matrix-ii| -|20. 有效的括号|4|https://leetcode-cn.com/problems/valid-parentheses| -|706. 设计哈希映射|4|https://leetcode-cn.com/problems/design-hashmap| -|678. 有效的括号字符串|4|https://leetcode-cn.com/problems/valid-parenthesis-string| -|补充题5. 手撕归并排序|4|https://leetcode-cn.com/problems/sort-an-array| -|31. 下一个排列|4|https://leetcode-cn.com/problems/next-permutation| -|33. 搜索旋转排序数组|4|https://leetcode-cn.com/problems/search-in-rotated-sorted-array| -|199. 二叉树的右视图|4|https://leetcode-cn.com/problems/binary-tree-right-side-view| -|887. 鸡蛋掉落|4|https://leetcode-cn.com/problems/super-egg-drop| -|46. 全排列|4|https://leetcode-cn.com/problems/permutations| -|88. 合并两个有序数组|4|https://leetcode-cn.com/problems/merge-sorted-array| -|23. 合并K个排序链表|3|https://leetcode-cn.com/problems/merge-k-sorted-lists| -|189. 旋转数组|3|https://leetcode-cn.com/problems/rotate-array| -|59. 螺旋矩阵 II|3|https://leetcode-cn.com/problems/spiral-matrix-ii| -|43. 字符串相乘|3|https://leetcode-cn.com/problems/multiply-strings| -|384. 打乱数组|3|https://leetcode-cn.com/problems/shuffle-an-array| -|172. 阶乘后的零|3|https://leetcode-cn.com/problems/factorial-trailing-zeroes| -|227. 基本计算器 II|3|https://leetcode-cn.com/problems/basic-calculator-ii| -|718. 最长重复子数组|3|https://leetcode-cn.com/problems/maximum-length-of-repeated-subarray| -|394. 字符串解码|3|https://leetcode-cn.com/problems/decode-string| -|69. x 的平方根|3|https://leetcode-cn.com/problems/sqrtx| -|148. 排序链表|3|https://leetcode-cn.com/problems/sort-list| -|143. 重排链表|3|https://leetcode-cn.com/problems/reorder-list| -|121. 买卖股票的最佳时机|2|https://leetcode-cn.com/problems/best-time-to-buy-and-sell-stock| -|37. 解数独|2|https://leetcode-cn.com/problems/sudoku-solver| -|剑指 Offer 42. 连续子数组的最大和|2|https://leetcode-cn.com/problems/lian-xu-zi-shu-zu-de-zui-da-he-lcof| -|287. 寻找重复数|2|https://leetcode-cn.com/problems/find-the-duplicate-number| -|129. 求根到叶子节点数字之和|2|https://leetcode-cn.com/problems/sum-root-to-leaf-numbers| -|78. 子集|2|https://leetcode-cn.com/problems/subsets| -|剑指 Offer 03. 数组中重复的数字|2|https://leetcode-cn.com/problems/shu-zu-zhong-zhong-fu-de-shu-zi-lcof| -|93. 复原IP地址|2|https://leetcode-cn.com/problems/restore-ip-addresses| -|82. 删除排序链表中的重复元素 II|2|https://leetcode-cn.com/problems/remove-duplicates-from-sorted-list-ii| -|138. 复制带随机指针的链表|2|https://leetcode-cn.com/problems/copy-list-with-random-pointer| -|113. 路径总和 II|2|https://leetcode-cn.com/problems/path-sum-ii| -|剑指 Offer 65. 不用加减乘除做加法|2|https://leetcode-cn.com/problems/bu-yong-jia-jian-cheng-chu-zuo-jia-fa-lcof| -|459. 重复的子字符串|2|https://leetcode-cn.com/problems/repeated-substring-pattern| -|19. 删除链表的倒数第N个节点|2|https://leetcode-cn.com/problems/remove-nth-node-from-end-of-list| -|11. 盛最多水的容器|2|https://leetcode-cn.com/problems/container-with-most-water| -|26. 删除排序数组中的重复项|2|https://leetcode-cn.com/problems/remove-duplicates-from-sorted-array| -|103. 二叉树的锯齿形层次遍历|2|https://leetcode-cn.com/problems/binary-tree-zigzag-level-order-traversal| +|146. LRU缓存机制|32|https://leetcode.cn/problems/lru-cache| +|206. 反转链表|30|https://leetcode.cn/problems/reverse-linked-list| +|补充题4. 手撕快速排序|24|https://leetcode.cn/problems/sort-an-array| +|21. 合并两个有序链表|18|https://leetcode.cn/problems/merge-two-sorted-lists| +|470. 用 Rand7() 实现 Rand10()|15|https://leetcode.cn/problems/implement-rand10-using-rand7| +|234. 回文链表|14|https://leetcode.cn/problems/palindrome-linked-list| +|8. 字符串转换整数 (atoi)|13|https://leetcode.cn/problems/string-to-integer-atoi| +|53. 最大子序和|12|https://leetcode.cn/problems/maximum-subarray| +|460. LFU缓存|12|https://leetcode.cn/problems/lfu-cache| +|215. 数组中的第K个最大元素|10|https://leetcode.cn/problems/kth-largest-element-in-an-array| +|153. 寻找旋转排序数组中的最小值|10|https://leetcode.cn/problems/find-minimum-in-rotated-sorted-array| +|3. 无重复字符的最长子串|10|https://leetcode.cn/problems/longest-substring-without-repeating-characters| +|704. 二分查找|10|https://leetcode.cn/problems/binary-search| +|415. 字符串相加|10|https://leetcode.cn/problems/add-strings| +|补充题6. 手撕堆排序|9|https://leetcode.cn/problems/sort-an-array| +|剑指 Offer 54. 二叉搜索树的第k大节点|9|https://leetcode.cn/problems/er-cha-sou-suo-shu-de-di-kda-jie-dian-lcof| +|160. 相交链表|8|https://leetcode.cn/problems/intersection-of-two-linked-lists| +|141. 环形链表|8|https://leetcode.cn/problems/linked-list-cycle| +|151. 翻转字符串里的单词|8|https://leetcode.cn/problems/reverse-words-in-a-string| +|4. 寻找两个正序数组的中位数|7|https://leetcode.cn/problems/median-of-two-sorted-arrays| +|42. 接雨水|7|https://leetcode.cn/problems/trapping-rain-water| +|102. 二叉树的层序遍历|7|https://leetcode.cn/problems/binary-tree-level-order-traversal| +|144. 二叉树的前序遍历|7|https://leetcode.cn/problems/binary-tree-preorder-traversal| +|300. 最长上升子序列|6|https://leetcode.cn/problems/longest-increasing-subsequence| +|110. 平衡二叉树|6|https://leetcode.cn/problems/balanced-binary-tree| +|2. 两数相加|6|https://leetcode.cn/problems/add-two-numbers| +|70. 爬楼梯|6|https://leetcode.cn/problems/climbing-stairs| +|213. 打家劫舍 II|6|https://leetcode.cn/problems/house-robber-ii| +|5. 最长回文子串|6|https://leetcode.cn/problems/longest-palindromic-substring| +|494. 目标和|6|https://leetcode.cn/problems/target-sum| +|15. 三数之和|6|https://leetcode.cn/problems/3sum| +|1. 两数之和|5|https://leetcode.cn/problems/two-sum| +|239. 滑动窗口最大值|5|https://leetcode.cn/problems/sliding-window-maximum| +|136. 只出现一次的数字|5|https://leetcode.cn/problems/single-number| +|25. K 个一组翻转链表|5|https://leetcode.cn/problems/reverse-nodes-in-k-group| +|232. 用栈实现队列|5|https://leetcode.cn/problems/implement-queue-using-stacks| +|155. 最小栈|5|https://leetcode.cn/problems/min-stack| +|104. 二叉树的最大深度|5|https://leetcode.cn/problems/maximum-depth-of-binary-tree| +|剑指 Offer 22. 链表中倒数第k个节点|5|https://leetcode.cn/problems/lian-biao-zhong-dao-shu-di-kge-jie-dian-lcof| +|322. 零钱兑换|5|https://leetcode.cn/problems/coin-change| +|525. 连续数组|5|https://leetcode.cn/problems/contiguous-array| +|169. 多数元素|4|https://leetcode.cn/problems/majority-element| +|236. 二叉树的最近公共祖先|4|https://leetcode.cn/problems/lowest-common-ancestor-of-a-binary-tree| +|328. 奇偶链表|4|https://leetcode.cn/problems/odd-even-linked-list| +|9. 回文数|4|https://leetcode.cn/problems/palindrome-number| +|112. 路径总和|4|https://leetcode.cn/problems/path-sum| +|142. 环形链表 II|4|https://leetcode.cn/problems/linked-list-cycle-ii| +|54. 螺旋矩阵|4|https://leetcode.cn/problems/spiral-matrix| +|240. 搜索二维矩阵 II|4|https://leetcode.cn/problems/search-a-2d-matrix-ii| +|20. 有效的括号|4|https://leetcode.cn/problems/valid-parentheses| +|706. 设计哈希映射|4|https://leetcode.cn/problems/design-hashmap| +|678. 有效的括号字符串|4|https://leetcode.cn/problems/valid-parenthesis-string| +|补充题5. 手撕归并排序|4|https://leetcode.cn/problems/sort-an-array| +|31. 下一个排列|4|https://leetcode.cn/problems/next-permutation| +|33. 搜索旋转排序数组|4|https://leetcode.cn/problems/search-in-rotated-sorted-array| +|199. 二叉树的右视图|4|https://leetcode.cn/problems/binary-tree-right-side-view| +|887. 鸡蛋掉落|4|https://leetcode.cn/problems/super-egg-drop| +|46. 全排列|4|https://leetcode.cn/problems/permutations| +|88. 合并两个有序数组|4|https://leetcode.cn/problems/merge-sorted-array| +|23. 合并K个排序链表|3|https://leetcode.cn/problems/merge-k-sorted-lists| +|189. 旋转数组|3|https://leetcode.cn/problems/rotate-array| +|59. 螺旋矩阵 II|3|https://leetcode.cn/problems/spiral-matrix-ii| +|43. 字符串相乘|3|https://leetcode.cn/problems/multiply-strings| +|384. 打乱数组|3|https://leetcode.cn/problems/shuffle-an-array| +|172. 阶乘后的零|3|https://leetcode.cn/problems/factorial-trailing-zeroes| +|227. 基本计算器 II|3|https://leetcode.cn/problems/basic-calculator-ii| +|718. 最长重复子数组|3|https://leetcode.cn/problems/maximum-length-of-repeated-subarray| +|394. 字符串解码|3|https://leetcode.cn/problems/decode-string| +|69. x 的平方根|3|https://leetcode.cn/problems/sqrtx| +|148. 排序链表|3|https://leetcode.cn/problems/sort-list| +|143. 重排链表|3|https://leetcode.cn/problems/reorder-list| +|121. 买卖股票的最佳时机|2|https://leetcode.cn/problems/best-time-to-buy-and-sell-stock| +|37. 解数独|2|https://leetcode.cn/problems/sudoku-solver| +|剑指 Offer 42. 连续子数组的最大和|2|https://leetcode.cn/problems/lian-xu-zi-shu-zu-de-zui-da-he-lcof| +|287. 寻找重复数|2|https://leetcode.cn/problems/find-the-duplicate-number| +|129. 求根到叶子节点数字之和|2|https://leetcode.cn/problems/sum-root-to-leaf-numbers| +|78. 子集|2|https://leetcode.cn/problems/subsets| +|剑指 Offer 03. 数组中重复的数字|2|https://leetcode.cn/problems/shu-zu-zhong-zhong-fu-de-shu-zi-lcof| +|93. 复原IP地址|2|https://leetcode.cn/problems/restore-ip-addresses| +|82. 删除排序链表中的重复元素 II|2|https://leetcode.cn/problems/remove-duplicates-from-sorted-list-ii| +|138. 复制带随机指针的链表|2|https://leetcode.cn/problems/copy-list-with-random-pointer| +|113. 路径总和 II|2|https://leetcode.cn/problems/path-sum-ii| +|剑指 Offer 65. 不用加减乘除做加法|2|https://leetcode.cn/problems/bu-yong-jia-jian-cheng-chu-zuo-jia-fa-lcof| +|459. 重复的子字符串|2|https://leetcode.cn/problems/repeated-substring-pattern| +|19. 删除链表的倒数第N个节点|2|https://leetcode.cn/problems/remove-nth-node-from-end-of-list| +|11. 盛最多水的容器|2|https://leetcode.cn/problems/container-with-most-water| +|26. 删除排序数组中的重复项|2|https://leetcode.cn/problems/remove-duplicates-from-sorted-array| +|103. 二叉树的锯齿形层次遍历|2|https://leetcode.cn/problems/binary-tree-zigzag-level-order-traversal| |补充题21. 字符串相减|2|https://mp.weixin.qq.com/s/kCue4c0gnLSw0HosFl_t7w| -|907. 子数组的最小值之和|2|https://leetcode-cn.com/problems/sum-of-subarray-minimums| +|907. 子数组的最小值之和|2|https://leetcode.cn/problems/sum-of-subarray-minimums| |补充题22. IP地址与整数的转换|2|https://mp.weixin.qq.com/s/u-RahFTB3JIqND41HqtotQ| -|692. 前K个高频单词|2|https://leetcode-cn.com/problems/top-k-frequent-words| -|200. 岛屿数量|2|https://leetcode-cn.com/problems/number-of-islands| -|14. 最长公共前缀|2|https://leetcode-cn.com/problems/longest-common-prefix| -|118. 杨辉三角|2|https://leetcode-cn.com/problems/pascals-triangle| -|剑指 Offer 57 - II. 和为s的连续正数序列|2|https://leetcode-cn.com/problems/he-wei-sde-lian-xu-zheng-shu-xu-lie-lcof| -|剑指 Offer 40. 最小的k个数|2|https://leetcode-cn.com/problems/zui-xiao-de-kge-shu-lcof| -|378. 有序矩阵中第K小的元素|2|https://leetcode-cn.com/problems/kth-smallest-element-in-a-sorted-matrix| -|48. 旋转图像|2|https://leetcode-cn.com/problems/rotate-image| -|480. 滑动窗口中位数|2|https://leetcode-cn.com/problems/sliding-window-median| -|1095. 山脉数组中查找目标值|2|https://leetcode-cn.com/problems/find-in-mountain-array| -|405. 数字转换为十六进制数|2|https://leetcode-cn.com/problems/convert-a-number-to-hexadecimal| -|92. 反转链表 II|2|https://leetcode-cn.com/problems/reverse-linked-list-ii| -|876. 链表的中间结点|2|https://leetcode-cn.com/problems/middle-of-the-linked-list| -|剑指 Offer 24. 反转链表|1|https://leetcode-cn.com/problems/fan-zhuan-lian-biao-lcof| -|409. 最长回文串|1|https://leetcode-cn.com/problems/longest-palindrome| -|224. 基本计算器|1|https://leetcode-cn.com/problems/basic-calculator| -|94. 二叉树的中序遍历|1|https://leetcode-cn.com/problems/binary-tree-inorder-traversal| -|530. 二叉搜索树的最小绝对差|1|https://leetcode-cn.com/problems/minimum-absolute-difference-in-bst| -|315. 计算右侧小于当前元素的个数|1|https://leetcode-cn.com/problems/count-of-smaller-numbers-after-self| -|260. 只出现一次的数字 III|1|https://leetcode-cn.com/problems/single-number-iii| -|679. 24 点游戏|1|https://leetcode-cn.com/problems/24-game| -|994. 腐烂的橘子|1|https://leetcode-cn.com/problems/rotting-oranges| -|588. 设计内存文件系统|1|https://leetcode-cn.com/problems/design-in-memory-file-system| -|125. 验证回文串|1|https://leetcode-cn.com/problems/valid-palindrome| -|41. 缺失的第一个正数|1|https://leetcode-cn.com/problems/first-missing-positive| -|337. 打家劫舍 III|1|https://leetcode-cn.com/problems/house-robber-iii| -|226. 翻转二叉树|1|https://leetcode-cn.com/problems/invert-binary-tree| -|剑指 Offer 51. 数组中的逆序对|1|https://leetcode-cn.com/problems/shu-zu-zhong-de-ni-xu-dui-lcof| +|692. 前K个高频单词|2|https://leetcode.cn/problems/top-k-frequent-words| +|200. 岛屿数量|2|https://leetcode.cn/problems/number-of-islands| +|14. 最长公共前缀|2|https://leetcode.cn/problems/longest-common-prefix| +|118. 杨辉三角|2|https://leetcode.cn/problems/pascals-triangle| +|剑指 Offer 57 - II. 和为s的连续正数序列|2|https://leetcode.cn/problems/he-wei-sde-lian-xu-zheng-shu-xu-lie-lcof| +|剑指 Offer 40. 最小的k个数|2|https://leetcode.cn/problems/zui-xiao-de-kge-shu-lcof| +|378. 有序矩阵中第K小的元素|2|https://leetcode.cn/problems/kth-smallest-element-in-a-sorted-matrix| +|48. 旋转图像|2|https://leetcode.cn/problems/rotate-image| +|480. 滑动窗口中位数|2|https://leetcode.cn/problems/sliding-window-median| +|1095. 山脉数组中查找目标值|2|https://leetcode.cn/problems/find-in-mountain-array| +|405. 数字转换为十六进制数|2|https://leetcode.cn/problems/convert-a-number-to-hexadecimal| +|92. 反转链表 II|2|https://leetcode.cn/problems/reverse-linked-list-ii| +|876. 链表的中间结点|2|https://leetcode.cn/problems/middle-of-the-linked-list| +|剑指 Offer 24. 反转链表|1|https://leetcode.cn/problems/fan-zhuan-lian-biao-lcof| +|409. 最长回文串|1|https://leetcode.cn/problems/longest-palindrome| +|224. 基本计算器|1|https://leetcode.cn/problems/basic-calculator| +|94. 二叉树的中序遍历|1|https://leetcode.cn/problems/binary-tree-inorder-traversal| +|530. 二叉搜索树的最小绝对差|1|https://leetcode.cn/problems/minimum-absolute-difference-in-bst| +|315. 计算右侧小于当前元素的个数|1|https://leetcode.cn/problems/count-of-smaller-numbers-after-self| +|260. 只出现一次的数字 III|1|https://leetcode.cn/problems/single-number-iii| +|679. 24 点游戏|1|https://leetcode.cn/problems/24-game| +|994. 腐烂的橘子|1|https://leetcode.cn/problems/rotting-oranges| +|588. 设计内存文件系统|1|https://leetcode.cn/problems/design-in-memory-file-system| +|125. 验证回文串|1|https://leetcode.cn/problems/valid-palindrome| +|41. 缺失的第一个正数|1|https://leetcode.cn/problems/first-missing-positive| +|337. 打家劫舍 III|1|https://leetcode.cn/problems/house-robber-iii| +|226. 翻转二叉树|1|https://leetcode.cn/problems/invert-binary-tree| +|剑指 Offer 51. 数组中的逆序对|1|https://leetcode.cn/problems/shu-zu-zhong-de-ni-xu-dui-lcof| |补充题17. 两个有序数组第k小的数|1|| -|217. 存在重复元素|1|https://leetcode-cn.com/problems/contains-duplicate| -|242. 有效的字母异位词|1|https://leetcode-cn.com/problems/valid-anagram| -|63. 不同路径 II|1|https://leetcode-cn.com/problems/unique-paths-ii| -|74. 搜索二维矩阵|1|https://leetcode-cn.com/problems/search-a-2d-matrix| -|701. 二叉搜索树中的插入操作|1|https://leetcode-cn.com/problems/insert-into-a-binary-search-tree| -|1047. 删除字符串中的所有相邻重复项|1|https://leetcode-cn.com/problems/remove-all-adjacent-duplicates-in-string| -|75. 颜色分类|1|https://leetcode-cn.com/problems/sort-colors| +|217. 存在重复元素|1|https://leetcode.cn/problems/contains-duplicate| +|242. 有效的字母异位词|1|https://leetcode.cn/problems/valid-anagram| +|63. 不同路径 II|1|https://leetcode.cn/problems/unique-paths-ii| +|74. 搜索二维矩阵|1|https://leetcode.cn/problems/search-a-2d-matrix| +|701. 二叉搜索树中的插入操作|1|https://leetcode.cn/problems/insert-into-a-binary-search-tree| +|1047. 删除字符串中的所有相邻重复项|1|https://leetcode.cn/problems/remove-all-adjacent-duplicates-in-string| +|75. 颜色分类|1|https://leetcode.cn/problems/sort-colors| |补充题14. 阿拉伯数字转中文数字|1|| -|134. 加油站|1|https://leetcode-cn.com/problems/gas-station| -|231. 2的幂|1|https://leetcode-cn.com/problems/power-of-two| -|451. 根据字符出现频率排序|1|https://leetcode-cn.com/problems/sort-characters-by-frequency| -|24. 两两交换链表中的节点|1|https://leetcode-cn.com/problems/swap-nodes-in-pairs| -|剑指 Offer 10- I. 斐波那契数列|1|https://leetcode-cn.com/problems/fei-bo-na-qi-shu-lie-lcof| -|7. 整数反转|1|https://leetcode-cn.com/problems/reverse-integer| -|316. 去除重复字母|1|https://leetcode-cn.com/problems/remove-duplicate-letters| -|117. 填充每个节点的下一个右侧节点指针 II|1|https://leetcode-cn.com/problems/populating-next-right-pointers-in-each-node-ii| -|61. 旋转链表|1|https://leetcode-cn.com/problems/rotate-list| -|283. 移动零|1|https://leetcode-cn.com/problems/move-zeroes| -|剑指 Offer 36. 二叉搜索树与双向链表|1|https://leetcode-cn.com/problems/er-cha-sou-suo-shu-yu-shuang-xiang-lian-biao-lcof| -|128. 最长连续序列|1|https://leetcode-cn.com/problems/longest-consecutive-sequence| -|1044. 最长重复子串|1|https://leetcode-cn.com/problems/longest-duplicate-substring| -|76. 最小覆盖子串|1|https://leetcode-cn.com/problems/minimum-window-substring| -|50. Pow(x, n)|1|https://leetcode-cn.com/problems/powx-n| -|162. 寻找峰值|1|https://leetcode-cn.com/problems/find-peak-element| -|208. 实现 Trie (前缀树)|1|https://leetcode-cn.com/problems/implement-trie-prefix-tree| -|179. 最大数|1|https://leetcode-cn.com/problems/largest-number| -|728. 自除数|1|https://leetcode-cn.com/problems/self-dividing-numbers| -|391. 完美矩形|1|https://leetcode-cn.com/problems/perfect-rectangle| -|523. 连续的子数组和|1|https://leetcode-cn.com/problems/continuous-subarray-sum| -|137. 只出现一次的数字 II|1|https://leetcode-cn.com/problems/single-number-ii| -|598. 范围求和 II|1|https://leetcode-cn.com/problems/range-addition-ii| -|258. 各位相加|1|https://leetcode-cn.com/problems/add-digits| -|443. 压缩字符串|1|https://leetcode-cn.com/problems/string-compression| -|72. 编辑距离|1|https://leetcode-cn.com/problems/edit-distance| -|292. Nim 游戏|1|https://leetcode-cn.com/problems/nim-game| -|297. 二叉树的序列化与反序列化|1|https://leetcode-cn.com/problems/serialize-and-deserialize-binary-tree| -|518. 零钱兑换 II|1|https://leetcode-cn.com/problems/coin-change-2| -|剑指 Offer 11. 旋转数组的最小数字|1|https://leetcode-cn.com/problems/xuan-zhuan-shu-zu-de-zui-xiao-shu-zi-lcof| -|剑指 Offer 32 - III. 从上到下打印二叉树 III|1|https://leetcode-cn.com/problems/cong-shang-dao-xia-da-yin-er-cha-shu-iii-lcof| -|622. 设计循环队列|1|https://leetcode-cn.com/problems/design-circular-queue| -|1299. 将每个元素替换为右侧最大元素|1|https://leetcode-cn.com/problems/replace-elements-with-greatest-element-on-right-side| -|67. 二进制求和|1|https://leetcode-cn.com/problems/add-binary| -|64. 最小路径和|1|https://leetcode-cn.com/problems/minimum-path-sum| -|剑指 Offer 52. 两个链表的第一个公共节点|1|https://leetcode-cn.com/problems/liang-ge-lian-biao-de-di-yi-ge-gong-gong-jie-dian-lcof| -|560. 和为K的子数组|1|https://leetcode-cn.com/problems/subarray-sum-equals-k| -|28. 实现 strStr()|1|https://leetcode-cn.com/problems/implement-strstr| -|84. 柱状图中最大的矩形|1|https://leetcode-cn.com/problems/largest-rectangle-in-histogram| -|295. 数据流的中位数|1|https://leetcode-cn.com/problems/find-median-from-data-stream| -|225. 用队列实现栈|1|https://leetcode-cn.com/problems/implement-stack-using-queues| -|剑指 Offer 09. 用两个栈实现队列|1|https://leetcode-cn.com/problems/yong-liang-ge-zhan-shi-xian-dui-lie-lcof| -|442. 数组中重复的数据|1|https://leetcode-cn.com/problems/find-all-duplicates-in-an-array| -|381. O(1) 时间插入、删除和获取随机元素 - 允许重复|1|https://leetcode-cn.com/problems/insert-delete-getrandom-o1-duplicates-allowed| -|695. 岛屿的最大面积|1|https://leetcode-cn.com/problems/max-area-of-island| -|111. 二叉树的最小深度|1|https://leetcode-cn.com/problems/minimum-depth-of-binary-tree| -|567. 字符串的排列|1|https://leetcode-cn.com/problems/permutation-in-string| -|107. 二叉树的层次遍历 II|1|https://leetcode-cn.com/problems/binary-tree-level-order-traversal-ii| -|1219. 黄金矿工|1|https://leetcode-cn.com/problems/path-with-maximum-gold| -|剑指 Offer 16. 数值的整数次方|1|https://leetcode-cn.com/problems/shu-zhi-de-zheng-shu-ci-fang-lcof| \ No newline at end of file +|134. 加油站|1|https://leetcode.cn/problems/gas-station| +|231. 2的幂|1|https://leetcode.cn/problems/power-of-two| +|451. 根据字符出现频率排序|1|https://leetcode.cn/problems/sort-characters-by-frequency| +|24. 两两交换链表中的节点|1|https://leetcode.cn/problems/swap-nodes-in-pairs| +|剑指 Offer 10- I. 斐波那契数列|1|https://leetcode.cn/problems/fei-bo-na-qi-shu-lie-lcof| +|7. 整数反转|1|https://leetcode.cn/problems/reverse-integer| +|316. 去除重复字母|1|https://leetcode.cn/problems/remove-duplicate-letters| +|117. 填充每个节点的下一个右侧节点指针 II|1|https://leetcode.cn/problems/populating-next-right-pointers-in-each-node-ii| +|61. 旋转链表|1|https://leetcode.cn/problems/rotate-list| +|283. 移动零|1|https://leetcode.cn/problems/move-zeroes| +|剑指 Offer 36. 二叉搜索树与双向链表|1|https://leetcode.cn/problems/er-cha-sou-suo-shu-yu-shuang-xiang-lian-biao-lcof| +|128. 最长连续序列|1|https://leetcode.cn/problems/longest-consecutive-sequence| +|1044. 最长重复子串|1|https://leetcode.cn/problems/longest-duplicate-substring| +|76. 最小覆盖子串|1|https://leetcode.cn/problems/minimum-window-substring| +|50. Pow(x, n)|1|https://leetcode.cn/problems/powx-n| +|162. 寻找峰值|1|https://leetcode.cn/problems/find-peak-element| +|208. 实现 Trie (前缀树)|1|https://leetcode.cn/problems/implement-trie-prefix-tree| +|179. 最大数|1|https://leetcode.cn/problems/largest-number| +|728. 自除数|1|https://leetcode.cn/problems/self-dividing-numbers| +|391. 完美矩形|1|https://leetcode.cn/problems/perfect-rectangle| +|523. 连续的子数组和|1|https://leetcode.cn/problems/continuous-subarray-sum| +|137. 只出现一次的数字 II|1|https://leetcode.cn/problems/single-number-ii| +|598. 范围求和 II|1|https://leetcode.cn/problems/range-addition-ii| +|258. 各位相加|1|https://leetcode.cn/problems/add-digits| +|443. 压缩字符串|1|https://leetcode.cn/problems/string-compression| +|72. 编辑距离|1|https://leetcode.cn/problems/edit-distance| +|292. Nim 游戏|1|https://leetcode.cn/problems/nim-game| +|297. 二叉树的序列化与反序列化|1|https://leetcode.cn/problems/serialize-and-deserialize-binary-tree| +|518. 零钱兑换 II|1|https://leetcode.cn/problems/coin-change-2| +|剑指 Offer 11. 旋转数组的最小数字|1|https://leetcode.cn/problems/xuan-zhuan-shu-zu-de-zui-xiao-shu-zi-lcof| +|剑指 Offer 32 - III. 从上到下打印二叉树 III|1|https://leetcode.cn/problems/cong-shang-dao-xia-da-yin-er-cha-shu-iii-lcof| +|622. 设计循环队列|1|https://leetcode.cn/problems/design-circular-queue| +|1299. 将每个元素替换为右侧最大元素|1|https://leetcode.cn/problems/replace-elements-with-greatest-element-on-right-side| +|67. 二进制求和|1|https://leetcode.cn/problems/add-binary| +|64. 最小路径和|1|https://leetcode.cn/problems/minimum-path-sum| +|剑指 Offer 52. 两个链表的第一个公共节点|1|https://leetcode.cn/problems/liang-ge-lian-biao-de-di-yi-ge-gong-gong-jie-dian-lcof| +|560. 和为K的子数组|1|https://leetcode.cn/problems/subarray-sum-equals-k| +|28. 实现 strStr()|1|https://leetcode.cn/problems/implement-strstr| +|84. 柱状图中最大的矩形|1|https://leetcode.cn/problems/largest-rectangle-in-histogram| +|295. 数据流的中位数|1|https://leetcode.cn/problems/find-median-from-data-stream| +|225. 用队列实现栈|1|https://leetcode.cn/problems/implement-stack-using-queues| +|剑指 Offer 09. 用两个栈实现队列|1|https://leetcode.cn/problems/yong-liang-ge-zhan-shi-xian-dui-lie-lcof| +|442. 数组中重复的数据|1|https://leetcode.cn/problems/find-all-duplicates-in-an-array| +|381. O(1) 时间插入、删除和获取随机元素 - 允许重复|1|https://leetcode.cn/problems/insert-delete-getrandom-o1-duplicates-allowed| +|695. 岛屿的最大面积|1|https://leetcode.cn/problems/max-area-of-island| +|111. 二叉树的最小深度|1|https://leetcode.cn/problems/minimum-depth-of-binary-tree| +|567. 字符串的排列|1|https://leetcode.cn/problems/permutation-in-string| +|107. 二叉树的层次遍历 II|1|https://leetcode.cn/problems/binary-tree-level-order-traversal-ii| +|1219. 黄金矿工|1|https://leetcode.cn/problems/path-with-maximum-gold| +|剑指 Offer 16. 数值的整数次方|1|https://leetcode.cn/problems/shu-zhi-de-zheng-shu-ci-fang-lcof| \ No newline at end of file diff --git a/tencent/client.md b/tencent/client.md index 82b62e1..dda4a26 100644 --- a/tencent/client.md +++ b/tencent/client.md @@ -2,67 +2,67 @@ 若想按部门/难度/题型筛选题目,请进入[CodeTop](https://codetop.cc)查询 |题目|出现次数|链接| |-|-|-| -|1. 两数之和|4|https://leetcode-cn.com/problems/two-sum| -|剑指 Offer 54. 二叉搜索树的第k大节点|3|https://leetcode-cn.com/problems/er-cha-sou-suo-shu-de-di-kda-jie-dian-lcof| -|300. 最长上升子序列|3|https://leetcode-cn.com/problems/longest-increasing-subsequence| -|21. 合并两个有序链表|3|https://leetcode-cn.com/problems/merge-two-sorted-lists| -|206. 反转链表|3|https://leetcode-cn.com/problems/reverse-linked-list| -|415. 字符串相加|3|https://leetcode-cn.com/problems/add-strings| -|141. 环形链表|2|https://leetcode-cn.com/problems/linked-list-cycle| -|227. 基本计算器 II|2|https://leetcode-cn.com/problems/basic-calculator-ii| -|215. 数组中的第K个最大元素|2|https://leetcode-cn.com/problems/kth-largest-element-in-an-array| -|704. 二分查找|2|https://leetcode-cn.com/problems/binary-search| -|151. 翻转字符串里的单词|2|https://leetcode-cn.com/problems/reverse-words-in-a-string| -|1143. 最长公共子序列|2|https://leetcode-cn.com/problems/longest-common-subsequence| -|234. 回文链表|2|https://leetcode-cn.com/problems/palindrome-linked-list| -|补充题4. 手撕快速排序|2|https://leetcode-cn.com/problems/sort-an-array| -|678. 有效的括号字符串|2|https://leetcode-cn.com/problems/valid-parenthesis-string| -|4. 寻找两个正序数组的中位数|2|https://leetcode-cn.com/problems/median-of-two-sorted-arrays| -|62. 不同路径|2|https://leetcode-cn.com/problems/unique-paths| -|125. 验证回文串|2|https://leetcode-cn.com/problems/valid-palindrome| +|1. 两数之和|4|https://leetcode.cn/problems/two-sum| +|剑指 Offer 54. 二叉搜索树的第k大节点|3|https://leetcode.cn/problems/er-cha-sou-suo-shu-de-di-kda-jie-dian-lcof| +|300. 最长上升子序列|3|https://leetcode.cn/problems/longest-increasing-subsequence| +|21. 合并两个有序链表|3|https://leetcode.cn/problems/merge-two-sorted-lists| +|206. 反转链表|3|https://leetcode.cn/problems/reverse-linked-list| +|415. 字符串相加|3|https://leetcode.cn/problems/add-strings| +|141. 环形链表|2|https://leetcode.cn/problems/linked-list-cycle| +|227. 基本计算器 II|2|https://leetcode.cn/problems/basic-calculator-ii| +|215. 数组中的第K个最大元素|2|https://leetcode.cn/problems/kth-largest-element-in-an-array| +|704. 二分查找|2|https://leetcode.cn/problems/binary-search| +|151. 翻转字符串里的单词|2|https://leetcode.cn/problems/reverse-words-in-a-string| +|1143. 最长公共子序列|2|https://leetcode.cn/problems/longest-common-subsequence| +|234. 回文链表|2|https://leetcode.cn/problems/palindrome-linked-list| +|补充题4. 手撕快速排序|2|https://leetcode.cn/problems/sort-an-array| +|678. 有效的括号字符串|2|https://leetcode.cn/problems/valid-parenthesis-string| +|4. 寻找两个正序数组的中位数|2|https://leetcode.cn/problems/median-of-two-sorted-arrays| +|62. 不同路径|2|https://leetcode.cn/problems/unique-paths| +|125. 验证回文串|2|https://leetcode.cn/problems/valid-palindrome| |补充题19. 判断一个点是否在三角形内|1|https://mp.weixin.qq.com/s/qnVUJq4lmnLsXJgyHCXngA| -|31. 下一个排列|1|https://leetcode-cn.com/problems/next-permutation| -|160. 相交链表|1|https://leetcode-cn.com/problems/intersection-of-two-linked-lists| -|剑指 Offer 22. 链表中倒数第k个节点|1|https://leetcode-cn.com/problems/lian-biao-zhong-dao-shu-di-kge-jie-dian-lcof| -|16. 最接近的三数之和|1|https://leetcode-cn.com/problems/3sum-closest| -|287. 寻找重复数|1|https://leetcode-cn.com/problems/find-the-duplicate-number| -|405. 数字转换为十六进制数|1|https://leetcode-cn.com/problems/convert-a-number-to-hexadecimal| -|207. 课程表|1|https://leetcode-cn.com/problems/course-schedule| -|补充题6. 手撕堆排序|1|https://leetcode-cn.com/problems/sort-an-array| -|104. 二叉树的最大深度|1|https://leetcode-cn.com/problems/maximum-depth-of-binary-tree| -|200. 岛屿数量|1|https://leetcode-cn.com/problems/number-of-islands| -|45. 跳跃游戏 II|1|https://leetcode-cn.com/problems/jump-game-ii| -|剑指 Offer 41. 数据流中的中位数|1|https://leetcode-cn.com/problems/shu-ju-liu-zhong-de-zhong-wei-shu-lcof| -|718. 最长重复子数组|1|https://leetcode-cn.com/problems/maximum-length-of-repeated-subarray| -|10. 正则表达式匹配|1|https://leetcode-cn.com/problems/regular-expression-matching| -|53. 最大子序和|1|https://leetcode-cn.com/problems/maximum-subarray| -|剑指 Offer 11. 旋转数组的最小数字|1|https://leetcode-cn.com/problems/xuan-zhuan-shu-zu-de-zui-xiao-shu-zi-lcof| -|470. 用 Rand7() 实现 Rand10()|1|https://leetcode-cn.com/problems/implement-rand10-using-rand7| -|20. 有效的括号|1|https://leetcode-cn.com/problems/valid-parentheses| -|498. 对角线遍历|1|https://leetcode-cn.com/problems/diagonal-traverse| -|179. 最大数|1|https://leetcode-cn.com/problems/largest-number| -|236. 二叉树的最近公共祖先|1|https://leetcode-cn.com/problems/lowest-common-ancestor-of-a-binary-tree| -|153. 寻找旋转排序数组中的最小值|1|https://leetcode-cn.com/problems/find-minimum-in-rotated-sorted-array| -|128. 最长连续序列|1|https://leetcode-cn.com/problems/longest-consecutive-sequence| -|43. 字符串相乘|1|https://leetcode-cn.com/problems/multiply-strings| -|171. Excel表列序号|1|https://leetcode-cn.com/problems/excel-sheet-column-number| -|876. 链表的中间结点|1|https://leetcode-cn.com/problems/middle-of-the-linked-list| -|2. 两数相加|1|https://leetcode-cn.com/problems/add-two-numbers| -|59. 螺旋矩阵 II|1|https://leetcode-cn.com/problems/spiral-matrix-ii| -|1312. 让字符串成为回文串的最少插入次数|1|https://leetcode-cn.com/problems/minimum-insertion-steps-to-make-a-string-palindrome| -|169. 多数元素|1|https://leetcode-cn.com/problems/majority-element| -|384. 打乱数组|1|https://leetcode-cn.com/problems/shuffle-an-array| -|442. 数组中重复的数据|1|https://leetcode-cn.com/problems/find-all-duplicates-in-an-array| -|144. 二叉树的前序遍历|1|https://leetcode-cn.com/problems/binary-tree-preorder-traversal| -|692. 前K个高频单词|1|https://leetcode-cn.com/problems/top-k-frequent-words| -|167. 两数之和 II - 输入有序数组|1|https://leetcode-cn.com/problems/two-sum-ii-input-array-is-sorted| -|459. 重复的子字符串|1|https://leetcode-cn.com/problems/repeated-substring-pattern| -|26. 删除排序数组中的重复项|1|https://leetcode-cn.com/problems/remove-duplicates-from-sorted-array| -|120. 三角形最小路径和|1|https://leetcode-cn.com/problems/triangle| -|7. 整数反转|1|https://leetcode-cn.com/problems/reverse-integer| -|54. 螺旋矩阵|1|https://leetcode-cn.com/problems/spiral-matrix| -|232. 用栈实现队列|1|https://leetcode-cn.com/problems/implement-queue-using-stacks| -|155. 最小栈|1|https://leetcode-cn.com/problems/min-stack| -|23. 合并K个排序链表|1|https://leetcode-cn.com/problems/merge-k-sorted-lists| -|剑指 Offer 10- I. 斐波那契数列|1|https://leetcode-cn.com/problems/fei-bo-na-qi-shu-lie-lcof| -|887. 鸡蛋掉落|1|https://leetcode-cn.com/problems/super-egg-drop| \ No newline at end of file +|31. 下一个排列|1|https://leetcode.cn/problems/next-permutation| +|160. 相交链表|1|https://leetcode.cn/problems/intersection-of-two-linked-lists| +|剑指 Offer 22. 链表中倒数第k个节点|1|https://leetcode.cn/problems/lian-biao-zhong-dao-shu-di-kge-jie-dian-lcof| +|16. 最接近的三数之和|1|https://leetcode.cn/problems/3sum-closest| +|287. 寻找重复数|1|https://leetcode.cn/problems/find-the-duplicate-number| +|405. 数字转换为十六进制数|1|https://leetcode.cn/problems/convert-a-number-to-hexadecimal| +|207. 课程表|1|https://leetcode.cn/problems/course-schedule| +|补充题6. 手撕堆排序|1|https://leetcode.cn/problems/sort-an-array| +|104. 二叉树的最大深度|1|https://leetcode.cn/problems/maximum-depth-of-binary-tree| +|200. 岛屿数量|1|https://leetcode.cn/problems/number-of-islands| +|45. 跳跃游戏 II|1|https://leetcode.cn/problems/jump-game-ii| +|剑指 Offer 41. 数据流中的中位数|1|https://leetcode.cn/problems/shu-ju-liu-zhong-de-zhong-wei-shu-lcof| +|718. 最长重复子数组|1|https://leetcode.cn/problems/maximum-length-of-repeated-subarray| +|10. 正则表达式匹配|1|https://leetcode.cn/problems/regular-expression-matching| +|53. 最大子序和|1|https://leetcode.cn/problems/maximum-subarray| +|剑指 Offer 11. 旋转数组的最小数字|1|https://leetcode.cn/problems/xuan-zhuan-shu-zu-de-zui-xiao-shu-zi-lcof| +|470. 用 Rand7() 实现 Rand10()|1|https://leetcode.cn/problems/implement-rand10-using-rand7| +|20. 有效的括号|1|https://leetcode.cn/problems/valid-parentheses| +|498. 对角线遍历|1|https://leetcode.cn/problems/diagonal-traverse| +|179. 最大数|1|https://leetcode.cn/problems/largest-number| +|236. 二叉树的最近公共祖先|1|https://leetcode.cn/problems/lowest-common-ancestor-of-a-binary-tree| +|153. 寻找旋转排序数组中的最小值|1|https://leetcode.cn/problems/find-minimum-in-rotated-sorted-array| +|128. 最长连续序列|1|https://leetcode.cn/problems/longest-consecutive-sequence| +|43. 字符串相乘|1|https://leetcode.cn/problems/multiply-strings| +|171. Excel表列序号|1|https://leetcode.cn/problems/excel-sheet-column-number| +|876. 链表的中间结点|1|https://leetcode.cn/problems/middle-of-the-linked-list| +|2. 两数相加|1|https://leetcode.cn/problems/add-two-numbers| +|59. 螺旋矩阵 II|1|https://leetcode.cn/problems/spiral-matrix-ii| +|1312. 让字符串成为回文串的最少插入次数|1|https://leetcode.cn/problems/minimum-insertion-steps-to-make-a-string-palindrome| +|169. 多数元素|1|https://leetcode.cn/problems/majority-element| +|384. 打乱数组|1|https://leetcode.cn/problems/shuffle-an-array| +|442. 数组中重复的数据|1|https://leetcode.cn/problems/find-all-duplicates-in-an-array| +|144. 二叉树的前序遍历|1|https://leetcode.cn/problems/binary-tree-preorder-traversal| +|692. 前K个高频单词|1|https://leetcode.cn/problems/top-k-frequent-words| +|167. 两数之和 II - 输入有序数组|1|https://leetcode.cn/problems/two-sum-ii-input-array-is-sorted| +|459. 重复的子字符串|1|https://leetcode.cn/problems/repeated-substring-pattern| +|26. 删除排序数组中的重复项|1|https://leetcode.cn/problems/remove-duplicates-from-sorted-array| +|120. 三角形最小路径和|1|https://leetcode.cn/problems/triangle| +|7. 整数反转|1|https://leetcode.cn/problems/reverse-integer| +|54. 螺旋矩阵|1|https://leetcode.cn/problems/spiral-matrix| +|232. 用栈实现队列|1|https://leetcode.cn/problems/implement-queue-using-stacks| +|155. 最小栈|1|https://leetcode.cn/problems/min-stack| +|23. 合并K个排序链表|1|https://leetcode.cn/problems/merge-k-sorted-lists| +|剑指 Offer 10- I. 斐波那契数列|1|https://leetcode.cn/problems/fei-bo-na-qi-shu-lie-lcof| +|887. 鸡蛋掉落|1|https://leetcode.cn/problems/super-egg-drop| \ No newline at end of file diff --git a/tencent/frontend.md b/tencent/frontend.md index c06338e..683859c 100644 --- a/tencent/frontend.md +++ b/tencent/frontend.md @@ -2,65 +2,65 @@ 若想按部门/难度/题型筛选题目,请进入[CodeTop](https://codetop.cc)查询 |题目|出现次数|链接| |-|-|-| -|415. 字符串相加|14|https://leetcode-cn.com/problems/add-strings| -|1. 两数之和|4|https://leetcode-cn.com/problems/two-sum| -|704. 二分查找|4|https://leetcode-cn.com/problems/binary-search| -|198. 打家劫舍|4|https://leetcode-cn.com/problems/house-robber| -|165. 比较版本号|3|https://leetcode-cn.com/problems/compare-version-numbers| -|215. 数组中的第K个最大元素|3|https://leetcode-cn.com/problems/kth-largest-element-in-an-array| +|415. 字符串相加|14|https://leetcode.cn/problems/add-strings| +|1. 两数之和|4|https://leetcode.cn/problems/two-sum| +|704. 二分查找|4|https://leetcode.cn/problems/binary-search| +|198. 打家劫舍|4|https://leetcode.cn/problems/house-robber| +|165. 比较版本号|3|https://leetcode.cn/problems/compare-version-numbers| +|215. 数组中的第K个最大元素|3|https://leetcode.cn/problems/kth-largest-element-in-an-array| |补充题22. IP地址与整数的转换|3|https://mp.weixin.qq.com/s/u-RahFTB3JIqND41HqtotQ| -|384. 打乱数组|3|https://leetcode-cn.com/problems/shuffle-an-array| -|22. 括号生成|3|https://leetcode-cn.com/problems/generate-parentheses| -|70. 爬楼梯|2|https://leetcode-cn.com/problems/climbing-stairs| -|121. 买卖股票的最佳时机|2|https://leetcode-cn.com/problems/best-time-to-buy-and-sell-stock| -|146. LRU缓存机制|2|https://leetcode-cn.com/problems/lru-cache| -|206. 反转链表|2|https://leetcode-cn.com/problems/reverse-linked-list| -|21. 合并两个有序链表|2|https://leetcode-cn.com/problems/merge-two-sorted-lists| -|8. 字符串转换整数 (atoi)|2|https://leetcode-cn.com/problems/string-to-integer-atoi| -|543. 二叉树的直径|2|https://leetcode-cn.com/problems/diameter-of-binary-tree| -|剑指 Offer 29. 顺时针打印矩阵|2|https://leetcode-cn.com/problems/shun-shi-zhen-da-yin-ju-zhen-lcof| -|20. 有效的括号|2|https://leetcode-cn.com/problems/valid-parentheses| -|88. 合并两个有序数组|2|https://leetcode-cn.com/problems/merge-sorted-array| -|153. 寻找旋转排序数组中的最小值|2|https://leetcode-cn.com/problems/find-minimum-in-rotated-sorted-array| -|25. K 个一组翻转链表|2|https://leetcode-cn.com/problems/reverse-nodes-in-k-group| -|3. 无重复字符的最长子串|2|https://leetcode-cn.com/problems/longest-substring-without-repeating-characters| -|287. 寻找重复数|1|https://leetcode-cn.com/problems/find-the-duplicate-number| -|59. 螺旋矩阵 II|1|https://leetcode-cn.com/problems/spiral-matrix-ii| -|191. 位1的个数|1|https://leetcode-cn.com/problems/number-of-1-bits| -|160. 相交链表|1|https://leetcode-cn.com/problems/intersection-of-two-linked-lists| -|144. 二叉树的前序遍历|1|https://leetcode-cn.com/problems/binary-tree-preorder-traversal| -|补充题4. 手撕快速排序|1|https://leetcode-cn.com/problems/sort-an-array| -|214. 最短回文串|1|https://leetcode-cn.com/problems/shortest-palindrome| -|61. 旋转链表|1|https://leetcode-cn.com/problems/rotate-list| -|179. 最大数|1|https://leetcode-cn.com/problems/largest-number| -|112. 路径总和|1|https://leetcode-cn.com/problems/path-sum| -|141. 环形链表|1|https://leetcode-cn.com/problems/linked-list-cycle| -|剑指 Offer 22. 链表中倒数第k个节点|1|https://leetcode-cn.com/problems/lian-biao-zhong-dao-shu-di-kge-jie-dian-lcof| -|300. 最长上升子序列|1|https://leetcode-cn.com/problems/longest-increasing-subsequence| -|349. 两个数组的交集|1|https://leetcode-cn.com/problems/intersection-of-two-arrays| +|384. 打乱数组|3|https://leetcode.cn/problems/shuffle-an-array| +|22. 括号生成|3|https://leetcode.cn/problems/generate-parentheses| +|70. 爬楼梯|2|https://leetcode.cn/problems/climbing-stairs| +|121. 买卖股票的最佳时机|2|https://leetcode.cn/problems/best-time-to-buy-and-sell-stock| +|146. LRU缓存机制|2|https://leetcode.cn/problems/lru-cache| +|206. 反转链表|2|https://leetcode.cn/problems/reverse-linked-list| +|21. 合并两个有序链表|2|https://leetcode.cn/problems/merge-two-sorted-lists| +|8. 字符串转换整数 (atoi)|2|https://leetcode.cn/problems/string-to-integer-atoi| +|543. 二叉树的直径|2|https://leetcode.cn/problems/diameter-of-binary-tree| +|剑指 Offer 29. 顺时针打印矩阵|2|https://leetcode.cn/problems/shun-shi-zhen-da-yin-ju-zhen-lcof| +|20. 有效的括号|2|https://leetcode.cn/problems/valid-parentheses| +|88. 合并两个有序数组|2|https://leetcode.cn/problems/merge-sorted-array| +|153. 寻找旋转排序数组中的最小值|2|https://leetcode.cn/problems/find-minimum-in-rotated-sorted-array| +|25. K 个一组翻转链表|2|https://leetcode.cn/problems/reverse-nodes-in-k-group| +|3. 无重复字符的最长子串|2|https://leetcode.cn/problems/longest-substring-without-repeating-characters| +|287. 寻找重复数|1|https://leetcode.cn/problems/find-the-duplicate-number| +|59. 螺旋矩阵 II|1|https://leetcode.cn/problems/spiral-matrix-ii| +|191. 位1的个数|1|https://leetcode.cn/problems/number-of-1-bits| +|160. 相交链表|1|https://leetcode.cn/problems/intersection-of-two-linked-lists| +|144. 二叉树的前序遍历|1|https://leetcode.cn/problems/binary-tree-preorder-traversal| +|补充题4. 手撕快速排序|1|https://leetcode.cn/problems/sort-an-array| +|214. 最短回文串|1|https://leetcode.cn/problems/shortest-palindrome| +|61. 旋转链表|1|https://leetcode.cn/problems/rotate-list| +|179. 最大数|1|https://leetcode.cn/problems/largest-number| +|112. 路径总和|1|https://leetcode.cn/problems/path-sum| +|141. 环形链表|1|https://leetcode.cn/problems/linked-list-cycle| +|剑指 Offer 22. 链表中倒数第k个节点|1|https://leetcode.cn/problems/lian-biao-zhong-dao-shu-di-kge-jie-dian-lcof| +|300. 最长上升子序列|1|https://leetcode.cn/problems/longest-increasing-subsequence| +|349. 两个数组的交集|1|https://leetcode.cn/problems/intersection-of-two-arrays| |补充题21. 字符串相减|1|https://mp.weixin.qq.com/s/kCue4c0gnLSw0HosFl_t7w| -|剑指 Offer 34. 二叉树中和为某一值的路径|1|https://leetcode-cn.com/problems/er-cha-shu-zhong-he-wei-mou-yi-zhi-de-lu-jing-lcof| -|19. 删除链表的倒数第N个节点|1|https://leetcode-cn.com/problems/remove-nth-node-from-end-of-list| -|2. 两数相加|1|https://leetcode-cn.com/problems/add-two-numbers| -|53. 最大子序和|1|https://leetcode-cn.com/problems/maximum-subarray| -|189. 旋转数组|1|https://leetcode-cn.com/problems/rotate-array| -|4. 寻找两个正序数组的中位数|1|https://leetcode-cn.com/problems/median-of-two-sorted-arrays| -|257. 二叉树的所有路径|1|https://leetcode-cn.com/problems/binary-tree-paths| -|670. 最大交换|1|https://leetcode-cn.com/problems/maximum-swap| -|283. 移动零|1|https://leetcode-cn.com/problems/move-zeroes| -|148. 排序链表|1|https://leetcode-cn.com/problems/sort-list| -|剑指 Offer 54. 二叉搜索树的第k大节点|1|https://leetcode-cn.com/problems/er-cha-sou-suo-shu-de-di-kda-jie-dian-lcof| -|110. 平衡二叉树|1|https://leetcode-cn.com/problems/balanced-binary-tree| -|64. 最小路径和|1|https://leetcode-cn.com/problems/minimum-path-sum| -|122. 买卖股票的最佳时机 II|1|https://leetcode-cn.com/problems/best-time-to-buy-and-sell-stock-ii| -|115. 不同的子序列|1|https://leetcode-cn.com/problems/distinct-subsequences| -|106. 从中序与后序遍历序列构造二叉树|1|https://leetcode-cn.com/problems/construct-binary-tree-from-inorder-and-postorder-traversal| -|226. 翻转二叉树|1|https://leetcode-cn.com/problems/invert-binary-tree| -|100. 相同的树|1|https://leetcode-cn.com/problems/same-tree| -|129. 求根到叶子节点数字之和|1|https://leetcode-cn.com/problems/sum-root-to-leaf-numbers| -|459. 重复的子字符串|1|https://leetcode-cn.com/problems/repeated-substring-pattern| -|78. 子集|1|https://leetcode-cn.com/problems/subsets| -|46. 全排列|1|https://leetcode-cn.com/problems/permutations| -|55. 跳跃游戏|1|https://leetcode-cn.com/problems/jump-game| -|1013. 将数组分成和相等的三个部分|1|https://leetcode-cn.com/problems/partition-array-into-three-parts-with-equal-sum| -|33. 搜索旋转排序数组|1|https://leetcode-cn.com/problems/search-in-rotated-sorted-array| \ No newline at end of file +|剑指 Offer 34. 二叉树中和为某一值的路径|1|https://leetcode.cn/problems/er-cha-shu-zhong-he-wei-mou-yi-zhi-de-lu-jing-lcof| +|19. 删除链表的倒数第N个节点|1|https://leetcode.cn/problems/remove-nth-node-from-end-of-list| +|2. 两数相加|1|https://leetcode.cn/problems/add-two-numbers| +|53. 最大子序和|1|https://leetcode.cn/problems/maximum-subarray| +|189. 旋转数组|1|https://leetcode.cn/problems/rotate-array| +|4. 寻找两个正序数组的中位数|1|https://leetcode.cn/problems/median-of-two-sorted-arrays| +|257. 二叉树的所有路径|1|https://leetcode.cn/problems/binary-tree-paths| +|670. 最大交换|1|https://leetcode.cn/problems/maximum-swap| +|283. 移动零|1|https://leetcode.cn/problems/move-zeroes| +|148. 排序链表|1|https://leetcode.cn/problems/sort-list| +|剑指 Offer 54. 二叉搜索树的第k大节点|1|https://leetcode.cn/problems/er-cha-sou-suo-shu-de-di-kda-jie-dian-lcof| +|110. 平衡二叉树|1|https://leetcode.cn/problems/balanced-binary-tree| +|64. 最小路径和|1|https://leetcode.cn/problems/minimum-path-sum| +|122. 买卖股票的最佳时机 II|1|https://leetcode.cn/problems/best-time-to-buy-and-sell-stock-ii| +|115. 不同的子序列|1|https://leetcode.cn/problems/distinct-subsequences| +|106. 从中序与后序遍历序列构造二叉树|1|https://leetcode.cn/problems/construct-binary-tree-from-inorder-and-postorder-traversal| +|226. 翻转二叉树|1|https://leetcode.cn/problems/invert-binary-tree| +|100. 相同的树|1|https://leetcode.cn/problems/same-tree| +|129. 求根到叶子节点数字之和|1|https://leetcode.cn/problems/sum-root-to-leaf-numbers| +|459. 重复的子字符串|1|https://leetcode.cn/problems/repeated-substring-pattern| +|78. 子集|1|https://leetcode.cn/problems/subsets| +|46. 全排列|1|https://leetcode.cn/problems/permutations| +|55. 跳跃游戏|1|https://leetcode.cn/problems/jump-game| +|1013. 将数组分成和相等的三个部分|1|https://leetcode.cn/problems/partition-array-into-three-parts-with-equal-sum| +|33. 搜索旋转排序数组|1|https://leetcode.cn/problems/search-in-rotated-sorted-array| \ No newline at end of file diff --git a/tencent/test.md b/tencent/test.md index f538b38..3f34e13 100644 --- a/tencent/test.md +++ b/tencent/test.md @@ -2,30 +2,30 @@ 若想按部门/难度/题型筛选题目,请进入[CodeTop](https://codetop.cc)查询 |题目|出现次数|链接| |-|-|-| -|3. 无重复字符的最长子串|7|https://leetcode-cn.com/problems/longest-substring-without-repeating-characters| -|227. 基本计算器 II|3|https://leetcode-cn.com/problems/basic-calculator-ii| -|74. 搜索二维矩阵|3|https://leetcode-cn.com/problems/search-a-2d-matrix| -|100. 相同的树|3|https://leetcode-cn.com/problems/same-tree| -|153. 寻找旋转排序数组中的最小值|2|https://leetcode-cn.com/problems/find-minimum-in-rotated-sorted-array| -|补充题4. 手撕快速排序|2|https://leetcode-cn.com/problems/sort-an-array| -|20. 有效的括号|2|https://leetcode-cn.com/problems/valid-parentheses| -|1143. 最长公共子序列|2|https://leetcode-cn.com/problems/longest-common-subsequence| -|171. Excel表列序号|2|https://leetcode-cn.com/problems/excel-sheet-column-number| -|46. 全排列|1|https://leetcode-cn.com/problems/permutations| -|202. 快乐数|1|https://leetcode-cn.com/problems/happy-number| -|134. 加油站|1|https://leetcode-cn.com/problems/gas-station| -|470. 用 Rand7() 实现 Rand10()|1|https://leetcode-cn.com/problems/implement-rand10-using-rand7| -|121. 买卖股票的最佳时机|1|https://leetcode-cn.com/problems/best-time-to-buy-and-sell-stock| -|442. 数组中重复的数据|1|https://leetcode-cn.com/problems/find-all-duplicates-in-an-array| -|53. 最大子序和|1|https://leetcode-cn.com/problems/maximum-subarray| -|剑指 Offer 62. 圆圈中最后剩下的数字|1|https://leetcode-cn.com/problems/yuan-quan-zhong-zui-hou-sheng-xia-de-shu-zi-lcof| -|206. 反转链表|1|https://leetcode-cn.com/problems/reverse-linked-list| -|106. 从中序与后序遍历序列构造二叉树|1|https://leetcode-cn.com/problems/construct-binary-tree-from-inorder-and-postorder-traversal| -|14. 最长公共前缀|1|https://leetcode-cn.com/problems/longest-common-prefix| -|55. 跳跃游戏|1|https://leetcode-cn.com/problems/jump-game| -|136. 只出现一次的数字|1|https://leetcode-cn.com/problems/single-number| -|821. 字符的最短距离|1|https://leetcode-cn.com/problems/shortest-distance-to-a-character| -|43. 字符串相乘|1|https://leetcode-cn.com/problems/multiply-strings| -|237. 删除链表中的节点|1|https://leetcode-cn.com/problems/delete-node-in-a-linked-list| -|217. 存在重复元素|1|https://leetcode-cn.com/problems/contains-duplicate| -|240. 搜索二维矩阵 II|1|https://leetcode-cn.com/problems/search-a-2d-matrix-ii| \ No newline at end of file +|3. 无重复字符的最长子串|7|https://leetcode.cn/problems/longest-substring-without-repeating-characters| +|227. 基本计算器 II|3|https://leetcode.cn/problems/basic-calculator-ii| +|74. 搜索二维矩阵|3|https://leetcode.cn/problems/search-a-2d-matrix| +|100. 相同的树|3|https://leetcode.cn/problems/same-tree| +|153. 寻找旋转排序数组中的最小值|2|https://leetcode.cn/problems/find-minimum-in-rotated-sorted-array| +|补充题4. 手撕快速排序|2|https://leetcode.cn/problems/sort-an-array| +|20. 有效的括号|2|https://leetcode.cn/problems/valid-parentheses| +|1143. 最长公共子序列|2|https://leetcode.cn/problems/longest-common-subsequence| +|171. Excel表列序号|2|https://leetcode.cn/problems/excel-sheet-column-number| +|46. 全排列|1|https://leetcode.cn/problems/permutations| +|202. 快乐数|1|https://leetcode.cn/problems/happy-number| +|134. 加油站|1|https://leetcode.cn/problems/gas-station| +|470. 用 Rand7() 实现 Rand10()|1|https://leetcode.cn/problems/implement-rand10-using-rand7| +|121. 买卖股票的最佳时机|1|https://leetcode.cn/problems/best-time-to-buy-and-sell-stock| +|442. 数组中重复的数据|1|https://leetcode.cn/problems/find-all-duplicates-in-an-array| +|53. 最大子序和|1|https://leetcode.cn/problems/maximum-subarray| +|剑指 Offer 62. 圆圈中最后剩下的数字|1|https://leetcode.cn/problems/yuan-quan-zhong-zui-hou-sheng-xia-de-shu-zi-lcof| +|206. 反转链表|1|https://leetcode.cn/problems/reverse-linked-list| +|106. 从中序与后序遍历序列构造二叉树|1|https://leetcode.cn/problems/construct-binary-tree-from-inorder-and-postorder-traversal| +|14. 最长公共前缀|1|https://leetcode.cn/problems/longest-common-prefix| +|55. 跳跃游戏|1|https://leetcode.cn/problems/jump-game| +|136. 只出现一次的数字|1|https://leetcode.cn/problems/single-number| +|821. 字符的最短距离|1|https://leetcode.cn/problems/shortest-distance-to-a-character| +|43. 字符串相乘|1|https://leetcode.cn/problems/multiply-strings| +|237. 删除链表中的节点|1|https://leetcode.cn/problems/delete-node-in-a-linked-list| +|217. 存在重复元素|1|https://leetcode.cn/problems/contains-duplicate| +|240. 搜索二维矩阵 II|1|https://leetcode.cn/problems/search-a-2d-matrix-ii| \ No newline at end of file diff --git a/yuanfudao/algorithm.md b/yuanfudao/algorithm.md index e05f277..321d9a1 100644 --- a/yuanfudao/algorithm.md +++ b/yuanfudao/algorithm.md @@ -2,21 +2,21 @@ |题目|出现次数|链接| |-|-|-| -|445. 两数相加 II|2|https://leetcode-cn.com/problems/add-two-numbers-ii| -|688. “马”在棋盘上的概率|1|https://leetcode-cn.com/problems/knight-probability-in-chessboard| -|847. 访问所有节点的最短路径|1|https://leetcode-cn.com/problems/shortest-path-visiting-all-nodes| -|340. 至多包含 K 个不同字符的最长子串|1|https://leetcode-cn.com/problems/longest-substring-with-at-most-k-distinct-characters| -|827. 最大人工岛|1|https://leetcode-cn.com/problems/making-a-large-island| -|1254. 统计封闭岛屿的数目|1|https://leetcode-cn.com/problems/number-of-closed-islands| -|582. 杀死进程|1|https://leetcode-cn.com/problems/kill-process| -|773. 滑动谜题|1|https://leetcode-cn.com/problems/sliding-puzzle| -|83. 删除排序链表中的重复元素|1|https://leetcode-cn.com/problems/remove-duplicates-from-sorted-list| -|207. 课程表|1|https://leetcode-cn.com/problems/course-schedule| -|33. 搜索旋转排序数组|1|https://leetcode-cn.com/problems/search-in-rotated-sorted-array| -|543. 二叉树的直径|1|https://leetcode-cn.com/problems/diameter-of-binary-tree| -|692. 前K个高频单词|1|https://leetcode-cn.com/problems/top-k-frequent-words| -|剑指 Offer 22. 链表中倒数第k个节点|1|https://leetcode-cn.com/problems/lian-biao-zhong-dao-shu-di-kge-jie-dian-lcof| -|424. 替换后的最长重复字符|1|https://leetcode-cn.com/problems/longest-repeating-character-replacement| -|200. 岛屿数量|1|https://leetcode-cn.com/problems/number-of-islands| -|25. K 个一组翻转链表|1|https://leetcode-cn.com/problems/reverse-nodes-in-k-group| -|225. 用队列实现栈|1|https://leetcode-cn.com/problems/implement-stack-using-queues| \ No newline at end of file +|445. 两数相加 II|2|https://leetcode.cn/problems/add-two-numbers-ii| +|688. “马”在棋盘上的概率|1|https://leetcode.cn/problems/knight-probability-in-chessboard| +|847. 访问所有节点的最短路径|1|https://leetcode.cn/problems/shortest-path-visiting-all-nodes| +|340. 至多包含 K 个不同字符的最长子串|1|https://leetcode.cn/problems/longest-substring-with-at-most-k-distinct-characters| +|827. 最大人工岛|1|https://leetcode.cn/problems/making-a-large-island| +|1254. 统计封闭岛屿的数目|1|https://leetcode.cn/problems/number-of-closed-islands| +|582. 杀死进程|1|https://leetcode.cn/problems/kill-process| +|773. 滑动谜题|1|https://leetcode.cn/problems/sliding-puzzle| +|83. 删除排序链表中的重复元素|1|https://leetcode.cn/problems/remove-duplicates-from-sorted-list| +|207. 课程表|1|https://leetcode.cn/problems/course-schedule| +|33. 搜索旋转排序数组|1|https://leetcode.cn/problems/search-in-rotated-sorted-array| +|543. 二叉树的直径|1|https://leetcode.cn/problems/diameter-of-binary-tree| +|692. 前K个高频单词|1|https://leetcode.cn/problems/top-k-frequent-words| +|剑指 Offer 22. 链表中倒数第k个节点|1|https://leetcode.cn/problems/lian-biao-zhong-dao-shu-di-kge-jie-dian-lcof| +|424. 替换后的最长重复字符|1|https://leetcode.cn/problems/longest-repeating-character-replacement| +|200. 岛屿数量|1|https://leetcode.cn/problems/number-of-islands| +|25. K 个一组翻转链表|1|https://leetcode.cn/problems/reverse-nodes-in-k-group| +|225. 用队列实现栈|1|https://leetcode.cn/problems/implement-stack-using-queues| \ No newline at end of file diff --git a/yuanfudao/backend.md b/yuanfudao/backend.md index d81a65a..6827d8c 100644 --- a/yuanfudao/backend.md +++ b/yuanfudao/backend.md @@ -2,144 +2,144 @@ |题目|出现次数|链接| |-|-|-| -|215. 数组中的第K个最大元素|10|https://leetcode-cn.com/problems/kth-largest-element-in-an-array| -|92. 反转链表 II|7|https://leetcode-cn.com/problems/reverse-linked-list-ii| -|剑指 Offer 36. 二叉搜索树与双向链表|7|https://leetcode-cn.com/problems/er-cha-sou-suo-shu-yu-shuang-xiang-lian-biao-lcof| -|98. 验证二叉搜索树|7|https://leetcode-cn.com/problems/validate-binary-search-tree| -|148. 排序链表|7|https://leetcode-cn.com/problems/sort-list| -|200. 岛屿数量|6|https://leetcode-cn.com/problems/number-of-islands| -|328. 奇偶链表|6|https://leetcode-cn.com/problems/odd-even-linked-list| -|23. 合并K个排序链表|5|https://leetcode-cn.com/problems/merge-k-sorted-lists| -|306. 累加数|5|https://leetcode-cn.com/problems/additive-number| -|110. 平衡二叉树|5|https://leetcode-cn.com/problems/balanced-binary-tree| -|剑指 Offer 54. 二叉搜索树的第k大节点|5|https://leetcode-cn.com/problems/er-cha-sou-suo-shu-de-di-kda-jie-dian-lcof| -|56. 合并区间|5|https://leetcode-cn.com/problems/merge-intervals| -|33. 搜索旋转排序数组|5|https://leetcode-cn.com/problems/search-in-rotated-sorted-array| -|2. 两数相加|5|https://leetcode-cn.com/problems/add-two-numbers| -|146. LRU缓存机制|4|https://leetcode-cn.com/problems/lru-cache| -|94. 二叉树的中序遍历|4|https://leetcode-cn.com/problems/binary-tree-inorder-traversal| -|93. 复原IP地址|4|https://leetcode-cn.com/problems/restore-ip-addresses| -|113. 路径总和 II|4|https://leetcode-cn.com/problems/path-sum-ii| -|239. 滑动窗口最大值|4|https://leetcode-cn.com/problems/sliding-window-maximum| -|958. 二叉树的完全性检验|4|https://leetcode-cn.com/problems/check-completeness-of-a-binary-tree| -|543. 二叉树的直径|4|https://leetcode-cn.com/problems/diameter-of-binary-tree| -|25. K 个一组翻转链表|4|https://leetcode-cn.com/problems/reverse-nodes-in-k-group| -|104. 二叉树的最大深度|4|https://leetcode-cn.com/problems/maximum-depth-of-binary-tree| -|222. 完全二叉树的节点个数|3|https://leetcode-cn.com/problems/count-complete-tree-nodes| -|83. 删除排序链表中的重复元素|3|https://leetcode-cn.com/problems/remove-duplicates-from-sorted-list| -|64. 最小路径和|3|https://leetcode-cn.com/problems/minimum-path-sum| -|695. 岛屿的最大面积|3|https://leetcode-cn.com/problems/max-area-of-island| -|剑指 Offer 27. 二叉树的镜像|3|https://leetcode-cn.com/problems/er-cha-shu-de-jing-xiang-lcof| -|74. 搜索二维矩阵|3|https://leetcode-cn.com/problems/search-a-2d-matrix| -|142. 环形链表 II|3|https://leetcode-cn.com/problems/linked-list-cycle-ii| -|369. 给单链表加一|3|https://leetcode-cn.com/problems/plus-one-linked-list| -|189. 旋转数组|3|https://leetcode-cn.com/problems/rotate-array| -|32. 最长有效括号|3|https://leetcode-cn.com/problems/longest-valid-parentheses| -|498. 对角线遍历|3|https://leetcode-cn.com/problems/diagonal-traverse| -|530. 二叉搜索树的最小绝对差|3|https://leetcode-cn.com/problems/minimum-absolute-difference-in-bst| -|814. 二叉树剪枝|2|https://leetcode-cn.com/problems/binary-tree-pruning| -|22. 括号生成|2|https://leetcode-cn.com/problems/generate-parentheses| -|1026. 节点与其祖先之间的最大差值|2|https://leetcode-cn.com/problems/maximum-difference-between-node-and-ancestor| -|199. 二叉树的右视图|2|https://leetcode-cn.com/problems/binary-tree-right-side-view| -|69. x 的平方根|2|https://leetcode-cn.com/problems/sqrtx| -|21. 合并两个有序链表|2|https://leetcode-cn.com/problems/merge-two-sorted-lists| -|86. 分隔链表|2|https://leetcode-cn.com/problems/partition-list| -|547. 省份数量(原朋友圈)|2|https://leetcode-cn.com/problems/number-of-provinces| -|662. 二叉树最大宽度|2|https://leetcode-cn.com/problems/maximum-width-of-binary-tree| -|34. 在排序数组中查找元素的第一个和最后一个位置|2|https://leetcode-cn.com/problems/find-first-and-last-position-of-element-in-sorted-array| -|674. 最长连续递增序列|2|https://leetcode-cn.com/problems/longest-continuous-increasing-subsequence| -|101. 对称二叉树|2|https://leetcode-cn.com/problems/symmetric-tree| -|986. 区间列表的交集|2|https://leetcode-cn.com/problems/interval-list-intersections| -|剑指 Offer 22. 链表中倒数第k个节点|2|https://leetcode-cn.com/problems/lian-biao-zhong-dao-shu-di-kge-jie-dian-lcof| -|54. 螺旋矩阵|2|https://leetcode-cn.com/problems/spiral-matrix| -|143. 重排链表|2|https://leetcode-cn.com/problems/reorder-list| -|7. 整数反转|2|https://leetcode-cn.com/problems/reverse-integer| -|386. 字典序排数|2|https://leetcode-cn.com/problems/lexicographical-numbers| -|82. 删除排序链表中的重复元素 II|2|https://leetcode-cn.com/problems/remove-duplicates-from-sorted-list-ii| -|232. 用栈实现队列|2|https://leetcode-cn.com/problems/implement-queue-using-stacks| -|1038. 从二叉搜索树到更大和树|2|https://leetcode-cn.com/problems/binary-search-tree-to-greater-sum-tree| -|206. 反转链表|2|https://leetcode-cn.com/problems/reverse-linked-list| -|400. 第N个数字|2|https://leetcode-cn.com/problems/nth-digit| -|221. 最大正方形|2|https://leetcode-cn.com/problems/maximal-square| -|1. 两数之和|2|https://leetcode-cn.com/problems/two-sum| -|5. 最长回文子串|2|https://leetcode-cn.com/problems/longest-palindromic-substring| -|402. 移掉K位数字|2|https://leetcode-cn.com/problems/remove-k-digits| -|52. N皇后 II|1|https://leetcode-cn.com/problems/n-queens-ii| -|103. 二叉树的锯齿形层次遍历|1|https://leetcode-cn.com/problems/binary-tree-zigzag-level-order-traversal| -|8. 字符串转换整数 (atoi)|1|https://leetcode-cn.com/problems/string-to-integer-atoi| -|145. 二叉树的后序遍历|1|https://leetcode-cn.com/problems/binary-tree-postorder-traversal| -|41. 缺失的第一个正数|1|https://leetcode-cn.com/problems/first-missing-positive| -|剑指 Offer 45. 把数组排成最小的数|1|https://leetcode-cn.com/problems/ba-shu-zu-pai-cheng-zui-xiao-de-shu-lcof| -|226. 翻转二叉树|1|https://leetcode-cn.com/problems/invert-binary-tree| +|215. 数组中的第K个最大元素|10|https://leetcode.cn/problems/kth-largest-element-in-an-array| +|92. 反转链表 II|7|https://leetcode.cn/problems/reverse-linked-list-ii| +|剑指 Offer 36. 二叉搜索树与双向链表|7|https://leetcode.cn/problems/er-cha-sou-suo-shu-yu-shuang-xiang-lian-biao-lcof| +|98. 验证二叉搜索树|7|https://leetcode.cn/problems/validate-binary-search-tree| +|148. 排序链表|7|https://leetcode.cn/problems/sort-list| +|200. 岛屿数量|6|https://leetcode.cn/problems/number-of-islands| +|328. 奇偶链表|6|https://leetcode.cn/problems/odd-even-linked-list| +|23. 合并K个排序链表|5|https://leetcode.cn/problems/merge-k-sorted-lists| +|306. 累加数|5|https://leetcode.cn/problems/additive-number| +|110. 平衡二叉树|5|https://leetcode.cn/problems/balanced-binary-tree| +|剑指 Offer 54. 二叉搜索树的第k大节点|5|https://leetcode.cn/problems/er-cha-sou-suo-shu-de-di-kda-jie-dian-lcof| +|56. 合并区间|5|https://leetcode.cn/problems/merge-intervals| +|33. 搜索旋转排序数组|5|https://leetcode.cn/problems/search-in-rotated-sorted-array| +|2. 两数相加|5|https://leetcode.cn/problems/add-two-numbers| +|146. LRU缓存机制|4|https://leetcode.cn/problems/lru-cache| +|94. 二叉树的中序遍历|4|https://leetcode.cn/problems/binary-tree-inorder-traversal| +|93. 复原IP地址|4|https://leetcode.cn/problems/restore-ip-addresses| +|113. 路径总和 II|4|https://leetcode.cn/problems/path-sum-ii| +|239. 滑动窗口最大值|4|https://leetcode.cn/problems/sliding-window-maximum| +|958. 二叉树的完全性检验|4|https://leetcode.cn/problems/check-completeness-of-a-binary-tree| +|543. 二叉树的直径|4|https://leetcode.cn/problems/diameter-of-binary-tree| +|25. K 个一组翻转链表|4|https://leetcode.cn/problems/reverse-nodes-in-k-group| +|104. 二叉树的最大深度|4|https://leetcode.cn/problems/maximum-depth-of-binary-tree| +|222. 完全二叉树的节点个数|3|https://leetcode.cn/problems/count-complete-tree-nodes| +|83. 删除排序链表中的重复元素|3|https://leetcode.cn/problems/remove-duplicates-from-sorted-list| +|64. 最小路径和|3|https://leetcode.cn/problems/minimum-path-sum| +|695. 岛屿的最大面积|3|https://leetcode.cn/problems/max-area-of-island| +|剑指 Offer 27. 二叉树的镜像|3|https://leetcode.cn/problems/er-cha-shu-de-jing-xiang-lcof| +|74. 搜索二维矩阵|3|https://leetcode.cn/problems/search-a-2d-matrix| +|142. 环形链表 II|3|https://leetcode.cn/problems/linked-list-cycle-ii| +|369. 给单链表加一|3|https://leetcode.cn/problems/plus-one-linked-list| +|189. 旋转数组|3|https://leetcode.cn/problems/rotate-array| +|32. 最长有效括号|3|https://leetcode.cn/problems/longest-valid-parentheses| +|498. 对角线遍历|3|https://leetcode.cn/problems/diagonal-traverse| +|530. 二叉搜索树的最小绝对差|3|https://leetcode.cn/problems/minimum-absolute-difference-in-bst| +|814. 二叉树剪枝|2|https://leetcode.cn/problems/binary-tree-pruning| +|22. 括号生成|2|https://leetcode.cn/problems/generate-parentheses| +|1026. 节点与其祖先之间的最大差值|2|https://leetcode.cn/problems/maximum-difference-between-node-and-ancestor| +|199. 二叉树的右视图|2|https://leetcode.cn/problems/binary-tree-right-side-view| +|69. x 的平方根|2|https://leetcode.cn/problems/sqrtx| +|21. 合并两个有序链表|2|https://leetcode.cn/problems/merge-two-sorted-lists| +|86. 分隔链表|2|https://leetcode.cn/problems/partition-list| +|547. 省份数量(原朋友圈)|2|https://leetcode.cn/problems/number-of-provinces| +|662. 二叉树最大宽度|2|https://leetcode.cn/problems/maximum-width-of-binary-tree| +|34. 在排序数组中查找元素的第一个和最后一个位置|2|https://leetcode.cn/problems/find-first-and-last-position-of-element-in-sorted-array| +|674. 最长连续递增序列|2|https://leetcode.cn/problems/longest-continuous-increasing-subsequence| +|101. 对称二叉树|2|https://leetcode.cn/problems/symmetric-tree| +|986. 区间列表的交集|2|https://leetcode.cn/problems/interval-list-intersections| +|剑指 Offer 22. 链表中倒数第k个节点|2|https://leetcode.cn/problems/lian-biao-zhong-dao-shu-di-kge-jie-dian-lcof| +|54. 螺旋矩阵|2|https://leetcode.cn/problems/spiral-matrix| +|143. 重排链表|2|https://leetcode.cn/problems/reorder-list| +|7. 整数反转|2|https://leetcode.cn/problems/reverse-integer| +|386. 字典序排数|2|https://leetcode.cn/problems/lexicographical-numbers| +|82. 删除排序链表中的重复元素 II|2|https://leetcode.cn/problems/remove-duplicates-from-sorted-list-ii| +|232. 用栈实现队列|2|https://leetcode.cn/problems/implement-queue-using-stacks| +|1038. 从二叉搜索树到更大和树|2|https://leetcode.cn/problems/binary-search-tree-to-greater-sum-tree| +|206. 反转链表|2|https://leetcode.cn/problems/reverse-linked-list| +|400. 第N个数字|2|https://leetcode.cn/problems/nth-digit| +|221. 最大正方形|2|https://leetcode.cn/problems/maximal-square| +|1. 两数之和|2|https://leetcode.cn/problems/two-sum| +|5. 最长回文子串|2|https://leetcode.cn/problems/longest-palindromic-substring| +|402. 移掉K位数字|2|https://leetcode.cn/problems/remove-k-digits| +|52. N皇后 II|1|https://leetcode.cn/problems/n-queens-ii| +|103. 二叉树的锯齿形层次遍历|1|https://leetcode.cn/problems/binary-tree-zigzag-level-order-traversal| +|8. 字符串转换整数 (atoi)|1|https://leetcode.cn/problems/string-to-integer-atoi| +|145. 二叉树的后序遍历|1|https://leetcode.cn/problems/binary-tree-postorder-traversal| +|41. 缺失的第一个正数|1|https://leetcode.cn/problems/first-missing-positive| +|剑指 Offer 45. 把数组排成最小的数|1|https://leetcode.cn/problems/ba-shu-zu-pai-cheng-zui-xiao-de-shu-lcof| +|226. 翻转二叉树|1|https://leetcode.cn/problems/invert-binary-tree| |补充题12. 二叉树的下一个节点|1|| -|394. 字符串解码|1|https://leetcode-cn.com/problems/decode-string| -|24. 两两交换链表中的节点|1|https://leetcode-cn.com/problems/swap-nodes-in-pairs| -|141. 环形链表|1|https://leetcode-cn.com/problems/linked-list-cycle| -|442. 数组中重复的数据|1|https://leetcode-cn.com/problems/find-all-duplicates-in-an-array| +|394. 字符串解码|1|https://leetcode.cn/problems/decode-string| +|24. 两两交换链表中的节点|1|https://leetcode.cn/problems/swap-nodes-in-pairs| +|141. 环形链表|1|https://leetcode.cn/problems/linked-list-cycle| +|442. 数组中重复的数据|1|https://leetcode.cn/problems/find-all-duplicates-in-an-array| |补充题4. 手撕快速排序|1|| -|14. 最长公共前缀|1|https://leetcode-cn.com/problems/longest-common-prefix| -|297. 二叉树的序列化与反序列化|1|https://leetcode-cn.com/problems/serialize-and-deserialize-binary-tree| -|242. 有效的字母异位词|1|https://leetcode-cn.com/problems/valid-anagram| -|235. 二叉搜索树的最近公共祖先|1|https://leetcode-cn.com/problems/lowest-common-ancestor-of-a-binary-search-tree| -|240. 搜索二维矩阵 II|1|https://leetcode-cn.com/problems/search-a-2d-matrix-ii| -|349. 两个数组的交集|1|https://leetcode-cn.com/problems/intersection-of-two-arrays| -|562. 矩阵中最长的连续1线段|1|https://leetcode-cn.com/problems/longest-line-of-consecutive-one-in-matrix| -|305. 岛屿数量 II|1|https://leetcode-cn.com/problems/number-of-islands-ii| -|99. 恢复二叉搜索树|1|https://leetcode-cn.com/problems/recover-binary-search-tree| -|108. 将有序数组转换为二叉搜索树|1|https://leetcode-cn.com/problems/convert-sorted-array-to-binary-search-tree| -|560. 和为K的子数组|1|https://leetcode-cn.com/problems/subarray-sum-equals-k| -|62. 不同路径|1|https://leetcode-cn.com/problems/unique-paths| -|26. 删除排序数组中的重复项|1|https://leetcode-cn.com/problems/remove-duplicates-from-sorted-array| -|435. 无重叠区间|1|https://leetcode-cn.com/problems/non-overlapping-intervals| -|136. 只出现一次的数字|1|https://leetcode-cn.com/problems/single-number| -|889. 根据前序和后序遍历构造二叉树|1|https://leetcode-cn.com/problems/construct-binary-tree-from-preorder-and-postorder-traversal| -|剑指 Offer 09. 用两个栈实现队列|1|https://leetcode-cn.com/problems/yong-liang-ge-zhan-shi-xian-dui-lie-lcof| -|236. 二叉树的最近公共祖先|1|https://leetcode-cn.com/problems/lowest-common-ancestor-of-a-binary-tree| -|329. 矩阵中的最长递增路径|1|https://leetcode-cn.com/problems/longest-increasing-path-in-a-matrix| -|102. 二叉树的层序遍历|1|https://leetcode-cn.com/problems/binary-tree-level-order-traversal| -|316. 去除重复字母|1|https://leetcode-cn.com/problems/remove-duplicate-letters| -|312. 戳气球|1|https://leetcode-cn.com/problems/burst-balloons| -|208. 实现 Trie (前缀树)|1|https://leetcode-cn.com/problems/implement-trie-prefix-tree| -|405. 数字转换为十六进制数|1|https://leetcode-cn.com/problems/convert-a-number-to-hexadecimal| -|704. 二分查找|1|https://leetcode-cn.com/problems/binary-search| -|20. 有效的括号|1|https://leetcode-cn.com/problems/valid-parentheses| -|516. 最长回文子序列|1|https://leetcode-cn.com/problems/longest-palindromic-subsequence| -|151. 翻转字符串里的单词|1|https://leetcode-cn.com/problems/reverse-words-in-a-string| -|416. 分割等和子集|1|https://leetcode-cn.com/problems/partition-equal-subset-sum| -|572. 另一个树的子树|1|https://leetcode-cn.com/problems/subtree-of-another-tree| -|450. 删除二叉搜索树中的节点|1|https://leetcode-cn.com/problems/delete-node-in-a-bst| -|48. 旋转图像|1|https://leetcode-cn.com/problems/rotate-image| -|剑指 Offer 25. 合并两个排序的链表|1|https://leetcode-cn.com/problems/he-bing-liang-ge-pai-xu-de-lian-biao-lcof| -|4. 寻找两个正序数组的中位数|1|https://leetcode-cn.com/problems/median-of-two-sorted-arrays| -|剑指 Offer 24. 反转链表|1|https://leetcode-cn.com/problems/fan-zhuan-lian-biao-lcof| -|556. 下一个更大元素 III|1|https://leetcode-cn.com/problems/next-greater-element-iii| -|658. 找到 K 个最接近的元素|1|https://leetcode-cn.com/problems/find-k-closest-elements| -|剑指 Offer 11. 旋转数组的最小数字|1|https://leetcode-cn.com/problems/xuan-zhuan-shu-zu-de-zui-xiao-shu-zi-lcof| -|17. 电话号码的字母组合|1|https://leetcode-cn.com/problems/letter-combinations-of-a-phone-number| -|168. Excel表列名称|1|https://leetcode-cn.com/problems/excel-sheet-column-title| -|43. 字符串相乘|1|https://leetcode-cn.com/problems/multiply-strings| -|31. 下一个排列|1|https://leetcode-cn.com/problems/next-permutation| -|105. 从前序与中序遍历序列构造二叉树|1|https://leetcode-cn.com/problems/construct-binary-tree-from-preorder-and-inorder-traversal| -|468. 验证IP地址|1|https://leetcode-cn.com/problems/validate-ip-address| -|109. 有序链表转换二叉搜索树|1|https://leetcode-cn.com/problems/convert-sorted-list-to-binary-search-tree| -|71. 简化路径|1|https://leetcode-cn.com/problems/simplify-path| -|124. 二叉树中的最大路径和|1|https://leetcode-cn.com/problems/binary-tree-maximum-path-sum| -|79. 单词搜索|1|https://leetcode-cn.com/problems/word-search| -|剑指 Offer 32 - I. 从上到下打印二叉树|1|https://leetcode-cn.com/problems/cong-shang-dao-xia-da-yin-er-cha-shu-lcof| -|60. 第k个排列|1|https://leetcode-cn.com/problems/permutation-sequence| -|130. 被围绕的区域|1|https://leetcode-cn.com/problems/surrounded-regions| -|40. 组合总和 II|1|https://leetcode-cn.com/problems/combination-sum-ii| -|59. 螺旋矩阵 II|1|https://leetcode-cn.com/problems/spiral-matrix-ii| -|225. 用队列实现栈|1|https://leetcode-cn.com/problems/implement-stack-using-queues| -|47. 全排列 II|1|https://leetcode-cn.com/problems/permutations-ii| -|343. 整数拆分|1|https://leetcode-cn.com/problems/integer-break| -|448. 找到所有数组中消失的数字|1|https://leetcode-cn.com/problems/find-all-numbers-disappeared-in-an-array| -|152. 乘积最大子数组|1|https://leetcode-cn.com/problems/maximum-product-subarray| -|259. 较小的三数之和|1|https://leetcode-cn.com/problems/3sum-smaller| -|415. 字符串相加|1|https://leetcode-cn.com/problems/add-strings| -|257. 二叉树的所有路径|1|https://leetcode-cn.com/problems/binary-tree-paths| -|540. 有序数组中的单一元素|1|https://leetcode-cn.com/problems/single-element-in-a-sorted-array| -|1325. 删除给定值的叶子节点|1|https://leetcode-cn.com/problems/delete-leaves-with-a-given-value| -|160. 相交链表|1|https://leetcode-cn.com/problems/intersection-of-two-linked-lists| -|42. 接雨水|1|https://leetcode-cn.com/problems/trapping-rain-water| -|剑指 Offer 12. 矩阵中的路径|1|https://leetcode-cn.com/problems/ju-zhen-zhong-de-lu-jing-lcof| \ No newline at end of file +|14. 最长公共前缀|1|https://leetcode.cn/problems/longest-common-prefix| +|297. 二叉树的序列化与反序列化|1|https://leetcode.cn/problems/serialize-and-deserialize-binary-tree| +|242. 有效的字母异位词|1|https://leetcode.cn/problems/valid-anagram| +|235. 二叉搜索树的最近公共祖先|1|https://leetcode.cn/problems/lowest-common-ancestor-of-a-binary-search-tree| +|240. 搜索二维矩阵 II|1|https://leetcode.cn/problems/search-a-2d-matrix-ii| +|349. 两个数组的交集|1|https://leetcode.cn/problems/intersection-of-two-arrays| +|562. 矩阵中最长的连续1线段|1|https://leetcode.cn/problems/longest-line-of-consecutive-one-in-matrix| +|305. 岛屿数量 II|1|https://leetcode.cn/problems/number-of-islands-ii| +|99. 恢复二叉搜索树|1|https://leetcode.cn/problems/recover-binary-search-tree| +|108. 将有序数组转换为二叉搜索树|1|https://leetcode.cn/problems/convert-sorted-array-to-binary-search-tree| +|560. 和为K的子数组|1|https://leetcode.cn/problems/subarray-sum-equals-k| +|62. 不同路径|1|https://leetcode.cn/problems/unique-paths| +|26. 删除排序数组中的重复项|1|https://leetcode.cn/problems/remove-duplicates-from-sorted-array| +|435. 无重叠区间|1|https://leetcode.cn/problems/non-overlapping-intervals| +|136. 只出现一次的数字|1|https://leetcode.cn/problems/single-number| +|889. 根据前序和后序遍历构造二叉树|1|https://leetcode.cn/problems/construct-binary-tree-from-preorder-and-postorder-traversal| +|剑指 Offer 09. 用两个栈实现队列|1|https://leetcode.cn/problems/yong-liang-ge-zhan-shi-xian-dui-lie-lcof| +|236. 二叉树的最近公共祖先|1|https://leetcode.cn/problems/lowest-common-ancestor-of-a-binary-tree| +|329. 矩阵中的最长递增路径|1|https://leetcode.cn/problems/longest-increasing-path-in-a-matrix| +|102. 二叉树的层序遍历|1|https://leetcode.cn/problems/binary-tree-level-order-traversal| +|316. 去除重复字母|1|https://leetcode.cn/problems/remove-duplicate-letters| +|312. 戳气球|1|https://leetcode.cn/problems/burst-balloons| +|208. 实现 Trie (前缀树)|1|https://leetcode.cn/problems/implement-trie-prefix-tree| +|405. 数字转换为十六进制数|1|https://leetcode.cn/problems/convert-a-number-to-hexadecimal| +|704. 二分查找|1|https://leetcode.cn/problems/binary-search| +|20. 有效的括号|1|https://leetcode.cn/problems/valid-parentheses| +|516. 最长回文子序列|1|https://leetcode.cn/problems/longest-palindromic-subsequence| +|151. 翻转字符串里的单词|1|https://leetcode.cn/problems/reverse-words-in-a-string| +|416. 分割等和子集|1|https://leetcode.cn/problems/partition-equal-subset-sum| +|572. 另一个树的子树|1|https://leetcode.cn/problems/subtree-of-another-tree| +|450. 删除二叉搜索树中的节点|1|https://leetcode.cn/problems/delete-node-in-a-bst| +|48. 旋转图像|1|https://leetcode.cn/problems/rotate-image| +|剑指 Offer 25. 合并两个排序的链表|1|https://leetcode.cn/problems/he-bing-liang-ge-pai-xu-de-lian-biao-lcof| +|4. 寻找两个正序数组的中位数|1|https://leetcode.cn/problems/median-of-two-sorted-arrays| +|剑指 Offer 24. 反转链表|1|https://leetcode.cn/problems/fan-zhuan-lian-biao-lcof| +|556. 下一个更大元素 III|1|https://leetcode.cn/problems/next-greater-element-iii| +|658. 找到 K 个最接近的元素|1|https://leetcode.cn/problems/find-k-closest-elements| +|剑指 Offer 11. 旋转数组的最小数字|1|https://leetcode.cn/problems/xuan-zhuan-shu-zu-de-zui-xiao-shu-zi-lcof| +|17. 电话号码的字母组合|1|https://leetcode.cn/problems/letter-combinations-of-a-phone-number| +|168. Excel表列名称|1|https://leetcode.cn/problems/excel-sheet-column-title| +|43. 字符串相乘|1|https://leetcode.cn/problems/multiply-strings| +|31. 下一个排列|1|https://leetcode.cn/problems/next-permutation| +|105. 从前序与中序遍历序列构造二叉树|1|https://leetcode.cn/problems/construct-binary-tree-from-preorder-and-inorder-traversal| +|468. 验证IP地址|1|https://leetcode.cn/problems/validate-ip-address| +|109. 有序链表转换二叉搜索树|1|https://leetcode.cn/problems/convert-sorted-list-to-binary-search-tree| +|71. 简化路径|1|https://leetcode.cn/problems/simplify-path| +|124. 二叉树中的最大路径和|1|https://leetcode.cn/problems/binary-tree-maximum-path-sum| +|79. 单词搜索|1|https://leetcode.cn/problems/word-search| +|剑指 Offer 32 - I. 从上到下打印二叉树|1|https://leetcode.cn/problems/cong-shang-dao-xia-da-yin-er-cha-shu-lcof| +|60. 第k个排列|1|https://leetcode.cn/problems/permutation-sequence| +|130. 被围绕的区域|1|https://leetcode.cn/problems/surrounded-regions| +|40. 组合总和 II|1|https://leetcode.cn/problems/combination-sum-ii| +|59. 螺旋矩阵 II|1|https://leetcode.cn/problems/spiral-matrix-ii| +|225. 用队列实现栈|1|https://leetcode.cn/problems/implement-stack-using-queues| +|47. 全排列 II|1|https://leetcode.cn/problems/permutations-ii| +|343. 整数拆分|1|https://leetcode.cn/problems/integer-break| +|448. 找到所有数组中消失的数字|1|https://leetcode.cn/problems/find-all-numbers-disappeared-in-an-array| +|152. 乘积最大子数组|1|https://leetcode.cn/problems/maximum-product-subarray| +|259. 较小的三数之和|1|https://leetcode.cn/problems/3sum-smaller| +|415. 字符串相加|1|https://leetcode.cn/problems/add-strings| +|257. 二叉树的所有路径|1|https://leetcode.cn/problems/binary-tree-paths| +|540. 有序数组中的单一元素|1|https://leetcode.cn/problems/single-element-in-a-sorted-array| +|1325. 删除给定值的叶子节点|1|https://leetcode.cn/problems/delete-leaves-with-a-given-value| +|160. 相交链表|1|https://leetcode.cn/problems/intersection-of-two-linked-lists| +|42. 接雨水|1|https://leetcode.cn/problems/trapping-rain-water| +|剑指 Offer 12. 矩阵中的路径|1|https://leetcode.cn/problems/ju-zhen-zhong-de-lu-jing-lcof| \ No newline at end of file diff --git a/yuanfudao/client.md b/yuanfudao/client.md index 974f715..813c976 100644 --- a/yuanfudao/client.md +++ b/yuanfudao/client.md @@ -2,37 +2,37 @@ |题目|出现次数|链接| |-|-|-| -|236. 二叉树的最近公共祖先|4|https://leetcode-cn.com/problems/lowest-common-ancestor-of-a-binary-tree| -|92. 反转链表 II|3|https://leetcode-cn.com/problems/reverse-linked-list-ii| -|215. 数组中的第K个最大元素|2|https://leetcode-cn.com/problems/kth-largest-element-in-an-array| -|141. 环形链表|2|https://leetcode-cn.com/problems/linked-list-cycle| -|25. K 个一组翻转链表|2|https://leetcode-cn.com/problems/reverse-nodes-in-k-group| -|148. 排序链表|2|https://leetcode-cn.com/problems/sort-list| -|86. 分隔链表|2|https://leetcode-cn.com/problems/partition-list| -|128. 最长连续序列|2|https://leetcode-cn.com/problems/longest-consecutive-sequence| -|78. 子集|1|https://leetcode-cn.com/problems/subsets| -|剑指 Offer 54. 二叉搜索树的第k大节点|1|https://leetcode-cn.com/problems/er-cha-sou-suo-shu-de-di-kda-jie-dian-lcof| -|206. 反转链表|1|https://leetcode-cn.com/problems/reverse-linked-list| -|剑指 Offer 18. 删除链表的节点|1|https://leetcode-cn.com/problems/shan-chu-lian-biao-de-jie-dian-lcof| -|24. 两两交换链表中的节点|1|https://leetcode-cn.com/problems/swap-nodes-in-pairs| -|57. 插入区间|1|https://leetcode-cn.com/problems/insert-interval| -|200. 岛屿数量|1|https://leetcode-cn.com/problems/number-of-islands| -|42. 接雨水|1|https://leetcode-cn.com/problems/trapping-rain-water| -|695. 岛屿的最大面积|1|https://leetcode-cn.com/problems/max-area-of-island| -|915. 分割数组|1|https://leetcode-cn.com/problems/partition-array-into-disjoint-intervals| -|143. 重排链表|1|https://leetcode-cn.com/problems/reorder-list| -|540. 有序数组中的单一元素|1|https://leetcode-cn.com/problems/single-element-in-a-sorted-array| -|865. 具有所有最深结点的最小子树|1|https://leetcode-cn.com/problems/smallest-subtree-with-all-the-deepest-nodes| -|220. 存在重复元素 III|1|https://leetcode-cn.com/problems/contains-duplicate-iii| -|80. 删除排序数组中的重复项 II|1|https://leetcode-cn.com/problems/remove-duplicates-from-sorted-array-ii| -|701. 二叉搜索树中的插入操作|1|https://leetcode-cn.com/problems/insert-into-a-binary-search-tree| -|83. 删除排序链表中的重复元素|1|https://leetcode-cn.com/problems/remove-duplicates-from-sorted-list| -|319. 灯泡开关|1|https://leetcode-cn.com/problems/bulb-switcher| -|240. 搜索二维矩阵 II|1|https://leetcode-cn.com/problems/search-a-2d-matrix-ii| -|50. Pow(x, n)|1|https://leetcode-cn.com/problems/powx-n| -|56. 合并区间|1|https://leetcode-cn.com/problems/merge-intervals| -|73. 矩阵置零|1|https://leetcode-cn.com/problems/set-matrix-zeroes| -|530. 二叉搜索树的最小绝对差|1|https://leetcode-cn.com/problems/minimum-absolute-difference-in-bst| -|54. 螺旋矩阵|1|https://leetcode-cn.com/problems/spiral-matrix| -|72. 编辑距离|1|https://leetcode-cn.com/problems/edit-distance| -|1325. 删除给定值的叶子节点|1|https://leetcode-cn.com/problems/delete-leaves-with-a-given-value| \ No newline at end of file +|236. 二叉树的最近公共祖先|4|https://leetcode.cn/problems/lowest-common-ancestor-of-a-binary-tree| +|92. 反转链表 II|3|https://leetcode.cn/problems/reverse-linked-list-ii| +|215. 数组中的第K个最大元素|2|https://leetcode.cn/problems/kth-largest-element-in-an-array| +|141. 环形链表|2|https://leetcode.cn/problems/linked-list-cycle| +|25. K 个一组翻转链表|2|https://leetcode.cn/problems/reverse-nodes-in-k-group| +|148. 排序链表|2|https://leetcode.cn/problems/sort-list| +|86. 分隔链表|2|https://leetcode.cn/problems/partition-list| +|128. 最长连续序列|2|https://leetcode.cn/problems/longest-consecutive-sequence| +|78. 子集|1|https://leetcode.cn/problems/subsets| +|剑指 Offer 54. 二叉搜索树的第k大节点|1|https://leetcode.cn/problems/er-cha-sou-suo-shu-de-di-kda-jie-dian-lcof| +|206. 反转链表|1|https://leetcode.cn/problems/reverse-linked-list| +|剑指 Offer 18. 删除链表的节点|1|https://leetcode.cn/problems/shan-chu-lian-biao-de-jie-dian-lcof| +|24. 两两交换链表中的节点|1|https://leetcode.cn/problems/swap-nodes-in-pairs| +|57. 插入区间|1|https://leetcode.cn/problems/insert-interval| +|200. 岛屿数量|1|https://leetcode.cn/problems/number-of-islands| +|42. 接雨水|1|https://leetcode.cn/problems/trapping-rain-water| +|695. 岛屿的最大面积|1|https://leetcode.cn/problems/max-area-of-island| +|915. 分割数组|1|https://leetcode.cn/problems/partition-array-into-disjoint-intervals| +|143. 重排链表|1|https://leetcode.cn/problems/reorder-list| +|540. 有序数组中的单一元素|1|https://leetcode.cn/problems/single-element-in-a-sorted-array| +|865. 具有所有最深结点的最小子树|1|https://leetcode.cn/problems/smallest-subtree-with-all-the-deepest-nodes| +|220. 存在重复元素 III|1|https://leetcode.cn/problems/contains-duplicate-iii| +|80. 删除排序数组中的重复项 II|1|https://leetcode.cn/problems/remove-duplicates-from-sorted-array-ii| +|701. 二叉搜索树中的插入操作|1|https://leetcode.cn/problems/insert-into-a-binary-search-tree| +|83. 删除排序链表中的重复元素|1|https://leetcode.cn/problems/remove-duplicates-from-sorted-list| +|319. 灯泡开关|1|https://leetcode.cn/problems/bulb-switcher| +|240. 搜索二维矩阵 II|1|https://leetcode.cn/problems/search-a-2d-matrix-ii| +|50. Pow(x, n)|1|https://leetcode.cn/problems/powx-n| +|56. 合并区间|1|https://leetcode.cn/problems/merge-intervals| +|73. 矩阵置零|1|https://leetcode.cn/problems/set-matrix-zeroes| +|530. 二叉搜索树的最小绝对差|1|https://leetcode.cn/problems/minimum-absolute-difference-in-bst| +|54. 螺旋矩阵|1|https://leetcode.cn/problems/spiral-matrix| +|72. 编辑距离|1|https://leetcode.cn/problems/edit-distance| +|1325. 删除给定值的叶子节点|1|https://leetcode.cn/problems/delete-leaves-with-a-given-value| \ No newline at end of file diff --git a/yuanfudao/data.md b/yuanfudao/data.md index d4fae38..bb407c6 100644 --- a/yuanfudao/data.md +++ b/yuanfudao/data.md @@ -2,14 +2,14 @@ |题目|出现次数|链接| |-|-|-| -|54. 螺旋矩阵|2|https://leetcode-cn.com/problems/spiral-matrix| -|92. 反转链表 II|2|https://leetcode-cn.com/problems/reverse-linked-list-ii| -|437. 路径总和 III|1|https://leetcode-cn.com/problems/path-sum-iii| -|179. 最大数|1|https://leetcode-cn.com/problems/largest-number| -|162. 寻找峰值|1|https://leetcode-cn.com/problems/find-peak-element| -|56. 合并区间|1|https://leetcode-cn.com/problems/merge-intervals| -|21. 合并两个有序链表|1|https://leetcode-cn.com/problems/merge-two-sorted-lists| -|1143. 最长公共子序列|1|https://leetcode-cn.com/problems/longest-common-subsequence| -|673. 最长递增子序列的个数|1|https://leetcode-cn.com/problems/number-of-longest-increasing-subsequence| -|518. 零钱兑换 II|1|https://leetcode-cn.com/problems/coin-change-2| -|39. 组合总和|1|https://leetcode-cn.com/problems/combination-sum| \ No newline at end of file +|54. 螺旋矩阵|2|https://leetcode.cn/problems/spiral-matrix| +|92. 反转链表 II|2|https://leetcode.cn/problems/reverse-linked-list-ii| +|437. 路径总和 III|1|https://leetcode.cn/problems/path-sum-iii| +|179. 最大数|1|https://leetcode.cn/problems/largest-number| +|162. 寻找峰值|1|https://leetcode.cn/problems/find-peak-element| +|56. 合并区间|1|https://leetcode.cn/problems/merge-intervals| +|21. 合并两个有序链表|1|https://leetcode.cn/problems/merge-two-sorted-lists| +|1143. 最长公共子序列|1|https://leetcode.cn/problems/longest-common-subsequence| +|673. 最长递增子序列的个数|1|https://leetcode.cn/problems/number-of-longest-increasing-subsequence| +|518. 零钱兑换 II|1|https://leetcode.cn/problems/coin-change-2| +|39. 组合总和|1|https://leetcode.cn/problems/combination-sum| \ No newline at end of file diff --git a/yuanfudao/frontend.md b/yuanfudao/frontend.md index a47ea13..3a58a44 100644 --- a/yuanfudao/frontend.md +++ b/yuanfudao/frontend.md @@ -2,23 +2,23 @@ |题目|出现次数|链接| |-|-|-| -|56. 合并区间|2|https://leetcode-cn.com/problems/merge-intervals| -|328. 奇偶链表|2|https://leetcode-cn.com/problems/odd-even-linked-list| -|102. 二叉树的层序遍历|2|https://leetcode-cn.com/problems/binary-tree-level-order-traversal| -|179. 最大数|2|https://leetcode-cn.com/problems/largest-number| -|674. 最长连续递增序列|2|https://leetcode-cn.com/problems/longest-continuous-increasing-subsequence| -|695. 岛屿的最大面积|1|https://leetcode-cn.com/problems/max-area-of-island| -|剑指 Offer 32 - III. 从上到下打印二叉树 III|1|https://leetcode-cn.com/problems/cong-shang-dao-xia-da-yin-er-cha-shu-iii-lcof| -|662. 二叉树最大宽度|1|https://leetcode-cn.com/problems/maximum-width-of-binary-tree| -|105. 从前序与中序遍历序列构造二叉树|1|https://leetcode-cn.com/problems/construct-binary-tree-from-preorder-and-inorder-traversal| -|21. 合并两个有序链表|1|https://leetcode-cn.com/problems/merge-two-sorted-lists| -|153. 寻找旋转排序数组中的最小值|1|https://leetcode-cn.com/problems/find-minimum-in-rotated-sorted-array| -|206. 反转链表|1|https://leetcode-cn.com/problems/reverse-linked-list| -|151. 翻转字符串里的单词|1|https://leetcode-cn.com/problems/reverse-words-in-a-string| -|557. 反转字符串中的单词 III|1|https://leetcode-cn.com/problems/reverse-words-in-a-string-iii| -|628. 三个数的最大乘积|1|https://leetcode-cn.com/problems/maximum-product-of-three-numbers| -|54. 螺旋矩阵|1|https://leetcode-cn.com/problems/spiral-matrix| -|剑指 Offer 46. 把数字翻译成字符串|1|https://leetcode-cn.com/problems/ba-shu-zi-fan-yi-cheng-zi-fu-chuan-lcof| -|199. 二叉树的右视图|1|https://leetcode-cn.com/problems/binary-tree-right-side-view| -|32. 最长有效括号|1|https://leetcode-cn.com/problems/longest-valid-parentheses| -|剑指 Offer 29. 顺时针打印矩阵|1|https://leetcode-cn.com/problems/shun-shi-zhen-da-yin-ju-zhen-lcof| \ No newline at end of file +|56. 合并区间|2|https://leetcode.cn/problems/merge-intervals| +|328. 奇偶链表|2|https://leetcode.cn/problems/odd-even-linked-list| +|102. 二叉树的层序遍历|2|https://leetcode.cn/problems/binary-tree-level-order-traversal| +|179. 最大数|2|https://leetcode.cn/problems/largest-number| +|674. 最长连续递增序列|2|https://leetcode.cn/problems/longest-continuous-increasing-subsequence| +|695. 岛屿的最大面积|1|https://leetcode.cn/problems/max-area-of-island| +|剑指 Offer 32 - III. 从上到下打印二叉树 III|1|https://leetcode.cn/problems/cong-shang-dao-xia-da-yin-er-cha-shu-iii-lcof| +|662. 二叉树最大宽度|1|https://leetcode.cn/problems/maximum-width-of-binary-tree| +|105. 从前序与中序遍历序列构造二叉树|1|https://leetcode.cn/problems/construct-binary-tree-from-preorder-and-inorder-traversal| +|21. 合并两个有序链表|1|https://leetcode.cn/problems/merge-two-sorted-lists| +|153. 寻找旋转排序数组中的最小值|1|https://leetcode.cn/problems/find-minimum-in-rotated-sorted-array| +|206. 反转链表|1|https://leetcode.cn/problems/reverse-linked-list| +|151. 翻转字符串里的单词|1|https://leetcode.cn/problems/reverse-words-in-a-string| +|557. 反转字符串中的单词 III|1|https://leetcode.cn/problems/reverse-words-in-a-string-iii| +|628. 三个数的最大乘积|1|https://leetcode.cn/problems/maximum-product-of-three-numbers| +|54. 螺旋矩阵|1|https://leetcode.cn/problems/spiral-matrix| +|剑指 Offer 46. 把数字翻译成字符串|1|https://leetcode.cn/problems/ba-shu-zi-fan-yi-cheng-zi-fu-chuan-lcof| +|199. 二叉树的右视图|1|https://leetcode.cn/problems/binary-tree-right-side-view| +|32. 最长有效括号|1|https://leetcode.cn/problems/longest-valid-parentheses| +|剑指 Offer 29. 顺时针打印矩阵|1|https://leetcode.cn/problems/shun-shi-zhen-da-yin-ju-zhen-lcof| \ No newline at end of file diff --git a/yuanfudao/test.md b/yuanfudao/test.md index 254464c..b1a808b 100644 --- a/yuanfudao/test.md +++ b/yuanfudao/test.md @@ -2,6 +2,6 @@ |题目|出现次数|链接| |-|-|-| -|662. 二叉树最大宽度|2|https://leetcode-cn.com/problems/maximum-width-of-binary-tree| -|234. 回文链表|2|https://leetcode-cn.com/problems/palindrome-linked-list| -|98. 验证二叉搜索树|1|https://leetcode-cn.com/problems/validate-binary-search-tree| \ No newline at end of file +|662. 二叉树最大宽度|2|https://leetcode.cn/problems/maximum-width-of-binary-tree| +|234. 回文链表|2|https://leetcode.cn/problems/palindrome-linked-list| +|98. 验证二叉搜索树|1|https://leetcode.cn/problems/validate-binary-search-tree| \ No newline at end of file