From 32a359def560c750bf470a80dc065821aa944991 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B8=80=E4=B8=AA=E6=90=AC=E7=A0=96=E7=9A=84=E8=83=96?= =?UTF-8?q?=E5=AD=90?= <67673714+afatcoder@users.noreply.github.com> Date: Fri, 5 Feb 2021 10:52:32 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B02.4=E5=90=8E=E7=AB=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bytedance/backend.md | 294 +++++++++++++++++++++++-------------------- 1 file changed, 156 insertions(+), 138 deletions(-) diff --git a/bytedance/backend.md b/bytedance/backend.md index c69d82a..3f66bff 100644 --- a/bytedance/backend.md +++ b/bytedance/backend.md @@ -1,204 +1,222 @@ |题目|出现次数|链接| |-|-|-| -|25. K 个一组翻转链表|21|https://leetcode-cn.com/problems/reverse-nodes-in-k-group| -|3. 无重复字符的最长子串|19|https://leetcode-cn.com/problems/longest-substring-without-repeating-characters| -|15. 三数之和|18|https://leetcode-cn.com/problems/3sum| -|103. 二叉树的锯齿形层次遍历|16|https://leetcode-cn.com/problems/binary-tree-zigzag-level-order-traversal| -|121. 买卖股票的最佳时机|16|https://leetcode-cn.com/problems/best-time-to-buy-and-sell-stock| -|146. LRU缓存机制|15|https://leetcode-cn.com/problems/lru-cache| -|199. 二叉树的右视图|14|https://leetcode-cn.com/problems/binary-tree-right-side-view| -|42. 接雨水|12|https://leetcode-cn.com/problems/trapping-rain-water| -|206. 反转链表|12|https://leetcode-cn.com/problems/reverse-linked-list| +|3. 无重复字符的最长子串|23|https://leetcode-cn.com/problems/longest-substring-without-repeating-characters| +|25. K 个一组翻转链表|23|https://leetcode-cn.com/problems/reverse-nodes-in-k-group| +|15. 三数之和|22|https://leetcode-cn.com/problems/3sum| +|121. 买卖股票的最佳时机|20|https://leetcode-cn.com/problems/best-time-to-buy-and-sell-stock| +|103. 二叉树的锯齿形层次遍历|19|https://leetcode-cn.com/problems/binary-tree-zigzag-level-order-traversal| +|146. LRU缓存机制|19|https://leetcode-cn.com/problems/lru-cache| +|105. 从前序与中序遍历序列构造二叉树|16|https://leetcode-cn.com/problems/construct-binary-tree-from-preorder-and-inorder-traversal| +|215. 数组中的第K个最大元素|15|https://leetcode-cn.com/problems/kth-largest-element-in-an-array| +|206. 反转链表|15|https://leetcode-cn.com/problems/reverse-linked-list| +|199. 二叉树的右视图|15|https://leetcode-cn.com/problems/binary-tree-right-side-view| |234. 回文链表|12|https://leetcode-cn.com/problems/palindrome-linked-list| -|215. 数组中的第K个最大元素|11|https://leetcode-cn.com/problems/kth-largest-element-in-an-array| -|105. 从前序与中序遍历序列构造二叉树|11|https://leetcode-cn.com/problems/construct-binary-tree-from-preorder-and-inorder-traversal| -|160. 相交链表|10|https://leetcode-cn.com/problems/intersection-of-two-linked-lists| +|42. 接雨水|12|https://leetcode-cn.com/problems/trapping-rain-water| +|54. 螺旋矩阵|11|https://leetcode-cn.com/problems/spiral-matrix| +|21. 合并两个有序链表|11|https://leetcode-cn.com/problems/merge-two-sorted-lists| |124. 二叉树中的最大路径和|10|https://leetcode-cn.com/problems/binary-tree-maximum-path-sum| +|160. 相交链表|10|https://leetcode-cn.com/problems/intersection-of-two-linked-lists| +|69. x 的平方根|10|https://leetcode-cn.com/problems/sqrtx| +|1. 两数之和|9|https://leetcode-cn.com/problems/two-sum| +|23. 合并K个排序链表|9|https://leetcode-cn.com/problems/merge-k-sorted-lists| |155. 最小栈|9|https://leetcode-cn.com/problems/min-stack| -|21. 合并两个有序链表|9|https://leetcode-cn.com/problems/merge-two-sorted-lists| -|69. x 的平方根|8|https://leetcode-cn.com/problems/sqrtx| -|236. 二叉树的最近公共祖先|8|https://leetcode-cn.com/problems/lowest-common-ancestor-of-a-binary-tree| -|1. 两数之和|8|https://leetcode-cn.com/problems/two-sum| +|236. 二叉树的最近公共祖先|9|https://leetcode-cn.com/problems/lowest-common-ancestor-of-a-binary-tree| +|415. 字符串相加|9|https://leetcode-cn.com/problems/add-strings| |141. 环形链表|8|https://leetcode-cn.com/problems/linked-list-cycle| |33. 搜索旋转排序数组|8|https://leetcode-cn.com/problems/search-in-rotated-sorted-array| +|补充题1. 排序奇升偶降链表|8|https://leetcode-cn.com/problems/https://zhuanlan.zhihu.com/p/311113031| +|41. 缺失的第一个正数|8|https://leetcode-cn.com/problems/first-missing-positive| +|143. 重排链表|7|https://leetcode-cn.com/problems/reorder-list| |98. 验证二叉搜索树|7|https://leetcode-cn.com/problems/validate-binary-search-tree| -|41. 缺失的第一个正数|7|https://leetcode-cn.com/problems/first-missing-positive| -|415. 字符串相加|7|https://leetcode-cn.com/problems/add-strings| -|54. 螺旋矩阵|7|https://leetcode-cn.com/problems/spiral-matrix| -|23. 合并K个排序链表|7|https://leetcode-cn.com/problems/merge-k-sorted-lists| -|114. 二叉树展开为链表|6|https://leetcode-cn.com/problems/flatten-binary-tree-to-linked-list| |2. 两数相加|6|https://leetcode-cn.com/problems/add-two-numbers| |24. 两两交换链表中的节点|6|https://leetcode-cn.com/problems/swap-nodes-in-pairs| |101. 对称二叉树|6|https://leetcode-cn.com/problems/symmetric-tree| -|143. 重排链表|6|https://leetcode-cn.com/problems/reorder-list| +|20. 有效的括号|6|https://leetcode-cn.com/problems/valid-parentheses| +|148. 排序链表|6|https://leetcode-cn.com/problems/sort-list| +|958. 二叉树的完全性检验|6|https://leetcode-cn.com/problems/check-completeness-of-a-binary-tree| |470. 用 Rand7() 实现 Rand10()|6|https://leetcode-cn.com/problems/implement-rand10-using-rand7| |102. 二叉树的层序遍历|6|https://leetcode-cn.com/problems/binary-tree-level-order-traversal| -|56. 合并区间|5|https://leetcode-cn.com/problems/merge-intervals| -|198. 打家劫舍|5|https://leetcode-cn.com/problems/house-robber| +|114. 二叉树展开为链表|6|https://leetcode-cn.com/problems/flatten-binary-tree-to-linked-list| +|56. 合并区间|6|https://leetcode-cn.com/problems/merge-intervals| |110. 平衡二叉树|5|https://leetcode-cn.com/problems/balanced-binary-tree| +|200. 岛屿数量|5|https://leetcode-cn.com/problems/number-of-islands| |122. 买卖股票的最佳时机 II|5|https://leetcode-cn.com/problems/best-time-to-buy-and-sell-stock-ii| -|20. 有效的括号|5|https://leetcode-cn.com/problems/valid-parentheses| -|148. 排序链表|5|https://leetcode-cn.com/problems/sort-list| +|补充题2. 圆环回原点问题|5|https://zhuanlan.zhihu.com/p/338806463| +|76. 最小覆盖子串|5|https://leetcode-cn.com/problems/minimum-window-substring| +|518. 零钱兑换 II|5|https://leetcode-cn.com/problems/coin-change-2| +|53. 最大子序和|5|https://leetcode-cn.com/problems/maximum-subarray| |31. 下一个排列|5|https://leetcode-cn.com/problems/next-permutation| |113. 路径总和 II|5|https://leetcode-cn.com/problems/path-sum-ii| |300. 最长上升子序列|5|https://leetcode-cn.com/problems/longest-increasing-subsequence| +|198. 打家劫舍|5|https://leetcode-cn.com/problems/house-robber| +|46. 全排列|5|https://leetcode-cn.com/problems/permutations| +|543. 二叉树的直径|5|https://leetcode-cn.com/problems/diameter-of-binary-tree| +|322. 零钱兑换|4|https://leetcode-cn.com/problems/coin-change| +|739. 每日温度|4|https://leetcode-cn.com/problems/daily-temperatures| +|142. 环形链表 II|4|https://leetcode-cn.com/problems/linked-list-cycle-ii| +|560. 和为K的子数组|4|https://leetcode-cn.com/problems/subarray-sum-equals-k| +|670. 最大交换|4|https://leetcode-cn.com/problems/maximum-swap| +|128. 最长连续序列|4|https://leetcode-cn.com/problems/longest-consecutive-sequence| +|240. 搜索二维矩阵 II|4|https://leetcode-cn.com/problems/search-a-2d-matrix-ii| +|287. 寻找重复数|4|https://leetcode-cn.com/problems/find-the-duplicate-number| +|92. 反转链表 II|4|https://leetcode-cn.com/problems/reverse-linked-list-ii| +|232. 用栈实现队列|4|https://leetcode-cn.com/problems/implement-queue-using-stacks| +|662. 二叉树最大宽度|4|https://leetcode-cn.com/problems/maximum-width-of-binary-tree| |48. 旋转图像|4|https://leetcode-cn.com/problems/rotate-image| |88. 合并两个有序数组|4|https://leetcode-cn.com/problems/merge-sorted-array| |162. 寻找峰值|4|https://leetcode-cn.com/problems/find-peak-element| |151. 翻转字符串里的单词|4|https://leetcode-cn.com/problems/reverse-words-in-a-string| |528. 按权重随机选择|4|https://leetcode-cn.com/problems/random-pick-with-weight| -|543. 二叉树的直径|4|https://leetcode-cn.com/problems/diameter-of-binary-tree| -|46. 全排列|4|https://leetcode-cn.com/problems/permutations| -|200. 岛屿数量|4|https://leetcode-cn.com/problems/number-of-islands| -|322. 零钱兑换|4|https://leetcode-cn.com/problems/coin-change| -|560. 和为K的子数组|4|https://leetcode-cn.com/problems/subarray-sum-equals-k| -|739. 每日温度|4|https://leetcode-cn.com/problems/daily-temperatures| -|142. 环形链表 II|4|https://leetcode-cn.com/problems/linked-list-cycle-ii| -|518. 零钱兑换 II|4|https://leetcode-cn.com/problems/coin-change-2| -|128. 最长连续序列|4|https://leetcode-cn.com/problems/longest-consecutive-sequence| -|670. 最大交换|4|https://leetcode-cn.com/problems/maximum-swap| -|958. 二叉树的完全性检验|4|https://leetcode-cn.com/problems/check-completeness-of-a-binary-tree| -|92. 反转链表 II|4|https://leetcode-cn.com/problems/reverse-linked-list-ii| -|287. 寻找重复数|4|https://leetcode-cn.com/problems/find-the-duplicate-number| -|232. 用栈实现队列|3|https://leetcode-cn.com/problems/implement-queue-using-stacks| -|79. 单词搜索|3|https://leetcode-cn.com/problems/word-search| +|39. 组合总和|4|https://leetcode-cn.com/problems/combination-sum| |108. 将有序数组转换为二叉搜索树|3|https://leetcode-cn.com/problems/convert-sorted-array-to-binary-search-tree| -|32. 最长有效括号|3|https://leetcode-cn.com/problems/longest-valid-parentheses| -|53. 最大子序和|3|https://leetcode-cn.com/problems/maximum-subarray| |83. 删除排序链表中的重复元素|3|https://leetcode-cn.com/problems/remove-duplicates-from-sorted-list| +|32. 最长有效括号|3|https://leetcode-cn.com/problems/longest-valid-parentheses| |210. 课程表 II|3|https://leetcode-cn.com/problems/course-schedule-ii| -|76. 最小覆盖子串|3|https://leetcode-cn.com/problems/minimum-window-substring| |70. 爬楼梯|3|https://leetcode-cn.com/problems/climbing-stairs| -|240. 搜索二维矩阵 II|3|https://leetcode-cn.com/problems/search-a-2d-matrix-ii| +|138. 复制带随机指针的链表|3|https://leetcode-cn.com/problems/copy-list-with-random-pointer| |剑指 Offer 22. 链表中倒数第k个节点|3|https://leetcode-cn.com/problems/lian-biao-zhong-dao-shu-di-kge-jie-dian-lcof| +|1143. 最长公共子序列|3|https://leetcode-cn.com/problems/longest-common-subsequence| +|221. 最大正方形|3|https://leetcode-cn.com/problems/maximal-square| |704. 二分查找|3|https://leetcode-cn.com/problems/binary-search| +|79. 单词搜索|3|https://leetcode-cn.com/problems/word-search| |129. 求根到叶子节点数字之和|3|https://leetcode-cn.com/problems/sum-root-to-leaf-numbers| -|50. Pow(x, n)|2|https://leetcode-cn.com/problems/powx-n| -|340. 至多包含 K 个不同字符的最长子串|2|https://leetcode-cn.com/problems/longest-substring-with-at-most-k-distinct-characters| -|188. 买卖股票的最佳时机 IV|2|https://leetcode-cn.com/problems/best-time-to-buy-and-sell-stock-iv| -|147. 对链表进行插入排序|2|https://leetcode-cn.com/problems/insertion-sort-list| -|剑指 Offer 51. 数组中的逆序对|2|https://leetcode-cn.com/problems/shu-zu-zhong-de-ni-xu-dui-lcof| -|394. 字符串解码|2|https://leetcode-cn.com/problems/decode-string| -|104. 二叉树的最大深度|2|https://leetcode-cn.com/problems/maximum-depth-of-binary-tree| -|460. LFU缓存|2|https://leetcode-cn.com/problems/lfu-cache| -|5. 最长回文子串|2|https://leetcode-cn.com/problems/longest-palindromic-substring| -|94. 二叉树的中序遍历|2|https://leetcode-cn.com/problems/binary-tree-inorder-traversal| -|39. 组合总和|2|https://leetcode-cn.com/problems/combination-sum| -|328. 奇偶链表|2|https://leetcode-cn.com/problems/odd-even-linked-list| -|264. 丑数 II|2|https://leetcode-cn.com/problems/ugly-number-ii| -|剑指 Offer 42. 连续子数组的最大和|2|https://leetcode-cn.com/problems/lian-xu-zi-shu-zu-de-zui-da-he-lcof| -|283. 移动零|2|https://leetcode-cn.com/problems/move-zeroes| +|695. 岛屿的最大面积|3|https://leetcode-cn.com/problems/max-area-of-island| +|94. 二叉树的中序遍历|3|https://leetcode-cn.com/problems/binary-tree-inorder-traversal| +|104. 二叉树的最大深度|3|https://leetcode-cn.com/problems/maximum-depth-of-binary-tree| |45. 跳跃游戏 II|2|https://leetcode-cn.com/problems/jump-game-ii| |19. 删除链表的倒数第N个节点|2|https://leetcode-cn.com/problems/remove-nth-node-from-end-of-list| -|722. 删除注释|2|https://leetcode-cn.com/problems/remove-comments| +|59. 螺旋矩阵 II|2|https://leetcode-cn.com/problems/spiral-matrix-ii| +|283. 移动零|2|https://leetcode-cn.com/problems/move-zeroes| |139. 单词拆分|2|https://leetcode-cn.com/problems/word-break| |剑指 Offer 19. 正则表达式匹配|2|https://leetcode-cn.com/problems/zheng-ze-biao-da-shi-pi-pei-lcof| |398. 随机数索引|2|https://leetcode-cn.com/problems/random-pick-index| |134. 加油站|2|https://leetcode-cn.com/problems/gas-station| -|503. 下一个更大元素 II|2|https://leetcode-cn.com/problems/next-greater-element-ii| +|64. 最小路径和|2|https://leetcode-cn.com/problems/minimum-path-sum| +|402. 移掉K位数字|2|https://leetcode-cn.com/problems/remove-k-digits| |71. 简化路径|2|https://leetcode-cn.com/problems/simplify-path| |99. 恢复二叉搜索树|2|https://leetcode-cn.com/problems/recover-binary-search-tree| +|404. 左叶子之和|2|https://leetcode-cn.com/problems/sum-of-left-leaves| |224. 基本计算器|2|https://leetcode-cn.com/problems/basic-calculator| -|208. 实现 Trie (前缀树)|2|https://leetcode-cn.com/problems/implement-trie-prefix-tree| +|503. 下一个更大元素 II|2|https://leetcode-cn.com/problems/next-greater-element-ii| |862. 和至少为 K 的最短子数组|2|https://leetcode-cn.com/problems/shortest-subarray-with-sum-at-least-k| -|1143. 最长公共子序列|2|https://leetcode-cn.com/problems/longest-common-subsequence| -|22. 括号生成|2|https://leetcode-cn.com/problems/generate-parentheses| -|138. 复制带随机指针的链表|2|https://leetcode-cn.com/problems/copy-list-with-random-pointer| -|剑指 Offer 61. 扑克牌中的顺子|2|https://leetcode-cn.com/problems/bu-ke-pai-zhong-de-shun-zi-lcof| -|668. 乘法表中第k小的数|2|https://leetcode-cn.com/problems/kth-smallest-number-in-multiplication-table| |86. 分隔链表|2|https://leetcode-cn.com/problems/partition-list| +|61. 旋转链表|2|https://leetcode-cn.com/problems/rotate-list| +|153. 寻找旋转排序数组中的最小值|2|https://leetcode-cn.com/problems/find-minimum-in-rotated-sorted-array| +|208. 实现 Trie (前缀树)|2|https://leetcode-cn.com/problems/implement-trie-prefix-tree| +|剑指 Offer 61. 扑克牌中的顺子|2|https://leetcode-cn.com/problems/bu-ke-pai-zhong-de-shun-zi-lcof| +|22. 括号生成|2|https://leetcode-cn.com/problems/generate-parentheses| +|668. 乘法表中第k小的数|2|https://leetcode-cn.com/problems/kth-smallest-number-in-multiplication-table| +|785. 判断二分图|2|https://leetcode-cn.com/problems/is-graph-bipartite| |剑指 Offer 54. 二叉搜索树的第k大节点|2|https://leetcode-cn.com/problems/er-cha-sou-suo-shu-de-di-kda-jie-dian-lcof| -|221. 最大正方形|2|https://leetcode-cn.com/problems/maximal-square| |135. 分发糖果|2|https://leetcode-cn.com/problems/candy| |剑指 Offer 36. 二叉搜索树与双向链表|2|https://leetcode-cn.com/problems/er-cha-sou-suo-shu-yu-shuang-xiang-lian-biao-lcof| -|662. 二叉树最大宽度|2|https://leetcode-cn.com/problems/maximum-width-of-binary-tree| -|785. 判断二分图|2|https://leetcode-cn.com/problems/is-graph-bipartite| -|515. 在每个树行中找最大值|1|https://leetcode-cn.com/problems/find-largest-value-in-each-tree-row| -|895. 最大频率栈|1|https://leetcode-cn.com/problems/maximum-frequency-stack| -|1147. 段式回文|1|https://leetcode-cn.com/problems/longest-chunked-palindrome-decomposition| -|剑指 Offer 10- II. 青蛙跳台阶问题|1|https://leetcode-cn.com/problems/qing-wa-tiao-tai-jie-wen-ti-lcof| -|62. 不同路径|1|https://leetcode-cn.com/problems/unique-paths| -|994. 腐烂的橘子|1|https://leetcode-cn.com/problems/rotting-oranges| -|173. 二叉搜索树迭代器|1|https://leetcode-cn.com/problems/binary-search-tree-iterator| -|226. 翻转二叉树|1|https://leetcode-cn.com/problems/invert-binary-tree| -|100. 相同的树|1|https://leetcode-cn.com/problems/same-tree| -|4. 寻找两个正序数组的中位数|1|https://leetcode-cn.com/problems/median-of-two-sorted-arrays| -|1254. 统计封闭岛屿的数目|1|https://leetcode-cn.com/problems/number-of-closed-islands| -|剑指 Offer 67. 把字符串转换成整数|1|https://leetcode-cn.com/problems/ba-zi-fu-chuan-zhuan-huan-cheng-zheng-shu-lcof| -|97. 交错字符串|1|https://leetcode-cn.com/problems/interleaving-string| -|344. 反转字符串|1|https://leetcode-cn.com/problems/reverse-string| -|112. 路径总和|1|https://leetcode-cn.com/problems/path-sum| -|剑指 Offer 25. 合并两个排序的链表|1|https://leetcode-cn.com/problems/he-bing-liang-ge-pai-xu-de-lian-biao-lcof| -|277. 搜寻名人|1|https://leetcode-cn.com/problems/find-the-celebrity| -|701. 二叉搜索树中的插入操作|1|https://leetcode-cn.com/problems/insert-into-a-binary-search-tree| -|剑指 Offer 52. 两个链表的第一个公共节点|1|https://leetcode-cn.com/problems/liang-ge-lian-biao-de-di-yi-ge-gong-gong-jie-dian-lcof| -|125. 验证回文串|1|https://leetcode-cn.com/problems/valid-palindrome| -|694. 不同岛屿的数量|1|https://leetcode-cn.com/problems/number-of-distinct-islands| -|面试题 03.05. 栈排序|1|https://leetcode-cn.com/problems/sort-of-stacks-lcci| -|169. 多数元素|1|https://leetcode-cn.com/problems/majority-element| -|347. 前 K 个高频元素|1|https://leetcode-cn.com/problems/top-k-frequent-elements| -|152. 乘积最大子数组|1|https://leetcode-cn.com/problems/maximum-product-subarray| -|剑指 Offer 38. 字符串的排列|1|https://leetcode-cn.com/problems/zi-fu-chuan-de-pai-lie-lcof| -|468. 验证IP地址|1|https://leetcode-cn.com/problems/validate-ip-address| -|111. 二叉树的最小深度|1|https://leetcode-cn.com/problems/minimum-depth-of-binary-tree| -|67. 二进制求和|1|https://leetcode-cn.com/problems/add-binary| -|297. 二叉树的序列化与反序列化|1|https://leetcode-cn.com/problems/serialize-and-deserialize-binary-tree| -|416. 分割等和子集|1|https://leetcode-cn.com/problems/partition-equal-subset-sum| -|剑指 Offer 53 - II. 0~n-1中缺失的数字|1|https://leetcode-cn.com/problems/que-shi-de-shu-zi-lcof| -|329. 矩阵中的最长递增路径|1|https://leetcode-cn.com/problems/longest-increasing-path-in-a-matrix| -|37. 解数独|1|https://leetcode-cn.com/problems/sudoku-solver| -|1363. 形成三的最大倍数|1|https://leetcode-cn.com/problems/largest-multiple-of-three| -|842. 将数组拆分成斐波那契序列|1|https://leetcode-cn.com/problems/split-array-into-fibonacci-sequence| -|321. 拼接最大数|1|https://leetcode-cn.com/problems/create-maximum-number| -|144. 二叉树的前序遍历|1|https://leetcode-cn.com/problems/binary-tree-preorder-traversal| -|剑指 Offer 09. 用两个栈实现队列|1|https://leetcode-cn.com/problems/yong-liang-ge-zhan-shi-xian-dui-lie-lcof| -|剑指 Offer 48. 最长不含重复字符的子字符串|1|https://leetcode-cn.com/problems/zui-chang-bu-han-zhong-fu-zi-fu-de-zi-zi-fu-chuan-lcof| -|剑指 Offer 04. 二维数组中的查找|1|https://leetcode-cn.com/problems/er-wei-shu-zu-zhong-de-cha-zhao-lcof| +|50. Pow(x, n)|2|https://leetcode-cn.com/problems/powx-n| +|340. 至多包含 K 个不同字符的最长子串|2|https://leetcode-cn.com/problems/longest-substring-with-at-most-k-distinct-characters| +|147. 对链表进行插入排序|2|https://leetcode-cn.com/problems/insertion-sort-list| +|188. 买卖股票的最佳时机 IV|2|https://leetcode-cn.com/problems/best-time-to-buy-and-sell-stock-iv| +|4. 寻找两个正序数组的中位数|2|https://leetcode-cn.com/problems/median-of-two-sorted-arrays| +|226. 翻转二叉树|2|https://leetcode-cn.com/problems/invert-binary-tree| +|5. 最长回文子串|2|https://leetcode-cn.com/problems/longest-palindromic-substring| +|112. 路径总和|2|https://leetcode-cn.com/problems/path-sum| +|剑指 Offer 51. 数组中的逆序对|2|https://leetcode-cn.com/problems/shu-zu-zhong-de-ni-xu-dui-lcof| +|面试题 03.05. 栈排序|2|https://leetcode-cn.com/problems/sort-of-stacks-lcci| +|460. LFU缓存|2|https://leetcode-cn.com/problems/lfu-cache| +|722. 删除注释|2|https://leetcode-cn.com/problems/remove-comments| +|394. 字符串解码|2|https://leetcode-cn.com/problems/decode-string| +|264. 丑数 II|2|https://leetcode-cn.com/problems/ugly-number-ii| +|剑指 Offer 42. 连续子数组的最大和|2|https://leetcode-cn.com/problems/lian-xu-zi-shu-zu-de-zui-da-he-lcof| +|328. 奇偶链表|2|https://leetcode-cn.com/problems/odd-even-linked-list| |166. 分数到小数|1|https://leetcode-cn.com/problems/fraction-to-recurring-decimal| |456. 132模式|1|https://leetcode-cn.com/problems/132-pattern| +|91. 解码方法|1|https://leetcode-cn.com/problems/decode-ways| |剑指 Offer 21. 调整数组顺序使奇数位于偶数前面|1|https://leetcode-cn.com/problems/diao-zheng-shu-zu-shun-xu-shi-qi-shu-wei-yu-ou-shu-qian-mian-lcof| |1299. 将每个元素替换为右侧最大元素|1|https://leetcode-cn.com/problems/replace-elements-with-greatest-element-on-right-side| -|1047. 删除字符串中的所有相邻重复项|1|https://leetcode-cn.com/problems/remove-all-adjacent-duplicates-in-string| -|325. 和等于 k 的最长子数组长度|1|https://leetcode-cn.com/problems/maximum-size-subarray-sum-equals-k| +|剑指 Offer 46. 把数字翻译成字符串|1|https://leetcode-cn.com/problems/ba-shu-zi-fan-yi-cheng-zi-fu-chuan-lcof| +|剑指 Offer 04. 二维数组中的查找|1|https://leetcode-cn.com/problems/er-wei-shu-zu-zhong-de-cha-zhao-lcof| |876. 链表的中间结点|1|https://leetcode-cn.com/problems/middle-of-the-linked-list| |637. 二叉树的层平均值|1|https://leetcode-cn.com/problems/average-of-levels-in-binary-tree| -|120. 三角形最小路径和|1|https://leetcode-cn.com/problems/triangle| -|剑指 Offer 58 - II. 左旋转字符串|1|https://leetcode-cn.com/problems/zuo-xuan-zhuan-zi-fu-chuan-lcof| +|525. 连续数组|1|https://leetcode-cn.com/problems/contiguous-array| |977. 有序数组的平方|1|https://leetcode-cn.com/problems/squares-of-a-sorted-array| |面试题 08.12. 八皇后|1|https://leetcode-cn.com/problems/eight-queens-lcci| +|1047. 删除字符串中的所有相邻重复项|1|https://leetcode-cn.com/problems/remove-all-adjacent-duplicates-in-string| +|325. 和等于 k 的最长子数组长度|1|https://leetcode-cn.com/problems/maximum-size-subarray-sum-equals-k| |8. 字符串转换整数 (atoi)|1|https://leetcode-cn.com/problems/string-to-integer-atoi| -|91. 解码方法|1|https://leetcode-cn.com/problems/decode-ways| -|1156. 单字符重复子串的最大长度|1|https://leetcode-cn.com/problems/swap-for-longest-repeated-character-substring| -|59. 螺旋矩阵 II|1|https://leetcode-cn.com/problems/spiral-matrix-ii| -|剑指 Offer 68 - II. 二叉树的最近公共祖先|1|https://leetcode-cn.com/problems/er-cha-shu-de-zui-jin-gong-gong-zu-xian-lcof| -|40. 组合总和 II|1|https://leetcode-cn.com/problems/combination-sum-ii| -|402. 移掉K位数字|1|https://leetcode-cn.com/problems/remove-k-digits| -|剑指 Offer 33. 二叉搜索树的后序遍历序列|1|https://leetcode-cn.com/problems/er-cha-sou-suo-shu-de-hou-xu-bian-li-xu-lie-lcof| -|64. 最小路径和|1|https://leetcode-cn.com/problems/minimum-path-sum| -|525. 连续数组|1|https://leetcode-cn.com/problems/contiguous-array| -|449. 序列化和反序列化二叉搜索树|1|https://leetcode-cn.com/problems/serialize-and-deserialize-bst| -|93. 复原IP地址|1|https://leetcode-cn.com/problems/restore-ip-addresses| |72. 编辑距离|1|https://leetcode-cn.com/problems/edit-distance| -|145. 二叉树的后序遍历|1|https://leetcode-cn.com/problems/binary-tree-postorder-traversal| +|1156. 单字符重复子串的最大长度|1|https://leetcode-cn.com/problems/swap-for-longest-repeated-character-substring| +|807. 保持城市天际线|1|https://leetcode-cn.com/problems/max-increase-to-keep-city-skyline| +|剑指 Offer 68 - II. 二叉树的最近公共祖先|1|https://leetcode-cn.com/problems/er-cha-shu-de-zui-jin-gong-gong-zu-xian-lcof| +|剑指 Offer 33. 二叉搜索树的后序遍历序列|1|https://leetcode-cn.com/problems/er-cha-sou-suo-shu-de-hou-xu-bian-li-xu-lie-lcof| |154. 寻找旋转排序数组中的最小值 II|1|https://leetcode-cn.com/problems/find-minimum-in-rotated-sorted-array-ii| -|61. 旋转链表|1|https://leetcode-cn.com/problems/rotate-list| |204. 计数质数|1|https://leetcode-cn.com/problems/count-primes| +|449. 序列化和反序列化二叉搜索树|1|https://leetcode-cn.com/problems/serialize-and-deserialize-bst| +|78. 子集|1|https://leetcode-cn.com/problems/subsets| +|40. 组合总和 II|1|https://leetcode-cn.com/problems/combination-sum-ii| +|239. 滑动窗口最大值|1|https://leetcode-cn.com/problems/sliding-window-maximum| +|93. 复原IP地址|1|https://leetcode-cn.com/problems/restore-ip-addresses| +|1095. 山脉数组中查找目标值|1|https://leetcode-cn.com/problems/find-in-mountain-array| +|145. 二叉树的后序遍历|1|https://leetcode-cn.com/problems/binary-tree-postorder-traversal| +|123. 买卖股票的最佳时机 III|1|https://leetcode-cn.com/problems/best-time-to-buy-and-sell-stock-iii| +|295. 数据流的中位数|1|https://leetcode-cn.com/problems/find-median-from-data-stream| +|279. 完全平方数|1|https://leetcode-cn.com/problems/perfect-squares| |剑指 Offer 18. 删除链表的节点|1|https://leetcode-cn.com/problems/shan-chu-lian-biao-de-jie-dian-lcof| |107. 二叉树的层次遍历 II|1|https://leetcode-cn.com/problems/binary-tree-level-order-traversal-ii| -|239. 滑动窗口最大值|1|https://leetcode-cn.com/problems/sliding-window-maximum| -|912. 排序数组|1|https://leetcode-cn.com/problems/sort-an-array| |剑指 Offer 24. 反转链表|1|https://leetcode-cn.com/problems/fan-zhuan-lian-biao-lcof| -|1095. 山脉数组中查找目标值|1|https://leetcode-cn.com/problems/find-in-mountain-array| |523. 连续的子数组和|1|https://leetcode-cn.com/problems/continuous-subarray-sum| -|230. 二叉搜索树中第K小的元素|1|https://leetcode-cn.com/problems/kth-smallest-element-in-a-bst| -|1139. 最大的以 1 为边界的正方形|1|https://leetcode-cn.com/problems/largest-1-bordered-square| +|17. 电话号码的字母组合|1|https://leetcode-cn.com/problems/letter-combinations-of-a-phone-number| +|912. 排序数组|1|https://leetcode-cn.com/problems/sort-an-array| |剑指 Offer 11. 旋转数组的最小数字|1|https://leetcode-cn.com/problems/xuan-zhuan-shu-zu-de-zui-xiao-shu-zi-lcof| |209. 长度最小的子数组|1|https://leetcode-cn.com/problems/minimum-size-subarray-sum| |剑指 Offer 45. 把数组排成最小的数|1|https://leetcode-cn.com/problems/ba-shu-zu-pai-cheng-zui-xiao-de-shu-lcof| -|123. 买卖股票的最佳时机 III|1|https://leetcode-cn.com/problems/best-time-to-buy-and-sell-stock-iii| |349. 两个数组的交集|1|https://leetcode-cn.com/problems/intersection-of-two-arrays| -|295. 数据流的中位数|1|https://leetcode-cn.com/problems/find-median-from-data-stream| +|440. 字典序的第K小数字|1|https://leetcode-cn.com/problems/k-th-smallest-in-lexicographical-order| |410. 分割数组的最大值|1|https://leetcode-cn.com/problems/split-array-largest-sum| -|695. 岛屿的最大面积|1|https://leetcode-cn.com/problems/max-area-of-island| +|230. 二叉搜索树中第K小的元素|1|https://leetcode-cn.com/problems/kth-smallest-element-in-a-bst| +|1139. 最大的以 1 为边界的正方形|1|https://leetcode-cn.com/problems/largest-1-bordered-square| +|421. 数组中两个数的最大异或值|1|https://leetcode-cn.com/problems/maximum-xor-of-two-numbers-in-an-array| +|97. 交错字符串|1|https://leetcode-cn.com/problems/interleaving-string| +|剑指 Offer 05. 替换空格|1|https://leetcode-cn.com/problems/ti-huan-kong-ge-lcof| |951. 翻转等价二叉树|1|https://leetcode-cn.com/problems/flip-equivalent-binary-trees| -|421. 数组中两个数的最大异或值|1|https://leetcode-cn.com/problems/maximum-xor-of-two-numbers-in-an-array| \ No newline at end of file +|剑指 Offer 10- II. 青蛙跳台阶问题|1|https://leetcode-cn.com/problems/qing-wa-tiao-tai-jie-wen-ti-lcof| +|62. 不同路径|1|https://leetcode-cn.com/problems/unique-paths| +|994. 腐烂的橘子|1|https://leetcode-cn.com/problems/rotting-oranges| +|718. 最长重复子数组|1|https://leetcode-cn.com/problems/maximum-length-of-repeated-subarray| +|11. 盛最多水的容器|1|https://leetcode-cn.com/problems/container-with-most-water| +|515. 在每个树行中找最大值|1|https://leetcode-cn.com/problems/find-largest-value-in-each-tree-row| +|895. 最大频率栈|1|https://leetcode-cn.com/problems/maximum-frequency-stack| +|1147. 段式回文|1|https://leetcode-cn.com/problems/longest-chunked-palindrome-decomposition| +|100. 相同的树|1|https://leetcode-cn.com/problems/same-tree| +|1254. 统计封闭岛屿的数目|1|https://leetcode-cn.com/problems/number-of-closed-islands| +|468. 验证IP地址|1|https://leetcode-cn.com/problems/validate-ip-address| +|剑指 Offer 67. 把字符串转换成整数|1|https://leetcode-cn.com/problems/ba-zi-fu-chuan-zhuan-huan-cheng-zheng-shu-lcof| +|344. 反转字符串|1|https://leetcode-cn.com/problems/reverse-string| +|1669. 合并两个链表|1|https://leetcode-cn.com/problems/merge-in-between-linked-lists| +|173. 二叉搜索树迭代器|1|https://leetcode-cn.com/problems/binary-search-tree-iterator| +|277. 搜寻名人|1|https://leetcode-cn.com/problems/find-the-celebrity| +|701. 二叉搜索树中的插入操作|1|https://leetcode-cn.com/problems/insert-into-a-binary-search-tree| +|剑指 Offer 52. 两个链表的第一个公共节点|1|https://leetcode-cn.com/problems/liang-ge-lian-biao-de-di-yi-ge-gong-gong-jie-dian-lcof| +|329. 矩阵中的最长递增路径|1|https://leetcode-cn.com/problems/longest-increasing-path-in-a-matrix| +|125. 验证回文串|1|https://leetcode-cn.com/problems/valid-palindrome| +|10. 正则表达式匹配|1|https://leetcode-cn.com/problems/regular-expression-matching| +|694. 不同岛屿的数量|1|https://leetcode-cn.com/problems/number-of-distinct-islands| +|剑指 Offer 25. 合并两个排序的链表|1|https://leetcode-cn.com/problems/he-bing-liang-ge-pai-xu-de-lian-biao-lcof| +|152. 乘积最大子数组|1|https://leetcode-cn.com/problems/maximum-product-subarray| +|剑指 Offer 38. 字符串的排列|1|https://leetcode-cn.com/problems/zi-fu-chuan-de-pai-lie-lcof| +|321. 拼接最大数|1|https://leetcode-cn.com/problems/create-maximum-number| +|111. 二叉树的最小深度|1|https://leetcode-cn.com/problems/minimum-depth-of-binary-tree| +|144. 二叉树的前序遍历|1|https://leetcode-cn.com/problems/binary-tree-preorder-traversal| +|84. 柱状图中最大的矩形|1|https://leetcode-cn.com/problems/largest-rectangle-in-histogram| +|169. 多数元素|1|https://leetcode-cn.com/problems/majority-element| +|347. 前 K 个高频元素|1|https://leetcode-cn.com/problems/top-k-frequent-elements| +|416. 分割等和子集|1|https://leetcode-cn.com/problems/partition-equal-subset-sum| +|剑指 Offer 53 - II. 0~n-1中缺失的数字|1|https://leetcode-cn.com/problems/que-shi-de-shu-zi-lcof| +|202. 快乐数|1|https://leetcode-cn.com/problems/happy-number| +|37. 解数独|1|https://leetcode-cn.com/problems/sudoku-solver| +|67. 二进制求和|1|https://leetcode-cn.com/problems/add-binary| +|297. 二叉树的序列化与反序列化|1|https://leetcode-cn.com/problems/serialize-and-deserialize-binary-tree| +|842. 将数组拆分成斐波那契序列|1|https://leetcode-cn.com/problems/split-array-into-fibonacci-sequence| +|120. 三角形最小路径和|1|https://leetcode-cn.com/problems/triangle| +|剑指 Offer 58 - II. 左旋转字符串|1|https://leetcode-cn.com/problems/zuo-xuan-zhuan-zi-fu-chuan-lcof| +|剑指 Offer 09. 用两个栈实现队列|1|https://leetcode-cn.com/problems/yong-liang-ge-zhan-shi-xian-dui-lie-lcof| +|889. 根据前序和后序遍历构造二叉树|1|https://leetcode-cn.com/problems/construct-binary-tree-from-preorder-and-postorder-traversal| +|剑指 Offer 48. 最长不含重复字符的子字符串|1|https://leetcode-cn.com/problems/zui-chang-bu-han-zhong-fu-zi-fu-de-zi-zi-fu-chuan-lcof| +|1363. 形成三的最大倍数|1|https://leetcode-cn.com/problems/largest-multiple-of-three|