├── img ├── logo.jpg └── wechat.png ├── alibaba ├── client.md ├── frontend.md ├── test.md ├── data.md ├── algorithm.md └── backend.md ├── yuanfudao ├── test.md ├── data.md ├── algorithm.md ├── frontend.md ├── client.md └── backend.md ├── baidu ├── frontend.md ├── client.md ├── test.md ├── algorithm.md └── backend.md ├── bytedance ├── latest │ ├── frontend.md │ ├── test.md │ ├── algorithm.md │ ├── client.md │ └── backend.md ├── data.md ├── test.md ├── frontend.md ├── algorithm.md ├── client.md └── backend.md ├── kuaishou ├── data.md ├── frontend.md ├── algorithm.md ├── test.md ├── client.md └── backend.md ├── meituan ├── data.md ├── algorithm.md ├── frontend.md ├── test.md ├── client.md └── backend.md ├── tencent ├── test.md ├── algorithm.md ├── frontend.md ├── client.md └── backend.md ├── README.md └── microsoft └── SDE.md /img/logo.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/649453932/LeetcodeTop/HEAD/img/logo.jpg -------------------------------------------------------------------------------- /img/wechat.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/649453932/LeetcodeTop/HEAD/img/wechat.png -------------------------------------------------------------------------------- /alibaba/client.md: -------------------------------------------------------------------------------- 1 | | 算法题 | 次数 | 2 | |-------------------------|----| 3 | | 557\. 反转字符串中的单词 III | 1 | 4 | | 剑指 Offer 42\. 连续子数组的最大和 | 1 | 5 | | 剑指 Offer 27\. 二叉树的镜像 | 1 | 6 | | | | 7 | -------------------------------------------------------------------------------- /yuanfudao/test.md: -------------------------------------------------------------------------------- 1 | # 测试 2 | 3 | |题目|出现次数|链接| 4 | |-|-|-| 5 | |662. 二叉树最大宽度|2|https://leetcode-cn.com/problems/maximum-width-of-binary-tree| 6 | |234. 回文链表|2|https://leetcode-cn.com/problems/palindrome-linked-list| 7 | |98. 验证二叉搜索树|1|https://leetcode-cn.com/problems/validate-binary-search-tree| -------------------------------------------------------------------------------- /alibaba/frontend.md: -------------------------------------------------------------------------------- 1 | | 算法题 | 次数 | 2 | |-----------------------------|----| 3 | | 165\. 比较版本号 | 2 | 4 | | 剑指 Offer 10\- II\. 青蛙跳台阶问题 | 1 | 5 | | 704\. 二分查找 | 1 | 6 | | 剑指 Offer 48\. 最长不含重复字符的子字符串 | 1 | 7 | | 94\. 二叉树的中序遍历 | 1 | 8 | | 102\. 二叉树的层序遍历 | 1 | 9 | -------------------------------------------------------------------------------- /alibaba/test.md: -------------------------------------------------------------------------------- 1 | | 算法题 | 次数 | 2 | |-------------------------------|----| 3 | | 94\. 二叉树的中序遍历 | 2 | 4 | | 剑指 Offer 09\. 用两个栈实现队列 | 1 | 5 | | 剑指 Offer 21\. 调整数组顺序使奇数位于偶数前面 | 1 | 6 | | 144\. 二叉树的前序遍历 | 1 | 7 | | 145\. 二叉树的后序遍历 | 1 | 8 | | 628\. 三个数的最大乘积 | 1 | 9 | | 142\. 环形链表 II | 1 | 10 | | 297\. 二叉树的序列化与反序列化 | 1 | 11 | -------------------------------------------------------------------------------- /alibaba/data.md: -------------------------------------------------------------------------------- 1 | | 算法题 | 次数 | 2 | |-------------------------|----| 3 | | 1\. 两数之和 | 3 | 4 | | 15\. 三数之和 | 2 | 5 | | 144\. 二叉树的前序遍历 | 1 | 6 | | 94\. 二叉树的中序遍历 | 1 | 7 | | 145\. 二叉树的后序遍历 | 1 | 8 | | 102\. 二叉树的层序遍历 | 1 | 9 | | 543\. 二叉树的直径 | 1 | 10 | | 78\. 子集 | 1 | 11 | | 剑指 Offer 11\. 旋转数组的最小数字 | 1 | 12 | | 459\. 重复的子字符串 | 1 | 13 | | 215\. 数组中的第K个最大元素 | 1 | 14 | -------------------------------------------------------------------------------- /baidu/frontend.md: -------------------------------------------------------------------------------- 1 | | 公司 | 岗位 | 题目 | 链接 | 频度 | 2 | |----|----|------------------------|-----------------------------------------------------------------------------|----| 3 | | 百度 | 前端 | 329. 矩阵中的最长递增路径 | https://leetcode-cn.com/problems/longest-increasing-path-in-a-matrix/ | 1 | 4 | | 百度 | 前端 | 104. 二叉树的最大深度 | https://leetcode-cn.com/problems/maximum-depth-of-binary-tree/ | 1 | 5 | | 百度 | 前端 | 剑指 Offer 25. 合并两个排序的链表 | https://leetcode-cn.com/problems/he-bing-liang-ge-pai-xu-de-lian-biao-lcof/ | 1 | 6 | | 百度 | 前端 | 215. 数组中的第K个最大元素 | https://leetcode-cn.com/problems/kth-largest-element-in-an-array/ | 1 | 7 | -------------------------------------------------------------------------------- /yuanfudao/data.md: -------------------------------------------------------------------------------- 1 | # 数据研发 2 | 3 | |题目|出现次数|链接| 4 | |-|-|-| 5 | |54. 螺旋矩阵|2|https://leetcode-cn.com/problems/spiral-matrix| 6 | |92. 反转链表 II|2|https://leetcode-cn.com/problems/reverse-linked-list-ii| 7 | |437. 路径总和 III|1|https://leetcode-cn.com/problems/path-sum-iii| 8 | |179. 最大数|1|https://leetcode-cn.com/problems/largest-number| 9 | |162. 寻找峰值|1|https://leetcode-cn.com/problems/find-peak-element| 10 | |56. 合并区间|1|https://leetcode-cn.com/problems/merge-intervals| 11 | |21. 合并两个有序链表|1|https://leetcode-cn.com/problems/merge-two-sorted-lists| 12 | |1143. 最长公共子序列|1|https://leetcode-cn.com/problems/longest-common-subsequence| 13 | |673. 最长递增子序列的个数|1|https://leetcode-cn.com/problems/number-of-longest-increasing-subsequence| 14 | |518. 零钱兑换 II|1|https://leetcode-cn.com/problems/coin-change-2| 15 | |39. 组合总和|1|https://leetcode-cn.com/problems/combination-sum| -------------------------------------------------------------------------------- /alibaba/algorithm.md: -------------------------------------------------------------------------------- 1 | | 算法题 | 次数 | 2 | |---------------------------------|----| 3 | | 剑指 Offer 24\. 反转链表 | 2 | 4 | | 剑指 Offer 53 \- I\. 在排序数组中查找数字 I | 1 | 5 | | 53\. 最大子序和 | 1 | 6 | | 92\. 反转链表 II | 1 | 7 | | 1143\. 最长公共子序列 | 1 | 8 | | 37\. 解数独 | 1 | 9 | | 44\. 通配符匹配 | 1 | 10 | | 110\. 平衡二叉树 | 1 | 11 | | 47\. 全排列 II | 1 | 12 | | 94\. 二叉树的中序遍历 | 1 | 13 | | 143\. 重排链表 | 1 | 14 | | 1240\. 铺瓷砖 | 1 | 15 | | 617\. 合并二叉树 | 1 | 16 | | 102\. 二叉树的层序遍历 | 1 | 17 | | 剑指 Offer 39\. 数组中出现次数超过一半的数字 | 1 | 18 | | 215\. 数组中的第K个最大元素 | 1 | 19 | | 72\. 编辑距离 | 1 | 20 | | 56\. 合并区间 | 1 | 21 | -------------------------------------------------------------------------------- /baidu/client.md: -------------------------------------------------------------------------------- 1 | | 公司 | 岗位 | 题目 | 地址 | 频率 | 2 | |----|-----|-----------------------|----------------------------------------------------------------------|----| 3 | | 百度 | 客户端 | 206. 反转链表 | https://leetcode-cn.com/problems/reverse-linked-list/ | 2 | 4 | | 百度 | 客户端 | 剑指 Offer 13. 机器人的运动范围 | https://leetcode-cn.com/problems/ji-qi-ren-de-yun-dong-fan-wei-lcof/ | 1 | 5 | | 百度 | 客户端 | 142. 环形链表 II | https://leetcode-cn.com/problems/linked-list-cycle-ii/ | 1 | 6 | | 百度 | 客户端 | 144. 二叉树的前序遍历 | https://leetcode-cn.com/problems/binary-tree-preorder-traversal/ | 1 | 7 | | 百度 | 客户端 | 70. 爬楼梯 | https://leetcode-cn.com/problems/climbing-stairs/ | 1 | 8 | | 百度 | 客户端 | 104. 二叉树的最大深度 | https://leetcode-cn.com/problems/maximum-depth-of-binary-tree/ | 1 | 9 | -------------------------------------------------------------------------------- /bytedance/latest/frontend.md: -------------------------------------------------------------------------------- 1 | # 字节跳动(牛客07.07~07.18的高频题目统计) 2 | 3 | | 公司 | 岗位 | 题目 | 次数 | 4 | |------|----|-------------------|----| 5 | | 字节跳动 | 前端 | 19\. 删除链表的倒数第N个节点 | 1 | 6 | | 字节跳动 | 前端 | 1\. 两数之和 | 1 | 7 | | 字节跳动 | 前端 | 93\. 复原IP地址 | 1 | 8 | | 字节跳动 | 前端 | 102\. 二叉树的层序遍历 | 1 | 9 | | 字节跳动 | 前端 | 21\. 合并两个有序链表 | 1 | 10 | | 字节跳动 | 前端 | 221\. 最大正方形 | 1 | 11 | | 字节跳动 | 前端 | 509\. 斐波那契数 | 1 | 12 | | 字节跳动 | 前端 | 209\. 长度最小的子数组 | 1 | 13 | | 字节跳动 | 前端 | 88\. 合并两个有序数组 | 1 | 14 | | 字节跳动 | 前端 | 70\. 爬楼梯 | 1 | 15 | | 字节跳动 | 前端 | 129\. 求根到叶子节点数字之和 | 1 | 16 | | 字节跳动 | 前端 | 98\. 验证二叉搜索树 | 1 | 17 | | 字节跳动 | 前端 | 215\. 数组中的第K个最大元素 | 1 | 18 | 19 | 想按照部门查看数据,可以在codetop小程序中查看哦~ 20 | 21 | :heartbeat:期待大家来codetop分享考到的题目 22 | ![微信小程序:CodeTop](https://note.youdao.com/yws/public/resource/a9216f577fb9d322425561dfea9188bc/xmlnote/04CF90C97EE8448CA24A68F195D53218/10762) 23 | -------------------------------------------------------------------------------- /bytedance/latest/test.md: -------------------------------------------------------------------------------- 1 | # 字节跳动(牛客07.07~07.18的高频题目统计) 2 | 3 | | 公司 | 岗位 | 题目 | 次数 | 4 | |------|----|-----------------|----| 5 | | 字节跳动 | 测试 | 78\. 子集 | 2 | 6 | | 字节跳动 | 测试 | 206\. 反转链表 | 2 | 7 | | 字节跳动 | 测试 | 3\. 无重复字符的最长子串 | 2 | 8 | | 字节跳动 | 测试 | 415\. 字符串相加 | 2 | 9 | | 字节跳动 | 测试 | 240\. 搜索二维矩阵 II | 1 | 10 | | 字节跳动 | 测试 | 142\. 环形链表 II | 1 | 11 | | 字节跳动 | 测试 | 234\. 回文链表 | 1 | 12 | | 字节跳动 | 测试 | 32\. 最长有效括号 | 1 | 13 | | 字节跳动 | 测试 | 1\. 两数之和 | 1 | 14 | | 字节跳动 | 测试 | 20\. 有效的括号 | 1 | 15 | | 字节跳动 | 测试 | 110\. 平衡二叉树 | 1 | 16 | | 字节跳动 | 测试 | 162\. 寻找峰值 | 1 | 17 | | 字节跳动 | 测试 | 146\. LRU缓存机制 | 1 | 18 | | 字节跳动 | 测试 | 543\. 二叉树的直径 | 1 | 19 | 20 | 想按照部门查看数据,可以在codetop小程序中查看哦~ 21 | 22 | :heartbeat:期待大家来codetop分享考到的题目 23 | ![微信小程序:CodeTop](https://note.youdao.com/yws/public/resource/a9216f577fb9d322425561dfea9188bc/xmlnote/04CF90C97EE8448CA24A68F195D53218/10762) 24 | 25 | -------------------------------------------------------------------------------- /kuaishou/data.md: -------------------------------------------------------------------------------- 1 | # 数据研发 2 | 3 | |题目|出现次数|链接| 4 | |-|-|-| 5 | |5. 最长回文子串|1|https://leetcode-cn.com/problems/longest-palindromic-substring| 6 | |509. 斐波那契数|1|https://leetcode-cn.com/problems/fibonacci-number| 7 | |34. 在排序数组中查找元素的第一个和最后一个位置|1|https://leetcode-cn.com/problems/find-first-and-last-position-of-element-in-sorted-array| 8 | |35. 搜索插入位置|1|https://leetcode-cn.com/problems/search-insert-position| 9 | |93. 复原IP地址|1|https://leetcode-cn.com/problems/restore-ip-addresses| 10 | |145. 二叉树的后序遍历|1|https://leetcode-cn.com/problems/binary-tree-postorder-traversal| 11 | |剑指 Offer 24. 反转链表|1|https://leetcode-cn.com/problems/fan-zhuan-lian-biao-lcof| 12 | |144. 二叉树的前序遍历|1|https://leetcode-cn.com/problems/binary-tree-preorder-traversal| 13 | |剑指 Offer 27. 二叉树的镜像|1|https://leetcode-cn.com/problems/er-cha-shu-de-jing-xiang-lcof| 14 | |剑指 Offer 09. 用两个栈实现队列|1|https://leetcode-cn.com/problems/yong-liang-ge-zhan-shi-xian-dui-lie-lcof| 15 | |112. 路径总和|1|https://leetcode-cn.com/problems/path-sum| 16 | |240. 搜索二维矩阵 II|1|https://leetcode-cn.com/problems/search-a-2d-matrix-ii| -------------------------------------------------------------------------------- /bytedance/latest/algorithm.md: -------------------------------------------------------------------------------- 1 | # 字节跳动(牛客07.07~07.18的高频题目统计) 2 | 3 | | 公司 | 岗位 | 题目 | 次数 | 4 | |------|----|------------------------|----| 5 | | 字节跳动 | 算法 | 215\. 数组中的第K个最大元素 | 2 | 6 | | 字节跳动 | 算法 | 20\. 有效的括号 | 1 | 7 | | 字节跳动 | 算法 | 240\. 搜索二维矩阵 II | 1 | 8 | | 字节跳动 | 算法 | 102\. 二叉树的层序遍历 | 1 | 9 | | 字节跳动 | 算法 | 105\. 从前序与中序遍历序列构造二叉树 | 1 | 10 | | 字节跳动 | 算法 | 206\. 反转链表 | 1 | 11 | | 字节跳动 | 算法 | 264\. 丑数 II | 1 | 12 | | 字节跳动 | 算法 | 4\. 寻找两个正序数组的中位数 | 1 | 13 | | 字节跳动 | 算法 | 437\. 路径总和 III | 1 | 14 | | 字节跳动 | 算法 | 560\. 和为K的子数组 | 1 | 15 | | 字节跳动 | 算法 | 169\. 多数元素 | 1 | 16 | | 字节跳动 | 算法 | 142\. 环形链表 II | 1 | 17 | | 字节跳动 | 算法 | 88\. 合并两个有序数组 | 1 | 18 | | 字节跳动 | 算法 | 152\. 乘积最大子数组 | 1 | 19 | | 字节跳动 | 算法 | 255\.验证前序遍历序列二叉搜索树 | 1 | 20 | | 字节跳动 | 算法 | 剑指 Offer 09\. 用两个栈实现队列 | 1 | 21 | | 字节跳动 | 算法 | 124\. 二叉树中的最大路径和 | 1 | 22 | 23 | 24 | 想按照部门查看数据,可以在codetop小程序中查看哦~ 25 | 26 | :heartbeat:期待大家来codetop分享考到的题目 27 | ![微信小程序:CodeTop](https://note.youdao.com/yws/public/resource/a9216f577fb9d322425561dfea9188bc/xmlnote/04CF90C97EE8448CA24A68F195D53218/10762) 28 | 29 | -------------------------------------------------------------------------------- /kuaishou/frontend.md: -------------------------------------------------------------------------------- 1 | # 前端 2 | 3 | |题目|出现次数|链接| 4 | |-|-|-| 5 | |88. 合并两个有序数组|2|https://leetcode-cn.com/problems/merge-sorted-array| 6 | |3. 无重复字符的最长子串|2|https://leetcode-cn.com/problems/longest-substring-without-repeating-characters| 7 | |70. 爬楼梯|2|https://leetcode-cn.com/problems/climbing-stairs| 8 | |384. 打乱数组|2|https://leetcode-cn.com/problems/shuffle-an-array| 9 | |104. 二叉树的最大深度|1|https://leetcode-cn.com/problems/maximum-depth-of-binary-tree| 10 | |206. 反转链表|1|https://leetcode-cn.com/problems/reverse-linked-list| 11 | |46. 全排列|1|https://leetcode-cn.com/problems/permutations| 12 | |704. 二分查找|1|https://leetcode-cn.com/problems/binary-search| 13 | |7. 整数反转|1|https://leetcode-cn.com/problems/reverse-integer| 14 | |121. 买卖股票的最佳时机|1|https://leetcode-cn.com/problems/best-time-to-buy-and-sell-stock| 15 | |509. 斐波那契数|1|https://leetcode-cn.com/problems/fibonacci-number| 16 | |231. 2的幂|1|https://leetcode-cn.com/problems/power-of-two| 17 | |剑指 Offer 10- I. 斐波那契数列|1|https://leetcode-cn.com/problems/fei-bo-na-qi-shu-lie-lcof| 18 | |102. 二叉树的层序遍历|1|https://leetcode-cn.com/problems/binary-tree-level-order-traversal| 19 | |169. 多数元素|1|https://leetcode-cn.com/problems/majority-element| 20 | |110. 平衡二叉树|1|https://leetcode-cn.com/problems/balanced-binary-tree| -------------------------------------------------------------------------------- /bytedance/latest/client.md: -------------------------------------------------------------------------------- 1 | # 字节跳动(牛客07.07~07.18的高频题目统计) 2 | 3 | | 公司 | 岗位 | 题目 | 次数 | 4 | |------|-----|------------------------|----| 5 | | 字节跳动 | 客户端 | 53\. 最大子序和 | 4 | 6 | | 字节跳动 | 客户端 | 160\. 相交链表 | 3 | 7 | | 字节跳动 | 客户端 | 剑指 Offer 09\. 用两个栈实现队列 | 3 | 8 | | 字节跳动 | 客户端 | 344\. 反转字符串 | 3 | 9 | | 字节跳动 | 客户端 | 21\. 合并两个有序链表 | 2 | 10 | | 字节跳动 | 客户端 | 25\. K 个一组翻转链表 | 2 | 11 | | 字节跳动 | 客户端 | 70\. 爬楼梯 | 2 | 12 | | 字节跳动 | 客户端 | 54\. 螺旋矩阵 | 2 | 13 | | 字节跳动 | 客户端 | 146\. LRU缓存机制 | 2 | 14 | | 字节跳动 | 客户端 | 62\. 不同路径 | 2 | 15 | | 字节跳动 | 客户端 | 236\. 二叉树的最近公共祖先 | 2 | 16 | | 字节跳动 | 客户端 | 189\. 旋转数组 | 2 | 17 | | 字节跳动 | 客户端 | 1\. 两数之和 | 2 | 18 | | 字节跳动 | 客户端 | 48\. 旋转图像 | 2 | 19 | | 字节跳动 | 客户端 | 215\. 数组中的第K个最大元素 | 2 | 20 | | 字节跳动 | 客户端 | 剑指 Offer 27\. 二叉树的镜像 | 2 | 21 | 22 | 建议大家优先把高频题目刷完 23 | 24 | 如果想准备地更充分, 25 | 想查看在07.07~07.18期间涉及的25道只考过1次的客户端题目,或者按照部门查看数据 26 | 可以在codetop小程序中查看哦~ 27 | 28 | :heartbeat:期待大家来codetop分享考到的题目 29 | 30 | ![微信小程序:CodeTop](https://note.youdao.com/yws/public/resource/a9216f577fb9d322425561dfea9188bc/xmlnote/04CF90C97EE8448CA24A68F195D53218/10762) 31 | -------------------------------------------------------------------------------- /alibaba/backend.md: -------------------------------------------------------------------------------- 1 | | 算法题 | 次数 | 2 | |----------------------------|----| 3 | | 215\. 数组中的第K个最大元素 | 3 | 4 | | 145\. 二叉树的后序遍历 | 2 | 5 | | 1\. 两数之和 | 2 | 6 | | 232\. 用栈实现队列 | 2 | 7 | | 88\. 合并两个有序数组 | 2 | 8 | | 15\. 三数之和 | 2 | 9 | | 349\. 两个数组的交集 | 1 | 10 | | 5\. 最长回文子串 | 1 | 11 | | 557\. 反转字符串中的单词 III | 1 | 12 | | 72\. 编辑距离 | 1 | 13 | | 543\. 二叉树的直径 | 1 | 14 | | 144\. 二叉树的前序遍历 | 1 | 15 | | 94\. 二叉树的中序遍历 | 1 | 16 | | 剑指 Offer 22\. 链表中倒数第k个节点 | 1 | 17 | | 2\. 两数相加 | 1 | 18 | | 70\. 爬楼梯 | 1 | 19 | | 509\. 斐波那契数 | 1 | 20 | | 21\. 合并两个有序链表 | 1 | 21 | | 46\. 全排列 | 1 | 22 | | 82\. 删除排序链表中的重复元素 II | 1 | 23 | | 剑指 Offer 52\. 两个链表的第一个公共节点 | 1 | 24 | | 225\. 用队列实现栈 | 1 | 25 | | 350\. 两个数组的交集 II | 1 | 26 | | 415\. 字符串相加 | 1 | 27 | | 268\. 缺失数字 | 1 | 28 | | 53\. 最大子序和 | 1 | 29 | | 344\. 反转字符串 | 1 | 30 | | 136\. 只出现一次的数字 | 1 | 31 | | 剑指 Offer 24\. 反转链表 | 1 | 32 | -------------------------------------------------------------------------------- /kuaishou/algorithm.md: -------------------------------------------------------------------------------- 1 | # 算法 2 | 3 | |题目|出现次数|链接| 4 | |-|-|-| 5 | |103. 二叉树的锯齿形层次遍历|2|https://leetcode-cn.com/problems/binary-tree-zigzag-level-order-traversal| 6 | |72. 编辑距离|2|https://leetcode-cn.com/problems/edit-distance| 7 | |46. 全排列|2|https://leetcode-cn.com/problems/permutations| 8 | |23. 合并K个排序链表|2|https://leetcode-cn.com/problems/merge-k-sorted-lists| 9 | |206. 反转链表|2|https://leetcode-cn.com/problems/reverse-linked-list| 10 | |144. 二叉树的前序遍历|1|https://leetcode-cn.com/problems/binary-tree-preorder-traversal| 11 | |15. 三数之和|1|https://leetcode-cn.com/problems/3sum| 12 | |补充题8. 计算数组的小和|1|https://mp.weixin.qq.com/s/0ih4W6nawzFUPSj3GOnYTQ| 13 | |300. 最长上升子序列|1|https://leetcode-cn.com/problems/longest-increasing-subsequence| 14 | |199. 二叉树的右视图|1|https://leetcode-cn.com/problems/binary-tree-right-side-view| 15 | |202. 快乐数|1|https://leetcode-cn.com/problems/happy-number| 16 | |268. 缺失数字|1|https://leetcode-cn.com/problems/missing-number| 17 | |121. 买卖股票的最佳时机|1|https://leetcode-cn.com/problems/best-time-to-buy-and-sell-stock| 18 | |补充题4. 手撕快速排序|1|| 19 | |102. 二叉树的层序遍历|1|https://leetcode-cn.com/problems/binary-tree-level-order-traversal| 20 | |236. 二叉树的最近公共祖先|1|https://leetcode-cn.com/problems/lowest-common-ancestor-of-a-binary-tree| 21 | |322. 零钱兑换|1|https://leetcode-cn.com/problems/coin-change| 22 | |226. 翻转二叉树|1|https://leetcode-cn.com/problems/invert-binary-tree| -------------------------------------------------------------------------------- /bytedance/latest/backend.md: -------------------------------------------------------------------------------- 1 | # 字节跳动(牛客07.07~07.18的高频题目统计) 2 | 3 | | 公司 | 岗位 | 题目 | 次数 | 4 | |------|----|-----------------------|----| 5 | | 字节跳动 | 后端 | 234\. 回文链表 | 4 | 6 | | 字节跳动 | 后端 | 141\. 环形链表 | 3 | 7 | | 字节跳动 | 后端 | 25\. K 个一组翻转链表 | 3 | 8 | | 字节跳动 | 后端 | 206\. 反转链表 | 3 | 9 | | 字节跳动 | 后端 | 103\. 二叉树的锯齿形层次遍历 | 3 | 10 | | 字节跳动 | 后端 | 2\. 两数相加 | 3 | 11 | | 字节跳动 | 后端 | 15\. 三数之和 | 2 | 12 | | 字节跳动 | 后端 | 69\. x 的平方根 | 2 | 13 | | 字节跳动 | 后端 | 3\. 无重复字符的最长子串 | 2 | 14 | | 字节跳动 | 后端 | 20\. 有效的括号 | 2 | 15 | | 字节跳动 | 后端 | 143\. 重排链表 | 2 | 16 | | 字节跳动 | 后端 | 162\. 寻找峰值 | 2 | 17 | | 字节跳动 | 后端 | 215\. 数组中的第K个最大元素 | 2 | 18 | | 字节跳动 | 后端 | 124\. 二叉树中的最大路径和 | 2 | 19 | | 字节跳动 | 后端 | 105\. 从前序与中序遍历序列构造二叉树 | 2 | 20 | | 字节跳动 | 后端 | 113\. 路径总和 II | 2 | 21 | | 字节跳动 | 后端 | 160\. 相交链表 | 2 | 22 | | 字节跳动 | 后端 | 114\. 二叉树展开为链表 | 2 | 23 | | 字节跳动 | 后端 | 146\. LRU缓存机制 | 2 | 24 | | 字节跳动 | 后端 | 128\. 最长连续序列 | 2 | 25 | 26 | 建议大家优先把高频题目刷完 27 | 28 | 如果想准备地更充分, 29 | 想查看在07.07~07.18期间涉及的44道只考过1次的后端题目,或者想按照部门查看数据 30 | 可以在codetop小程序中查看 31 | 32 | :heartbeat:期待大家来codetop分享考到的题目 33 | 34 | ![微信小程序:CodeTop](https://note.youdao.com/yws/public/resource/a9216f577fb9d322425561dfea9188bc/xmlnote/04CF90C97EE8448CA24A68F195D53218/10762) -------------------------------------------------------------------------------- /kuaishou/test.md: -------------------------------------------------------------------------------- 1 | # 测试 2 | 3 | |题目|出现次数|链接| 4 | |-|-|-| 5 | |3. 无重复字符的最长子串|3|https://leetcode-cn.com/problems/longest-substring-without-repeating-characters| 6 | |142. 环形链表 II|2|https://leetcode-cn.com/problems/linked-list-cycle-ii| 7 | |20. 有效的括号|2|https://leetcode-cn.com/problems/valid-parentheses| 8 | |53. 最大子序和|1|https://leetcode-cn.com/problems/maximum-subarray| 9 | |232. 用栈实现队列|1|https://leetcode-cn.com/problems/implement-queue-using-stacks| 10 | |15. 三数之和|1|https://leetcode-cn.com/problems/3sum| 11 | |补充题6. 手撕堆排序|1|| 12 | |509. 斐波那契数|1|https://leetcode-cn.com/problems/fibonacci-number| 13 | |206. 反转链表|1|https://leetcode-cn.com/problems/reverse-linked-list| 14 | |剑指 Offer 48. 最长不含重复字符的子字符串|1|https://leetcode-cn.com/problems/zui-chang-bu-han-zhong-fu-zi-fu-de-zi-zi-fu-chuan-lcof| 15 | |143. 重排链表|1|https://leetcode-cn.com/problems/reorder-list| 16 | |349. 两个数组的交集|1|https://leetcode-cn.com/problems/intersection-of-two-arrays| 17 | |剑指 Offer 42. 连续子数组的最大和|1|https://leetcode-cn.com/problems/lian-xu-zi-shu-zu-de-zui-da-he-lcof| 18 | |121. 买卖股票的最佳时机|1|https://leetcode-cn.com/problems/best-time-to-buy-and-sell-stock| 19 | |5. 最长回文子串|1|https://leetcode-cn.com/problems/longest-palindromic-substring| 20 | |39. 组合总和|1|https://leetcode-cn.com/problems/combination-sum| 21 | |647. 回文子串|1|https://leetcode-cn.com/problems/palindromic-substrings| 22 | |344. 反转字符串|1|https://leetcode-cn.com/problems/reverse-string| -------------------------------------------------------------------------------- /yuanfudao/algorithm.md: -------------------------------------------------------------------------------- 1 | # 算法 2 | 3 | |题目|出现次数|链接| 4 | |-|-|-| 5 | |445. 两数相加 II|2|https://leetcode-cn.com/problems/add-two-numbers-ii| 6 | |688. “马”在棋盘上的概率|1|https://leetcode-cn.com/problems/knight-probability-in-chessboard| 7 | |847. 访问所有节点的最短路径|1|https://leetcode-cn.com/problems/shortest-path-visiting-all-nodes| 8 | |340. 至多包含 K 个不同字符的最长子串|1|https://leetcode-cn.com/problems/longest-substring-with-at-most-k-distinct-characters| 9 | |827. 最大人工岛|1|https://leetcode-cn.com/problems/making-a-large-island| 10 | |1254. 统计封闭岛屿的数目|1|https://leetcode-cn.com/problems/number-of-closed-islands| 11 | |582. 杀死进程|1|https://leetcode-cn.com/problems/kill-process| 12 | |773. 滑动谜题|1|https://leetcode-cn.com/problems/sliding-puzzle| 13 | |83. 删除排序链表中的重复元素|1|https://leetcode-cn.com/problems/remove-duplicates-from-sorted-list| 14 | |207. 课程表|1|https://leetcode-cn.com/problems/course-schedule| 15 | |33. 搜索旋转排序数组|1|https://leetcode-cn.com/problems/search-in-rotated-sorted-array| 16 | |543. 二叉树的直径|1|https://leetcode-cn.com/problems/diameter-of-binary-tree| 17 | |692. 前K个高频单词|1|https://leetcode-cn.com/problems/top-k-frequent-words| 18 | |剑指 Offer 22. 链表中倒数第k个节点|1|https://leetcode-cn.com/problems/lian-biao-zhong-dao-shu-di-kge-jie-dian-lcof| 19 | |424. 替换后的最长重复字符|1|https://leetcode-cn.com/problems/longest-repeating-character-replacement| 20 | |200. 岛屿数量|1|https://leetcode-cn.com/problems/number-of-islands| 21 | |25. K 个一组翻转链表|1|https://leetcode-cn.com/problems/reverse-nodes-in-k-group| 22 | |225. 用队列实现栈|1|https://leetcode-cn.com/problems/implement-stack-using-queues| -------------------------------------------------------------------------------- /yuanfudao/frontend.md: -------------------------------------------------------------------------------- 1 | # 前端 2 | 3 | |题目|出现次数|链接| 4 | |-|-|-| 5 | |56. 合并区间|2|https://leetcode-cn.com/problems/merge-intervals| 6 | |328. 奇偶链表|2|https://leetcode-cn.com/problems/odd-even-linked-list| 7 | |102. 二叉树的层序遍历|2|https://leetcode-cn.com/problems/binary-tree-level-order-traversal| 8 | |179. 最大数|2|https://leetcode-cn.com/problems/largest-number| 9 | |674. 最长连续递增序列|2|https://leetcode-cn.com/problems/longest-continuous-increasing-subsequence| 10 | |695. 岛屿的最大面积|1|https://leetcode-cn.com/problems/max-area-of-island| 11 | |剑指 Offer 32 - III. 从上到下打印二叉树 III|1|https://leetcode-cn.com/problems/cong-shang-dao-xia-da-yin-er-cha-shu-iii-lcof| 12 | |662. 二叉树最大宽度|1|https://leetcode-cn.com/problems/maximum-width-of-binary-tree| 13 | |105. 从前序与中序遍历序列构造二叉树|1|https://leetcode-cn.com/problems/construct-binary-tree-from-preorder-and-inorder-traversal| 14 | |21. 合并两个有序链表|1|https://leetcode-cn.com/problems/merge-two-sorted-lists| 15 | |153. 寻找旋转排序数组中的最小值|1|https://leetcode-cn.com/problems/find-minimum-in-rotated-sorted-array| 16 | |206. 反转链表|1|https://leetcode-cn.com/problems/reverse-linked-list| 17 | |151. 翻转字符串里的单词|1|https://leetcode-cn.com/problems/reverse-words-in-a-string| 18 | |557. 反转字符串中的单词 III|1|https://leetcode-cn.com/problems/reverse-words-in-a-string-iii| 19 | |628. 三个数的最大乘积|1|https://leetcode-cn.com/problems/maximum-product-of-three-numbers| 20 | |54. 螺旋矩阵|1|https://leetcode-cn.com/problems/spiral-matrix| 21 | |剑指 Offer 46. 把数字翻译成字符串|1|https://leetcode-cn.com/problems/ba-shu-zi-fan-yi-cheng-zi-fu-chuan-lcof| 22 | |199. 二叉树的右视图|1|https://leetcode-cn.com/problems/binary-tree-right-side-view| 23 | |32. 最长有效括号|1|https://leetcode-cn.com/problems/longest-valid-parentheses| 24 | |剑指 Offer 29. 顺时针打印矩阵|1|https://leetcode-cn.com/problems/shun-shi-zhen-da-yin-ju-zhen-lcof| -------------------------------------------------------------------------------- /meituan/data.md: -------------------------------------------------------------------------------- 1 | # 数据研发 2 | 若想按部门/难度/题型筛选题目,请进入[CodeTop](https://codetop.cc)查询 3 | |题目|出现次数|链接| 4 | |-|-|-| 5 | |补充题4. 手撕快速排序|3|https://leetcode-cn.com/problems/sort-an-array| 6 | |141. 环形链表|3|https://leetcode-cn.com/problems/linked-list-cycle| 7 | |704. 二分查找|2|https://leetcode-cn.com/problems/binary-search| 8 | |215. 数组中的第K个最大元素|2|https://leetcode-cn.com/problems/kth-largest-element-in-an-array| 9 | |54. 螺旋矩阵|2|https://leetcode-cn.com/problems/spiral-matrix| 10 | |120. 三角形最小路径和|1|https://leetcode-cn.com/problems/triangle| 11 | |151. 翻转字符串里的单词|1|https://leetcode-cn.com/problems/reverse-words-in-a-string| 12 | |1143. 最长公共子序列|1|https://leetcode-cn.com/problems/longest-common-subsequence| 13 | |26. 删除排序数组中的重复项|1|https://leetcode-cn.com/problems/remove-duplicates-from-sorted-array| 14 | |117. 填充每个节点的下一个右侧节点指针 II|1|https://leetcode-cn.com/problems/populating-next-right-pointers-in-each-node-ii| 15 | |104. 二叉树的最大深度|1|https://leetcode-cn.com/problems/maximum-depth-of-binary-tree| 16 | |124. 二叉树中的最大路径和|1|https://leetcode-cn.com/problems/binary-tree-maximum-path-sum| 17 | |153. 寻找旋转排序数组中的最小值|1|https://leetcode-cn.com/problems/find-minimum-in-rotated-sorted-array| 18 | |补充题5. 手撕归并排序|1|https://leetcode-cn.com/problems/sort-an-array| 19 | |剑指 Offer 27. 二叉树的镜像|1|https://leetcode-cn.com/problems/er-cha-shu-de-jing-xiang-lcof| 20 | |21. 合并两个有序链表|1|https://leetcode-cn.com/problems/merge-two-sorted-lists| 21 | |剑指 Offer 51. 数组中的逆序对|1|https://leetcode-cn.com/problems/shu-zu-zhong-de-ni-xu-dui-lcof| 22 | |53. 最大子序和|1|https://leetcode-cn.com/problems/maximum-subarray| 23 | |15. 三数之和|1|https://leetcode-cn.com/problems/3sum| 24 | |20. 有效的括号|1|https://leetcode-cn.com/problems/valid-parentheses| 25 | |剑指 Offer 22. 链表中倒数第k个节点|1|https://leetcode-cn.com/problems/lian-biao-zhong-dao-shu-di-kge-jie-dian-lcof| 26 | |239. 滑动窗口最大值|1|https://leetcode-cn.com/problems/sliding-window-maximum| 27 | |155. 最小栈|1|https://leetcode-cn.com/problems/min-stack| -------------------------------------------------------------------------------- /tencent/test.md: -------------------------------------------------------------------------------- 1 | # 测试 2 | 若想按部门/难度/题型筛选题目,请进入[CodeTop](https://codetop.cc)查询 3 | |题目|出现次数|链接| 4 | |-|-|-| 5 | |3. 无重复字符的最长子串|7|https://leetcode-cn.com/problems/longest-substring-without-repeating-characters| 6 | |227. 基本计算器 II|3|https://leetcode-cn.com/problems/basic-calculator-ii| 7 | |74. 搜索二维矩阵|3|https://leetcode-cn.com/problems/search-a-2d-matrix| 8 | |100. 相同的树|3|https://leetcode-cn.com/problems/same-tree| 9 | |153. 寻找旋转排序数组中的最小值|2|https://leetcode-cn.com/problems/find-minimum-in-rotated-sorted-array| 10 | |补充题4. 手撕快速排序|2|https://leetcode-cn.com/problems/sort-an-array| 11 | |20. 有效的括号|2|https://leetcode-cn.com/problems/valid-parentheses| 12 | |1143. 最长公共子序列|2|https://leetcode-cn.com/problems/longest-common-subsequence| 13 | |171. Excel表列序号|2|https://leetcode-cn.com/problems/excel-sheet-column-number| 14 | |46. 全排列|1|https://leetcode-cn.com/problems/permutations| 15 | |202. 快乐数|1|https://leetcode-cn.com/problems/happy-number| 16 | |134. 加油站|1|https://leetcode-cn.com/problems/gas-station| 17 | |470. 用 Rand7() 实现 Rand10()|1|https://leetcode-cn.com/problems/implement-rand10-using-rand7| 18 | |121. 买卖股票的最佳时机|1|https://leetcode-cn.com/problems/best-time-to-buy-and-sell-stock| 19 | |442. 数组中重复的数据|1|https://leetcode-cn.com/problems/find-all-duplicates-in-an-array| 20 | |53. 最大子序和|1|https://leetcode-cn.com/problems/maximum-subarray| 21 | |剑指 Offer 62. 圆圈中最后剩下的数字|1|https://leetcode-cn.com/problems/yuan-quan-zhong-zui-hou-sheng-xia-de-shu-zi-lcof| 22 | |206. 反转链表|1|https://leetcode-cn.com/problems/reverse-linked-list| 23 | |106. 从中序与后序遍历序列构造二叉树|1|https://leetcode-cn.com/problems/construct-binary-tree-from-inorder-and-postorder-traversal| 24 | |14. 最长公共前缀|1|https://leetcode-cn.com/problems/longest-common-prefix| 25 | |55. 跳跃游戏|1|https://leetcode-cn.com/problems/jump-game| 26 | |136. 只出现一次的数字|1|https://leetcode-cn.com/problems/single-number| 27 | |821. 字符的最短距离|1|https://leetcode-cn.com/problems/shortest-distance-to-a-character| 28 | |43. 字符串相乘|1|https://leetcode-cn.com/problems/multiply-strings| 29 | |237. 删除链表中的节点|1|https://leetcode-cn.com/problems/delete-node-in-a-linked-list| 30 | |217. 存在重复元素|1|https://leetcode-cn.com/problems/contains-duplicate| 31 | |240. 搜索二维矩阵 II|1|https://leetcode-cn.com/problems/search-a-2d-matrix-ii| -------------------------------------------------------------------------------- /tencent/algorithm.md: -------------------------------------------------------------------------------- 1 | # 算法 2 | 若想按部门/难度/题型筛选题目,请进入[CodeTop](https://codetop.cc)查询 3 | |题目|出现次数|链接| 4 | |-|-|-| 5 | |206. 反转链表|5|https://leetcode-cn.com/problems/reverse-linked-list| 6 | |53. 最大子序和|4|https://leetcode-cn.com/problems/maximum-subarray| 7 | |1143. 最长公共子序列|3|https://leetcode-cn.com/problems/longest-common-subsequence| 8 | |442. 数组中重复的数据|2|https://leetcode-cn.com/problems/find-all-duplicates-in-an-array| 9 | |300. 最长上升子序列|2|https://leetcode-cn.com/problems/longest-increasing-subsequence| 10 | |8. 字符串转换整数 (atoi)|2|https://leetcode-cn.com/problems/string-to-integer-atoi| 11 | |215. 数组中的第K个最大元素|2|https://leetcode-cn.com/problems/kth-largest-element-in-an-array| 12 | |121. 买卖股票的最佳时机|2|https://leetcode-cn.com/problems/best-time-to-buy-and-sell-stock| 13 | |141. 环形链表|1|https://leetcode-cn.com/problems/linked-list-cycle| 14 | |21. 合并两个有序链表|1|https://leetcode-cn.com/problems/merge-two-sorted-lists| 15 | |494. 目标和|1|https://leetcode-cn.com/problems/target-sum| 16 | |227. 基本计算器 II|1|https://leetcode-cn.com/problems/basic-calculator-ii| 17 | |72. 编辑距离|1|https://leetcode-cn.com/problems/edit-distance| 18 | |633. 平方数之和|1|https://leetcode-cn.com/problems/sum-of-square-numbers| 19 | |125. 验证回文串|1|https://leetcode-cn.com/problems/valid-palindrome| 20 | |152. 乘积最大子数组|1|https://leetcode-cn.com/problems/maximum-product-subarray| 21 | |15. 三数之和|1|https://leetcode-cn.com/problems/3sum| 22 | |105. 从前序与中序遍历序列构造二叉树|1|https://leetcode-cn.com/problems/construct-binary-tree-from-preorder-and-inorder-traversal| 23 | |148. 排序链表|1|https://leetcode-cn.com/problems/sort-list| 24 | |239. 滑动窗口最大值|1|https://leetcode-cn.com/problems/sliding-window-maximum| 25 | |22. 括号生成|1|https://leetcode-cn.com/problems/generate-parentheses| 26 | |75. 颜色分类|1|https://leetcode-cn.com/problems/sort-colors| 27 | |20. 有效的括号|1|https://leetcode-cn.com/problems/valid-parentheses| 28 | |169. 多数元素|1|https://leetcode-cn.com/problems/majority-element| 29 | |171. Excel表列序号|1|https://leetcode-cn.com/problems/excel-sheet-column-number| 30 | |5. 最长回文子串|1|https://leetcode-cn.com/problems/longest-palindromic-substring| 31 | |43. 字符串相乘|1|https://leetcode-cn.com/problems/multiply-strings| 32 | |63. 不同路径 II|1|https://leetcode-cn.com/problems/unique-paths-ii| 33 | |146. LRU缓存机制|1|https://leetcode-cn.com/problems/lru-cache| 34 | |补充题6. 手撕堆排序|1|https://leetcode-cn.com/problems/sort-an-array| 35 | |160. 相交链表|1|https://leetcode-cn.com/problems/intersection-of-two-linked-lists| 36 | |补充题4. 手撕快速排序|1|https://leetcode-cn.com/problems/sort-an-array| 37 | |113. 路径总和 II|1|https://leetcode-cn.com/problems/path-sum-ii| -------------------------------------------------------------------------------- /baidu/test.md: -------------------------------------------------------------------------------- 1 | | 公司 | 岗位 | 题目 | 链接 | 频度 | 2 | |----|----|------------------------|----------------------------------------------------------------------------|----| 3 | | 百度 | 测试 | 94. 二叉树的中序遍历 | https://leetcode-cn.com/problems/binary-tree-inorder-traversal/ | 2 | 4 | | 百度 | 测试 | 142. 环形链表 II | https://leetcode-cn.com/problems/linked-list-cycle-ii/ | 2 | 5 | | 百度 | 测试 | 142. 环形链表 II | https://leetcode-cn.com/problems/linked-list-cycle-ii/solution/ | 2 | 6 | | 百度 | 测试 | 94. 二叉树的中序遍历 | https://leetcode-cn.com/problems/binary-tree-inorder-traversal/ | 2 | 7 | | 百度 | 测试 | 5. 最长回文子串 | https://leetcode-cn.com/problems/longest-palindromic-substring/ | 1 | 8 | | 百度 | 测试 | 53. 最大子序和 | https://leetcode-cn.com/problems/maximum-subarray/ | 1 | 9 | | 百度 | 测试 | 887. 鸡蛋掉落 | https://leetcode-cn.com/problems/super-egg-drop/ | 1 | 10 | | 百度 | 测试 | 83. 删除排序链表中的重复元素 | https://leetcode-cn.com/problems/remove-duplicates-from-sorted-list/ | 1 | 11 | | 百度 | 测试 | 1. 两数之和 | https://leetcode-cn.com/problems/two-sum/ | 1 | 12 | | 百度 | 测试 | 206. 反转链表 | https://leetcode-cn.com/problems/reverse-linked-list/ | 1 | 13 | | 百度 | 测试 | 100. 相同的树 | https://leetcode-cn.com/problems/same-tree/ | 1 | 14 | | 百度 | 测试 | 104. 二叉树的最大深度 | https://leetcode-cn.com/problems/maximum-depth-of-binary-tree/ | 1 | 15 | | 百度 | 测试 | 剑指 Offer 42. 连续子数组的最大和 | https://leetcode-cn.com/problems/lian-xu-zi-shu-zu-de-zui-da-he-lcof/ | 1 | 16 | | 百度 | 测试 | 141. 环形链表 | https://leetcode-cn.com/problems/linked-list-cycle/ | 1 | 17 | | 百度 | 测试 | 剑指 Offer 09. 用两个栈实现队列 | https://leetcode-cn.com/problems/yong-liang-ge-zhan-shi-xian-dui-lie-lcof/ | 1 | 18 | | 百度 | 测试 | 215. 数组中的第K个最大元素 | https://leetcode-cn.com/problems/kth-largest-element-in-an-array/ | 1 | 19 | | 百度 | 测试 | 876. 链表的中间结点 | https://leetcode-cn.com/problems/middle-of-the-linked-list/ | 1 | 20 | | 百度 | 测试 | 169. 多数元素 | https://leetcode-cn.com/problems/majority-element/ | 1 | 21 | | 百度 | 测试 | 15. 三数之和 | https://leetcode-cn.com/problems/3sum/ | 1 | 22 | -------------------------------------------------------------------------------- /yuanfudao/client.md: -------------------------------------------------------------------------------- 1 | # 客户端 2 | 3 | |题目|出现次数|链接| 4 | |-|-|-| 5 | |236. 二叉树的最近公共祖先|4|https://leetcode-cn.com/problems/lowest-common-ancestor-of-a-binary-tree| 6 | |92. 反转链表 II|3|https://leetcode-cn.com/problems/reverse-linked-list-ii| 7 | |215. 数组中的第K个最大元素|2|https://leetcode-cn.com/problems/kth-largest-element-in-an-array| 8 | |141. 环形链表|2|https://leetcode-cn.com/problems/linked-list-cycle| 9 | |25. K 个一组翻转链表|2|https://leetcode-cn.com/problems/reverse-nodes-in-k-group| 10 | |148. 排序链表|2|https://leetcode-cn.com/problems/sort-list| 11 | |86. 分隔链表|2|https://leetcode-cn.com/problems/partition-list| 12 | |128. 最长连续序列|2|https://leetcode-cn.com/problems/longest-consecutive-sequence| 13 | |78. 子集|1|https://leetcode-cn.com/problems/subsets| 14 | |剑指 Offer 54. 二叉搜索树的第k大节点|1|https://leetcode-cn.com/problems/er-cha-sou-suo-shu-de-di-kda-jie-dian-lcof| 15 | |206. 反转链表|1|https://leetcode-cn.com/problems/reverse-linked-list| 16 | |剑指 Offer 18. 删除链表的节点|1|https://leetcode-cn.com/problems/shan-chu-lian-biao-de-jie-dian-lcof| 17 | |24. 两两交换链表中的节点|1|https://leetcode-cn.com/problems/swap-nodes-in-pairs| 18 | |57. 插入区间|1|https://leetcode-cn.com/problems/insert-interval| 19 | |200. 岛屿数量|1|https://leetcode-cn.com/problems/number-of-islands| 20 | |42. 接雨水|1|https://leetcode-cn.com/problems/trapping-rain-water| 21 | |695. 岛屿的最大面积|1|https://leetcode-cn.com/problems/max-area-of-island| 22 | |915. 分割数组|1|https://leetcode-cn.com/problems/partition-array-into-disjoint-intervals| 23 | |143. 重排链表|1|https://leetcode-cn.com/problems/reorder-list| 24 | |540. 有序数组中的单一元素|1|https://leetcode-cn.com/problems/single-element-in-a-sorted-array| 25 | |865. 具有所有最深结点的最小子树|1|https://leetcode-cn.com/problems/smallest-subtree-with-all-the-deepest-nodes| 26 | |220. 存在重复元素 III|1|https://leetcode-cn.com/problems/contains-duplicate-iii| 27 | |80. 删除排序数组中的重复项 II|1|https://leetcode-cn.com/problems/remove-duplicates-from-sorted-array-ii| 28 | |701. 二叉搜索树中的插入操作|1|https://leetcode-cn.com/problems/insert-into-a-binary-search-tree| 29 | |83. 删除排序链表中的重复元素|1|https://leetcode-cn.com/problems/remove-duplicates-from-sorted-list| 30 | |319. 灯泡开关|1|https://leetcode-cn.com/problems/bulb-switcher| 31 | |240. 搜索二维矩阵 II|1|https://leetcode-cn.com/problems/search-a-2d-matrix-ii| 32 | |50. Pow(x, n)|1|https://leetcode-cn.com/problems/powx-n| 33 | |56. 合并区间|1|https://leetcode-cn.com/problems/merge-intervals| 34 | |73. 矩阵置零|1|https://leetcode-cn.com/problems/set-matrix-zeroes| 35 | |530. 二叉搜索树的最小绝对差|1|https://leetcode-cn.com/problems/minimum-absolute-difference-in-bst| 36 | |54. 螺旋矩阵|1|https://leetcode-cn.com/problems/spiral-matrix| 37 | |72. 编辑距离|1|https://leetcode-cn.com/problems/edit-distance| 38 | |1325. 删除给定值的叶子节点|1|https://leetcode-cn.com/problems/delete-leaves-with-a-given-value| -------------------------------------------------------------------------------- /meituan/algorithm.md: -------------------------------------------------------------------------------- 1 | # 算法 2 | 若想按部门/难度/题型筛选题目,请进入[CodeTop](https://codetop.cc)查询 3 | 4 | |题目|出现次数|链接| 5 | |-|-|-| 6 | |补充题4. 手撕快速排序|5|https://leetcode-cn.com/problems/sort-an-array| 7 | |121. 买卖股票的最佳时机|4|https://leetcode-cn.com/problems/best-time-to-buy-and-sell-stock| 8 | |215. 数组中的第K个最大元素|4|https://leetcode-cn.com/problems/kth-largest-element-in-an-array| 9 | |128. 最长连续序列|2|https://leetcode-cn.com/problems/longest-consecutive-sequence| 10 | |1143. 最长公共子序列|2|https://leetcode-cn.com/problems/longest-common-subsequence| 11 | |498. 对角线遍历|2|https://leetcode-cn.com/problems/diagonal-traverse| 12 | |剑指 Offer 65. 不用加减乘除做加法|2|https://leetcode-cn.com/problems/bu-yong-jia-jian-cheng-chu-zuo-jia-fa-lcof| 13 | |53. 最大子序和|2|https://leetcode-cn.com/problems/maximum-subarray| 14 | |2. 两数相加|2|https://leetcode-cn.com/problems/add-two-numbers| 15 | |718. 最长重复子数组|2|https://leetcode-cn.com/problems/maximum-length-of-repeated-subarray| 16 | |21. 合并两个有序链表|1|https://leetcode-cn.com/problems/merge-two-sorted-lists| 17 | |560. 和为K的子数组|1|https://leetcode-cn.com/problems/subarray-sum-equals-k| 18 | |5. 最长回文子串|1|https://leetcode-cn.com/problems/longest-palindromic-substring| 19 | |20. 有效的括号|1|https://leetcode-cn.com/problems/valid-parentheses| 20 | |94. 二叉树的中序遍历|1|https://leetcode-cn.com/problems/binary-tree-inorder-traversal| 21 | |104. 二叉树的最大深度|1|https://leetcode-cn.com/problems/maximum-depth-of-binary-tree| 22 | |69. x 的平方根|1|https://leetcode-cn.com/problems/sqrtx| 23 | |240. 搜索二维矩阵 II|1|https://leetcode-cn.com/problems/search-a-2d-matrix-ii| 24 | |76. 最小覆盖子串|1|https://leetcode-cn.com/problems/minimum-window-substring| 25 | |143. 重排链表|1|https://leetcode-cn.com/problems/reorder-list| 26 | |103. 二叉树的锯齿形层次遍历|1|https://leetcode-cn.com/problems/binary-tree-zigzag-level-order-traversal| 27 | |208. 实现 Trie (前缀树)|1|https://leetcode-cn.com/problems/implement-trie-prefix-tree| 28 | |3. 无重复字符的最长子串|1|https://leetcode-cn.com/problems/longest-substring-without-repeating-characters| 29 | |50. Pow(x, n)|1|https://leetcode-cn.com/problems/powx-n| 30 | |7. 整数反转|1|https://leetcode-cn.com/problems/reverse-integer| 31 | |410. 分割数组的最大值|1|https://leetcode-cn.com/problems/split-array-largest-sum| 32 | |25. K 个一组翻转链表|1|https://leetcode-cn.com/problems/reverse-nodes-in-k-group| 33 | |146. LRU缓存机制|1|https://leetcode-cn.com/problems/lru-cache| 34 | |15. 三数之和|1|https://leetcode-cn.com/problems/3sum| 35 | |226. 翻转二叉树|1|https://leetcode-cn.com/problems/invert-binary-tree| 36 | |剑指 Offer 40. 最小的k个数|1|https://leetcode-cn.com/problems/zui-xiao-de-kge-shu-lcof| 37 | |73. 矩阵置零|1|https://leetcode-cn.com/problems/set-matrix-zeroes| 38 | |695. 岛屿的最大面积|1|https://leetcode-cn.com/problems/max-area-of-island| 39 | |面试题 17.24. 最大子矩阵|1|https://leetcode-cn.com/problems/max-submatrix-lcci| 40 | |300. 最长上升子序列|1|https://leetcode-cn.com/problems/longest-increasing-subsequence| 41 | |39. 组合总和|1|https://leetcode-cn.com/problems/combination-sum| 42 | |剑指 Offer 22. 链表中倒数第k个节点|1|https://leetcode-cn.com/problems/lian-biao-zhong-dao-shu-di-kge-jie-dian-lcof| -------------------------------------------------------------------------------- /kuaishou/client.md: -------------------------------------------------------------------------------- 1 | # 客户端 2 | 3 | |题目|出现次数|链接| 4 | |-|-|-| 5 | |206. 反转链表|6|https://leetcode-cn.com/problems/reverse-linked-list| 6 | |142. 环形链表 II|3|https://leetcode-cn.com/problems/linked-list-cycle-ii| 7 | |21. 合并两个有序链表|2|https://leetcode-cn.com/problems/merge-two-sorted-lists| 8 | |78. 子集|2|https://leetcode-cn.com/problems/subsets| 9 | |103. 二叉树的锯齿形层次遍历|2|https://leetcode-cn.com/problems/binary-tree-zigzag-level-order-traversal| 10 | |144. 二叉树的前序遍历|2|https://leetcode-cn.com/problems/binary-tree-preorder-traversal| 11 | |110. 平衡二叉树|2|https://leetcode-cn.com/problems/balanced-binary-tree| 12 | |剑指 Offer 21. 调整数组顺序使奇数位于偶数前面|2|https://leetcode-cn.com/problems/diao-zheng-shu-zu-shun-xu-shi-qi-shu-wei-yu-ou-shu-qian-mian-lcof| 13 | |102. 二叉树的层序遍历|2|https://leetcode-cn.com/problems/binary-tree-level-order-traversal| 14 | |704. 二分查找|2|https://leetcode-cn.com/problems/binary-search| 15 | |300. 最长上升子序列|1|https://leetcode-cn.com/problems/longest-increasing-subsequence| 16 | |121. 买卖股票的最佳时机|1|https://leetcode-cn.com/problems/best-time-to-buy-and-sell-stock| 17 | |1. 两数之和|1|https://leetcode-cn.com/problems/two-sum| 18 | |283. 移动零|1|https://leetcode-cn.com/problems/move-zeroes| 19 | |415. 字符串相加|1|https://leetcode-cn.com/problems/add-strings| 20 | |200. 岛屿数量|1|https://leetcode-cn.com/problems/number-of-islands| 21 | |3. 无重复字符的最长子串|1|https://leetcode-cn.com/problems/longest-substring-without-repeating-characters| 22 | |11. 盛最多水的容器|1|https://leetcode-cn.com/problems/container-with-most-water| 23 | |167. 两数之和 II - 输入有序数组|1|https://leetcode-cn.com/problems/two-sum-ii-input-array-is-sorted| 24 | |470. 用 Rand7() 实现 Rand10()|1|https://leetcode-cn.com/problems/implement-rand10-using-rand7| 25 | |189. 旋转数组|1|https://leetcode-cn.com/problems/rotate-array| 26 | |459. 重复的子字符串|1|https://leetcode-cn.com/problems/repeated-substring-pattern| 27 | |129. 求根到叶子节点数字之和|1|https://leetcode-cn.com/problems/sum-root-to-leaf-numbers| 28 | |312. 戳气球|1|https://leetcode-cn.com/problems/burst-balloons| 29 | |69. x 的平方根|1|https://leetcode-cn.com/problems/sqrtx| 30 | |718. 最长重复子数组|1|https://leetcode-cn.com/problems/maximum-length-of-repeated-subarray| 31 | |24. 两两交换链表中的节点|1|https://leetcode-cn.com/problems/swap-nodes-in-pairs| 32 | |146. LRU缓存机制|1|https://leetcode-cn.com/problems/lru-cache| 33 | |剑指 Offer 64. 求1+2+…+n|1|https://leetcode-cn.com/problems/qiu-12n-lcof| 34 | |70. 爬楼梯|1|https://leetcode-cn.com/problems/climbing-stairs| 35 | |剑指 Offer 24. 反转链表|1|https://leetcode-cn.com/problems/fan-zhuan-lian-biao-lcof| 36 | |232. 用栈实现队列|1|https://leetcode-cn.com/problems/implement-queue-using-stacks| 37 | |919. 完全二叉树插入器|1|https://leetcode-cn.com/problems/complete-binary-tree-inserter| 38 | |19. 删除链表的倒数第N个节点|1|https://leetcode-cn.com/problems/remove-nth-node-from-end-of-list| 39 | |109. 有序链表转换二叉搜索树|1|https://leetcode-cn.com/problems/convert-sorted-list-to-binary-search-tree| 40 | |104. 二叉树的最大深度|1|https://leetcode-cn.com/problems/maximum-depth-of-binary-tree| 41 | |53. 最大子序和|1|https://leetcode-cn.com/problems/maximum-subarray| 42 | |补充题4. 手撕快速排序|1|| -------------------------------------------------------------------------------- /baidu/algorithm.md: -------------------------------------------------------------------------------- 1 | | 公司 | 岗位 | 题目 | 链接 | 频度 | 2 | |----|----|------------------------------|-----------------------------------------------------------------------------------------------------|----| 3 | | 百度 | 算法 | 215. 数组中的第K个最大元素 | https://leetcode-cn.com/problems/kth-largest-element-in-an-array/ | 7 | 4 | | 百度 | 算法 | 142. 环形链表 II | https://leetcode-cn.com/problems/linked-list-cycle-ii/ | 2 | 5 | | 百度 | 算法 | 103. 二叉树的锯齿形层次遍历 | https://leetcode-cn.com/problems/binary-tree-zigzag-level-order-traversal/ | 2 | 6 | | 百度 | 算法 | 1339. 分裂二叉树的最大乘积 | https://leetcode-cn.com/problems/maximum-product-of-splitted-binary-tree/ | 1 | 7 | | 百度 | 算法 | 101. 对称二叉树 | https://leetcode-cn.com/problems/symmetric-tree/ | 1 | 8 | | 百度 | 算法 | 46. 全排列 | https://leetcode-cn.com/problems/permutations/ | 1 | 9 | | 百度 | 算法 | 53. 最大子序和 | https://leetcode-cn.com/problems/maximum-subarray/ | 1 | 10 | | 百度 | 算法 | 98. 验证二叉搜索树 | https://leetcode-cn.com/problems/validate-binary-search-tree/ | 1 | 11 | | 百度 | 算法 | 102. 二叉树的层序遍历 | https://leetcode-cn.com/problems/binary-tree-level-order-traversal/ | 1 | 12 | | 百度 | 算法 | 62. 不同路径 | https://leetcode-cn.com/problems/unique-paths/ | 1 | 13 | | 百度 | 算法 | 69. x 的平方根 | https://leetcode-cn.com/problems/sqrtx/ | 1 | 14 | | 百度 | 算法 | 208. 实现 Trie (前缀树) | https://leetcode-cn.com/problems/implement-trie-prefix-tree/ | 1 | 15 | | 百度 | 算法 | 72. 编辑距离 | https://leetcode-cn.com/problems/edit-distance/ | 1 | 16 | | 百度 | 算法 | 5. 最长回文子串 | https://leetcode-cn.com/problems/longest-palindromic-substring/ | 1 | 17 | | 百度 | 算法 | 206. 反转链表 | https://leetcode-cn.com/problems/reverse-linked-list/ | 1 | 18 | | 百度 | 算法 | 234. 回文链表 | https://leetcode-cn.com/problems/palindrome-linked-list/ | 1 | 19 | | 百度 | 算法 | 剑指 Offer 59 - I. 滑动窗口的最大值 | https://leetcode-cn.com/problems/hua-dong-chuang-kou-de-zui-da-zhi-lcof/ | 1 | 20 | | 百度 | 算法 | 404. 左叶子之和 | https://leetcode-cn.com/problems/sum-of-left-leaves/ | 1 | 21 | | 百度 | 算法 | 剑指 Offer 21. 调整数组顺序使奇数位于偶数前面 | https://leetcode-cn.com/problems/diao-zheng-shu-zu-shun-xu-shi-qi-shu-wei-yu-ou-shu-qian-mian-lcof/ | 1 | 22 | -------------------------------------------------------------------------------- /meituan/frontend.md: -------------------------------------------------------------------------------- 1 | # 前端 2 | 若想按部门/难度/题型筛选题目,请进入[CodeTop](https://codetop.cc)查询 3 | |题目|出现次数|链接| 4 | |-|-|-| 5 | |补充题4. 手撕快速排序|7|https://leetcode-cn.com/problems/sort-an-array| 6 | |70. 爬楼梯|4|https://leetcode-cn.com/problems/climbing-stairs| 7 | |88. 合并两个有序数组|4|https://leetcode-cn.com/problems/merge-sorted-array| 8 | |剑指 Offer 10- I. 斐波那契数列|4|https://leetcode-cn.com/problems/fei-bo-na-qi-shu-lie-lcof| 9 | |104. 二叉树的最大深度|3|https://leetcode-cn.com/problems/maximum-depth-of-binary-tree| 10 | |300. 最长上升子序列|3|https://leetcode-cn.com/problems/longest-increasing-subsequence| 11 | |20. 有效的括号|2|https://leetcode-cn.com/problems/valid-parentheses| 12 | |415. 字符串相加|2|https://leetcode-cn.com/problems/add-strings| 13 | |46. 全排列|2|https://leetcode-cn.com/problems/permutations| 14 | |1047. 删除字符串中的所有相邻重复项|2|https://leetcode-cn.com/problems/remove-all-adjacent-duplicates-in-string| 15 | |498. 对角线遍历|2|https://leetcode-cn.com/problems/diagonal-traverse| 16 | |322. 零钱兑换|2|https://leetcode-cn.com/problems/coin-change| 17 | |48. 旋转图像|2|https://leetcode-cn.com/problems/rotate-image| 18 | |136. 只出现一次的数字|2|https://leetcode-cn.com/problems/single-number| 19 | |54. 螺旋矩阵|1|https://leetcode-cn.com/problems/spiral-matrix| 20 | |141. 环形链表|1|https://leetcode-cn.com/problems/linked-list-cycle| 21 | |654. 最大二叉树|1|https://leetcode-cn.com/problems/maximum-binary-tree| 22 | |704. 二分查找|1|https://leetcode-cn.com/problems/binary-search| 23 | |557. 反转字符串中的单词 III|1|https://leetcode-cn.com/problems/reverse-words-in-a-string-iii| 24 | |102. 二叉树的层序遍历|1|https://leetcode-cn.com/problems/binary-tree-level-order-traversal| 25 | |21. 合并两个有序链表|1|https://leetcode-cn.com/problems/merge-two-sorted-lists| 26 | |206. 反转链表|1|https://leetcode-cn.com/problems/reverse-linked-list| 27 | |199. 二叉树的右视图|1|https://leetcode-cn.com/problems/binary-tree-right-side-view| 28 | |42. 接雨水|1|https://leetcode-cn.com/problems/trapping-rain-water| 29 | |64. 最小路径和|1|https://leetcode-cn.com/problems/minimum-path-sum| 30 | |补充题5. 手撕归并排序|1|https://leetcode-cn.com/problems/sort-an-array| 31 | |50. Pow(x, n)|1|https://leetcode-cn.com/problems/powx-n| 32 | |172. 阶乘后的零|1|https://leetcode-cn.com/problems/factorial-trailing-zeroes| 33 | |105. 从前序与中序遍历序列构造二叉树|1|https://leetcode-cn.com/problems/construct-binary-tree-from-preorder-and-inorder-traversal| 34 | |剑指 Offer 48. 最长不含重复字符的子字符串|1|https://leetcode-cn.com/problems/zui-chang-bu-han-zhong-fu-zi-fu-de-zi-zi-fu-chuan-lcof| 35 | |剑指 Offer 10- II. 青蛙跳台阶问题|1|https://leetcode-cn.com/problems/qing-wa-tiao-tai-jie-wen-ti-lcof| 36 | |6. Z 字形变换|1|https://leetcode-cn.com/problems/zigzag-conversion| 37 | |63. 不同路径 II|1|https://leetcode-cn.com/problems/unique-paths-ii| 38 | |384. 打乱数组|1|https://leetcode-cn.com/problems/shuffle-an-array| 39 | |14. 最长公共前缀|1|https://leetcode-cn.com/problems/longest-common-prefix| 40 | |15. 三数之和|1|https://leetcode-cn.com/problems/3sum| 41 | |260. 只出现一次的数字 III|1|https://leetcode-cn.com/problems/single-number-iii| 42 | |补充题19. 判断一个点是否在三角形内|1|https://mp.weixin.qq.com/s/qnVUJq4lmnLsXJgyHCXngA| 43 | |1. 两数之和|1|https://leetcode-cn.com/problems/two-sum| 44 | |718. 最长重复子数组|1|https://leetcode-cn.com/problems/maximum-length-of-repeated-subarray| 45 | |59. 螺旋矩阵 II|1|https://leetcode-cn.com/problems/spiral-matrix-ii| 46 | |53. 最大子序和|1|https://leetcode-cn.com/problems/maximum-subarray| 47 | |283. 移动零|1|https://leetcode-cn.com/problems/move-zeroes| 48 | |1518. 换酒问题|1|https://leetcode-cn.com/problems/water-bottles| 49 | |78. 子集|1|https://leetcode-cn.com/problems/subsets| -------------------------------------------------------------------------------- /bytedance/data.md: -------------------------------------------------------------------------------- 1 | # 数据研发 2 | 我开发的[CodeTop题库](https://codetop.cc)可以按照部门、难度筛选,比markdown更方便查询高频题 3 | 4 | |题目|出现次数|链接| 5 | |-|-|-| 6 | |101. 对称二叉树|3|https://leetcode-cn.com/problems/symmetric-tree| 7 | |25. K 个一组翻转链表|3|https://leetcode-cn.com/problems/reverse-nodes-in-k-group| 8 | |232. 用栈实现队列|3|https://leetcode-cn.com/problems/implement-queue-using-stacks| 9 | |200. 岛屿数量|2|https://leetcode-cn.com/problems/number-of-islands| 10 | |64. 最小路径和|2|https://leetcode-cn.com/problems/minimum-path-sum| 11 | |补充题1. 排序奇升偶降链表|2|https://mp.weixin.qq.com/s/377FfqvpY8NwMInhpoDgsw| 12 | |146. LRU缓存机制|2|https://leetcode-cn.com/problems/lru-cache| 13 | |98. 验证二叉搜索树|2|https://leetcode-cn.com/problems/validate-binary-search-tree| 14 | |121. 买卖股票的最佳时机|2|https://leetcode-cn.com/problems/best-time-to-buy-and-sell-stock| 15 | |53. 最大子序和|2|https://leetcode-cn.com/problems/maximum-subarray| 16 | |103. 二叉树的锯齿形层次遍历|1|https://leetcode-cn.com/problems/binary-tree-zigzag-level-order-traversal| 17 | |611. 有效三角形的个数|1|https://leetcode-cn.com/problems/valid-triangle-number| 18 | |补充题6. 手撕堆排序|1|https://leetcode-cn.com/problems/sort-an-array| 19 | |94. 二叉树的中序遍历|1|https://leetcode-cn.com/problems/binary-tree-inorder-traversal| 20 | |141. 环形链表|1|https://leetcode-cn.com/problems/linked-list-cycle| 21 | |剑指 Offer 53 - I. 在排序数组中查找数字 I|1|https://leetcode-cn.com/problems/zai-pai-xu-shu-zu-zhong-cha-zhao-shu-zi-lcof| 22 | |230. 二叉搜索树中第K小的元素|1|https://leetcode-cn.com/problems/kth-smallest-element-in-a-bst| 23 | |704. 二分查找|1|https://leetcode-cn.com/problems/binary-search| 24 | |122. 买卖股票的最佳时机 II|1|https://leetcode-cn.com/problems/best-time-to-buy-and-sell-stock-ii| 25 | |69. x 的平方根|1|https://leetcode-cn.com/problems/sqrtx| 26 | |148. 排序链表|1|https://leetcode-cn.com/problems/sort-list| 27 | |142. 环形链表 II|1|https://leetcode-cn.com/problems/linked-list-cycle-ii| 28 | |剑指 Offer 51. 数组中的逆序对|1|https://leetcode-cn.com/problems/shu-zu-zhong-de-ni-xu-dui-lcof| 29 | |43. 字符串相乘|1|https://leetcode-cn.com/problems/multiply-strings| 30 | |补充题14. 阿拉伯数字转中文数字|1|| 31 | |16. 最接近的三数之和|1|https://leetcode-cn.com/problems/3sum-closest| 32 | |102. 二叉树的层序遍历|1|https://leetcode-cn.com/problems/binary-tree-level-order-traversal| 33 | |240. 搜索二维矩阵 II|1|https://leetcode-cn.com/problems/search-a-2d-matrix-ii| 34 | |剑指 Offer 41. 数据流中的中位数|1|https://leetcode-cn.com/problems/shu-ju-liu-zhong-de-zhong-wei-shu-lcof| 35 | |112. 路径总和|1|https://leetcode-cn.com/problems/path-sum| 36 | |3. 无重复字符的最长子串|1|https://leetcode-cn.com/problems/longest-substring-without-repeating-characters| 37 | |剑指 Offer 59 - II. 队列的最大值|1|https://leetcode-cn.com/problems/dui-lie-de-zui-da-zhi-lcof| 38 | |297. 二叉树的序列化与反序列化|1|https://leetcode-cn.com/problems/serialize-and-deserialize-binary-tree| 39 | |92. 反转链表 II|1|https://leetcode-cn.com/problems/reverse-linked-list-ii| 40 | |226. 翻转二叉树|1|https://leetcode-cn.com/problems/invert-binary-tree| 41 | |440. 字典序的第K小数字|1|https://leetcode-cn.com/problems/k-th-smallest-in-lexicographical-order| 42 | |206. 反转链表|1|https://leetcode-cn.com/problems/reverse-linked-list| 43 | |42. 接雨水|1|https://leetcode-cn.com/problems/trapping-rain-water| 44 | |138. 复制带随机指针的链表|1|https://leetcode-cn.com/problems/copy-list-with-random-pointer| 45 | |60. 第k个排列|1|https://leetcode-cn.com/problems/permutation-sequence| 46 | |516. 最长回文子序列|1|https://leetcode-cn.com/problems/longest-palindromic-subsequence| 47 | |718. 最长重复子数组|1|https://leetcode-cn.com/problems/maximum-length-of-repeated-subarray| 48 | |5. 最长回文子串|1|https://leetcode-cn.com/problems/longest-palindromic-substring| 49 | |155. 最小栈|1|https://leetcode-cn.com/problems/min-stack| 50 | |33. 搜索旋转排序数组|1|https://leetcode-cn.com/problems/search-in-rotated-sorted-array| 51 | |113. 路径总和 II|1|https://leetcode-cn.com/problems/path-sum-ii| 52 | |143. 重排链表|1|https://leetcode-cn.com/problems/reorder-list| 53 | |1201. 丑数 III|1|https://leetcode-cn.com/problems/ugly-number-iii| -------------------------------------------------------------------------------- /meituan/test.md: -------------------------------------------------------------------------------- 1 | # 测试 2 | 若想按部门/难度/题型筛选题目,请进入[CodeTop](https://codetop.cc)查询 3 | |题目|出现次数|链接| 4 | |-|-|-| 5 | |3. 无重复字符的最长子串|8|https://leetcode-cn.com/problems/longest-substring-without-repeating-characters| 6 | |1. 两数之和|7|https://leetcode-cn.com/problems/two-sum| 7 | |704. 二分查找|6|https://leetcode-cn.com/problems/binary-search| 8 | |20. 有效的括号|6|https://leetcode-cn.com/problems/valid-parentheses| 9 | |232. 用栈实现队列|5|https://leetcode-cn.com/problems/implement-queue-using-stacks| 10 | |141. 环形链表|4|https://leetcode-cn.com/problems/linked-list-cycle| 11 | |14. 最长公共前缀|4|https://leetcode-cn.com/problems/longest-common-prefix| 12 | |46. 全排列|4|https://leetcode-cn.com/problems/permutations| 13 | |7. 整数反转|4|https://leetcode-cn.com/problems/reverse-integer| 14 | |53. 最大子序和|4|https://leetcode-cn.com/problems/maximum-subarray| 15 | |136. 只出现一次的数字|4|https://leetcode-cn.com/problems/single-number| 16 | |242. 有效的字母异位词|4|https://leetcode-cn.com/problems/valid-anagram| 17 | |8. 字符串转换整数 (atoi)|4|https://leetcode-cn.com/problems/string-to-integer-atoi| 18 | |151. 翻转字符串里的单词|3|https://leetcode-cn.com/problems/reverse-words-in-a-string| 19 | |468. 验证IP地址|3|https://leetcode-cn.com/problems/validate-ip-address| 20 | |补充题14. 阿拉伯数字转中文数字|3|| 21 | |剑指 Offer 53 - I. 在排序数组中查找数字 I|3|https://leetcode-cn.com/problems/zai-pai-xu-shu-zu-zhong-cha-zhao-shu-zi-lcof| 22 | |169. 多数元素|3|https://leetcode-cn.com/problems/majority-element| 23 | |补充题4. 手撕快速排序|3|https://leetcode-cn.com/problems/sort-an-array| 24 | |128. 最长连续序列|2|https://leetcode-cn.com/problems/longest-consecutive-sequence| 25 | |83. 删除排序链表中的重复元素|2|https://leetcode-cn.com/problems/remove-duplicates-from-sorted-list| 26 | |21. 合并两个有序链表|2|https://leetcode-cn.com/problems/merge-two-sorted-lists| 27 | |88. 合并两个有序数组|2|https://leetcode-cn.com/problems/merge-sorted-array| 28 | |226. 翻转二叉树|2|https://leetcode-cn.com/problems/invert-binary-tree| 29 | |剑指 Offer 21. 调整数组顺序使奇数位于偶数前面|2|https://leetcode-cn.com/problems/diao-zheng-shu-zu-shun-xu-shi-qi-shu-wei-yu-ou-shu-qian-mian-lcof| 30 | |718. 最长重复子数组|2|https://leetcode-cn.com/problems/maximum-length-of-repeated-subarray| 31 | |76. 最小覆盖子串|2|https://leetcode-cn.com/problems/minimum-window-substring| 32 | |239. 滑动窗口最大值|2|https://leetcode-cn.com/problems/sliding-window-maximum| 33 | |剑指 Offer 57 - II. 和为s的连续正数序列|2|https://leetcode-cn.com/problems/he-wei-sde-lian-xu-zheng-shu-xu-lie-lcof| 34 | |165. 比较版本号|2|https://leetcode-cn.com/problems/compare-version-numbers| 35 | |153. 寻找旋转排序数组中的最小值|1|https://leetcode-cn.com/problems/find-minimum-in-rotated-sorted-array| 36 | |876. 链表的中间结点|1|https://leetcode-cn.com/problems/middle-of-the-linked-list| 37 | |70. 爬楼梯|1|https://leetcode-cn.com/problems/climbing-stairs| 38 | |796. 旋转字符串|1|https://leetcode-cn.com/problems/rotate-string| 39 | |72. 编辑距离|1|https://leetcode-cn.com/problems/edit-distance| 40 | |460. LFU缓存|1|https://leetcode-cn.com/problems/lfu-cache| 41 | |106. 从中序与后序遍历序列构造二叉树|1|https://leetcode-cn.com/problems/construct-binary-tree-from-inorder-and-postorder-traversal| 42 | |231. 2的幂|1|https://leetcode-cn.com/problems/power-of-two| 43 | |415. 字符串相加|1|https://leetcode-cn.com/problems/add-strings| 44 | |50. Pow(x, n)|1|https://leetcode-cn.com/problems/powx-n| 45 | |40. 组合总和 II|1|https://leetcode-cn.com/problems/combination-sum-ii| 46 | |628. 三个数的最大乘积|1|https://leetcode-cn.com/problems/maximum-product-of-three-numbers| 47 | |215. 数组中的第K个最大元素|1|https://leetcode-cn.com/problems/kth-largest-element-in-an-array| 48 | |剑指 Offer 61. 扑克牌中的顺子|1|https://leetcode-cn.com/problems/bu-ke-pai-zhong-de-shun-zi-lcof| 49 | |剑指 Offer 45. 把数组排成最小的数|1|https://leetcode-cn.com/problems/ba-shu-zu-pai-cheng-zui-xiao-de-shu-lcof| 50 | |240. 搜索二维矩阵 II|1|https://leetcode-cn.com/problems/search-a-2d-matrix-ii| 51 | |23. 合并K个排序链表|1|https://leetcode-cn.com/problems/merge-k-sorted-lists| 52 | |9. 回文数|1|https://leetcode-cn.com/problems/palindrome-number| 53 | |剑指 Offer 10- I. 斐波那契数列|1|https://leetcode-cn.com/problems/fei-bo-na-qi-shu-lie-lcof| 54 | |26. 删除排序数组中的重复项|1|https://leetcode-cn.com/problems/remove-duplicates-from-sorted-array| 55 | |283. 移动零|1|https://leetcode-cn.com/problems/move-zeroes| 56 | |34. 在排序数组中查找元素的第一个和最后一个位置|1|https://leetcode-cn.com/problems/find-first-and-last-position-of-element-in-sorted-array| 57 | |125. 验证回文串|1|https://leetcode-cn.com/problems/valid-palindrome| 58 | |28. 实现 strStr()|1|https://leetcode-cn.com/problems/implement-strstr| 59 | |206. 反转链表|1|https://leetcode-cn.com/problems/reverse-linked-list| 60 | |101. 对称二叉树|1|https://leetcode-cn.com/problems/symmetric-tree| 61 | |167. 两数之和 II - 输入有序数组|1|https://leetcode-cn.com/problems/two-sum-ii-input-array-is-sorted| 62 | |32. 最长有效括号|1|https://leetcode-cn.com/problems/longest-valid-parentheses| 63 | |15. 三数之和|1|https://leetcode-cn.com/problems/3sum| -------------------------------------------------------------------------------- /meituan/client.md: -------------------------------------------------------------------------------- 1 | # 客户端 2 | 若想按部门/难度/题型筛选题目,请进入[CodeTop](https://codetop.cc)查询 3 | |题目|出现次数|链接| 4 | |-|-|-| 5 | |补充题4. 手撕快速排序|4|https://leetcode-cn.com/problems/sort-an-array| 6 | |142. 环形链表 II|4|https://leetcode-cn.com/problems/linked-list-cycle-ii| 7 | |剑指 Offer 10- I. 斐波那契数列|3|https://leetcode-cn.com/problems/fei-bo-na-qi-shu-lie-lcof| 8 | |155. 最小栈|3|https://leetcode-cn.com/problems/min-stack| 9 | |206. 反转链表|3|https://leetcode-cn.com/problems/reverse-linked-list| 10 | |236. 二叉树的最近公共祖先|2|https://leetcode-cn.com/problems/lowest-common-ancestor-of-a-binary-tree| 11 | |53. 最大子序和|2|https://leetcode-cn.com/problems/maximum-subarray| 12 | |69. x 的平方根|2|https://leetcode-cn.com/problems/sqrtx| 13 | |141. 环形链表|2|https://leetcode-cn.com/problems/linked-list-cycle| 14 | |232. 用栈实现队列|2|https://leetcode-cn.com/problems/implement-queue-using-stacks| 15 | |54. 螺旋矩阵|2|https://leetcode-cn.com/problems/spiral-matrix| 16 | |剑指 Offer 52. 两个链表的第一个公共节点|2|https://leetcode-cn.com/problems/liang-ge-lian-biao-de-di-yi-ge-gong-gong-jie-dian-lcof| 17 | |46. 全排列|2|https://leetcode-cn.com/problems/permutations| 18 | |19. 删除链表的倒数第N个节点|2|https://leetcode-cn.com/problems/remove-nth-node-from-end-of-list| 19 | |86. 分隔链表|1|https://leetcode-cn.com/problems/partition-list| 20 | |48. 旋转图像|1|https://leetcode-cn.com/problems/rotate-image| 21 | |312. 戳气球|1|https://leetcode-cn.com/problems/burst-balloons| 22 | |718. 最长重复子数组|1|https://leetcode-cn.com/problems/maximum-length-of-repeated-subarray| 23 | |169. 多数元素|1|https://leetcode-cn.com/problems/majority-element| 24 | |151. 翻转字符串里的单词|1|https://leetcode-cn.com/problems/reverse-words-in-a-string| 25 | |78. 子集|1|https://leetcode-cn.com/problems/subsets| 26 | |146. LRU缓存机制|1|https://leetcode-cn.com/problems/lru-cache| 27 | |234. 回文链表|1|https://leetcode-cn.com/problems/palindrome-linked-list| 28 | |1143. 最长公共子序列|1|https://leetcode-cn.com/problems/longest-common-subsequence| 29 | |83. 删除排序链表中的重复元素|1|https://leetcode-cn.com/problems/remove-duplicates-from-sorted-list| 30 | |21. 合并两个有序链表|1|https://leetcode-cn.com/problems/merge-two-sorted-lists| 31 | |876. 链表的中间结点|1|https://leetcode-cn.com/problems/middle-of-the-linked-list| 32 | |剑指 Offer 22. 链表中倒数第k个节点|1|https://leetcode-cn.com/problems/lian-biao-zhong-dao-shu-di-kge-jie-dian-lcof| 33 | |剑指 Offer 21. 调整数组顺序使奇数位于偶数前面|1|https://leetcode-cn.com/problems/diao-zheng-shu-zu-shun-xu-shi-qi-shu-wei-yu-ou-shu-qian-mian-lcof| 34 | |239. 滑动窗口最大值|1|https://leetcode-cn.com/problems/sliding-window-maximum| 35 | |63. 不同路径 II|1|https://leetcode-cn.com/problems/unique-paths-ii| 36 | |64. 最小路径和|1|https://leetcode-cn.com/problems/minimum-path-sum| 37 | |补充题19. 判断一个点是否在三角形内|1|https://mp.weixin.qq.com/s/qnVUJq4lmnLsXJgyHCXngA| 38 | |24. 两两交换链表中的节点|1|https://leetcode-cn.com/problems/swap-nodes-in-pairs| 39 | |200. 岛屿数量|1|https://leetcode-cn.com/problems/number-of-islands| 40 | |226. 翻转二叉树|1|https://leetcode-cn.com/problems/invert-binary-tree| 41 | |25. K 个一组翻转链表|1|https://leetcode-cn.com/problems/reverse-nodes-in-k-group| 42 | |7. 整数反转|1|https://leetcode-cn.com/problems/reverse-integer| 43 | |225. 用队列实现栈|1|https://leetcode-cn.com/problems/implement-stack-using-queues| 44 | |62. 不同路径|1|https://leetcode-cn.com/problems/unique-paths| 45 | |121. 买卖股票的最佳时机|1|https://leetcode-cn.com/problems/best-time-to-buy-and-sell-stock| 46 | |88. 合并两个有序数组|1|https://leetcode-cn.com/problems/merge-sorted-array| 47 | |516. 最长回文子序列|1|https://leetcode-cn.com/problems/longest-palindromic-subsequence| 48 | |144. 二叉树的前序遍历|1|https://leetcode-cn.com/problems/binary-tree-preorder-traversal| 49 | |102. 二叉树的层序遍历|1|https://leetcode-cn.com/problems/binary-tree-level-order-traversal| 50 | |559. N叉树的最大深度|1|https://leetcode-cn.com/problems/maximum-depth-of-n-ary-tree| 51 | |剑指 Offer 40. 最小的k个数|1|https://leetcode-cn.com/problems/zui-xiao-de-kge-shu-lcof| 52 | |199. 二叉树的右视图|1|https://leetcode-cn.com/problems/binary-tree-right-side-view| 53 | |20. 有效的括号|1|https://leetcode-cn.com/problems/valid-parentheses| 54 | |4. 寻找两个正序数组的中位数|1|https://leetcode-cn.com/problems/median-of-two-sorted-arrays| 55 | |160. 相交链表|1|https://leetcode-cn.com/problems/intersection-of-two-linked-lists| 56 | |34. 在排序数组中查找元素的第一个和最后一个位置|1|https://leetcode-cn.com/problems/find-first-and-last-position-of-element-in-sorted-array| 57 | |剑指 Offer 10- II. 青蛙跳台阶问题|1|https://leetcode-cn.com/problems/qing-wa-tiao-tai-jie-wen-ti-lcof| 58 | |113. 路径总和 II|1|https://leetcode-cn.com/problems/path-sum-ii| 59 | |70. 爬楼梯|1|https://leetcode-cn.com/problems/climbing-stairs| 60 | |300. 最长上升子序列|1|https://leetcode-cn.com/problems/longest-increasing-subsequence| 61 | |889. 根据前序和后序遍历构造二叉树|1|https://leetcode-cn.com/problems/construct-binary-tree-from-preorder-and-postorder-traversal| 62 | |468. 验证IP地址|1|https://leetcode-cn.com/problems/validate-ip-address| -------------------------------------------------------------------------------- /tencent/frontend.md: -------------------------------------------------------------------------------- 1 | # 前端 2 | 若想按部门/难度/题型筛选题目,请进入[CodeTop](https://codetop.cc)查询 3 | |题目|出现次数|链接| 4 | |-|-|-| 5 | |415. 字符串相加|14|https://leetcode-cn.com/problems/add-strings| 6 | |1. 两数之和|4|https://leetcode-cn.com/problems/two-sum| 7 | |704. 二分查找|4|https://leetcode-cn.com/problems/binary-search| 8 | |198. 打家劫舍|4|https://leetcode-cn.com/problems/house-robber| 9 | |165. 比较版本号|3|https://leetcode-cn.com/problems/compare-version-numbers| 10 | |215. 数组中的第K个最大元素|3|https://leetcode-cn.com/problems/kth-largest-element-in-an-array| 11 | |补充题22. IP地址与整数的转换|3|https://mp.weixin.qq.com/s/u-RahFTB3JIqND41HqtotQ| 12 | |384. 打乱数组|3|https://leetcode-cn.com/problems/shuffle-an-array| 13 | |22. 括号生成|3|https://leetcode-cn.com/problems/generate-parentheses| 14 | |70. 爬楼梯|2|https://leetcode-cn.com/problems/climbing-stairs| 15 | |121. 买卖股票的最佳时机|2|https://leetcode-cn.com/problems/best-time-to-buy-and-sell-stock| 16 | |146. LRU缓存机制|2|https://leetcode-cn.com/problems/lru-cache| 17 | |206. 反转链表|2|https://leetcode-cn.com/problems/reverse-linked-list| 18 | |21. 合并两个有序链表|2|https://leetcode-cn.com/problems/merge-two-sorted-lists| 19 | |8. 字符串转换整数 (atoi)|2|https://leetcode-cn.com/problems/string-to-integer-atoi| 20 | |543. 二叉树的直径|2|https://leetcode-cn.com/problems/diameter-of-binary-tree| 21 | |剑指 Offer 29. 顺时针打印矩阵|2|https://leetcode-cn.com/problems/shun-shi-zhen-da-yin-ju-zhen-lcof| 22 | |20. 有效的括号|2|https://leetcode-cn.com/problems/valid-parentheses| 23 | |88. 合并两个有序数组|2|https://leetcode-cn.com/problems/merge-sorted-array| 24 | |153. 寻找旋转排序数组中的最小值|2|https://leetcode-cn.com/problems/find-minimum-in-rotated-sorted-array| 25 | |25. K 个一组翻转链表|2|https://leetcode-cn.com/problems/reverse-nodes-in-k-group| 26 | |3. 无重复字符的最长子串|2|https://leetcode-cn.com/problems/longest-substring-without-repeating-characters| 27 | |287. 寻找重复数|1|https://leetcode-cn.com/problems/find-the-duplicate-number| 28 | |59. 螺旋矩阵 II|1|https://leetcode-cn.com/problems/spiral-matrix-ii| 29 | |191. 位1的个数|1|https://leetcode-cn.com/problems/number-of-1-bits| 30 | |160. 相交链表|1|https://leetcode-cn.com/problems/intersection-of-two-linked-lists| 31 | |144. 二叉树的前序遍历|1|https://leetcode-cn.com/problems/binary-tree-preorder-traversal| 32 | |补充题4. 手撕快速排序|1|https://leetcode-cn.com/problems/sort-an-array| 33 | |214. 最短回文串|1|https://leetcode-cn.com/problems/shortest-palindrome| 34 | |61. 旋转链表|1|https://leetcode-cn.com/problems/rotate-list| 35 | |179. 最大数|1|https://leetcode-cn.com/problems/largest-number| 36 | |112. 路径总和|1|https://leetcode-cn.com/problems/path-sum| 37 | |141. 环形链表|1|https://leetcode-cn.com/problems/linked-list-cycle| 38 | |剑指 Offer 22. 链表中倒数第k个节点|1|https://leetcode-cn.com/problems/lian-biao-zhong-dao-shu-di-kge-jie-dian-lcof| 39 | |300. 最长上升子序列|1|https://leetcode-cn.com/problems/longest-increasing-subsequence| 40 | |349. 两个数组的交集|1|https://leetcode-cn.com/problems/intersection-of-two-arrays| 41 | |补充题21. 字符串相减|1|https://mp.weixin.qq.com/s/kCue4c0gnLSw0HosFl_t7w| 42 | |剑指 Offer 34. 二叉树中和为某一值的路径|1|https://leetcode-cn.com/problems/er-cha-shu-zhong-he-wei-mou-yi-zhi-de-lu-jing-lcof| 43 | |19. 删除链表的倒数第N个节点|1|https://leetcode-cn.com/problems/remove-nth-node-from-end-of-list| 44 | |2. 两数相加|1|https://leetcode-cn.com/problems/add-two-numbers| 45 | |53. 最大子序和|1|https://leetcode-cn.com/problems/maximum-subarray| 46 | |189. 旋转数组|1|https://leetcode-cn.com/problems/rotate-array| 47 | |4. 寻找两个正序数组的中位数|1|https://leetcode-cn.com/problems/median-of-two-sorted-arrays| 48 | |257. 二叉树的所有路径|1|https://leetcode-cn.com/problems/binary-tree-paths| 49 | |670. 最大交换|1|https://leetcode-cn.com/problems/maximum-swap| 50 | |283. 移动零|1|https://leetcode-cn.com/problems/move-zeroes| 51 | |148. 排序链表|1|https://leetcode-cn.com/problems/sort-list| 52 | |剑指 Offer 54. 二叉搜索树的第k大节点|1|https://leetcode-cn.com/problems/er-cha-sou-suo-shu-de-di-kda-jie-dian-lcof| 53 | |110. 平衡二叉树|1|https://leetcode-cn.com/problems/balanced-binary-tree| 54 | |64. 最小路径和|1|https://leetcode-cn.com/problems/minimum-path-sum| 55 | |122. 买卖股票的最佳时机 II|1|https://leetcode-cn.com/problems/best-time-to-buy-and-sell-stock-ii| 56 | |115. 不同的子序列|1|https://leetcode-cn.com/problems/distinct-subsequences| 57 | |106. 从中序与后序遍历序列构造二叉树|1|https://leetcode-cn.com/problems/construct-binary-tree-from-inorder-and-postorder-traversal| 58 | |226. 翻转二叉树|1|https://leetcode-cn.com/problems/invert-binary-tree| 59 | |100. 相同的树|1|https://leetcode-cn.com/problems/same-tree| 60 | |129. 求根到叶子节点数字之和|1|https://leetcode-cn.com/problems/sum-root-to-leaf-numbers| 61 | |459. 重复的子字符串|1|https://leetcode-cn.com/problems/repeated-substring-pattern| 62 | |78. 子集|1|https://leetcode-cn.com/problems/subsets| 63 | |46. 全排列|1|https://leetcode-cn.com/problems/permutations| 64 | |55. 跳跃游戏|1|https://leetcode-cn.com/problems/jump-game| 65 | |1013. 将数组分成和相等的三个部分|1|https://leetcode-cn.com/problems/partition-array-into-three-parts-with-equal-sum| 66 | |33. 搜索旋转排序数组|1|https://leetcode-cn.com/problems/search-in-rotated-sorted-array| -------------------------------------------------------------------------------- /tencent/client.md: -------------------------------------------------------------------------------- 1 | # 客户端 2 | 若想按部门/难度/题型筛选题目,请进入[CodeTop](https://codetop.cc)查询 3 | |题目|出现次数|链接| 4 | |-|-|-| 5 | |1. 两数之和|4|https://leetcode-cn.com/problems/two-sum| 6 | |剑指 Offer 54. 二叉搜索树的第k大节点|3|https://leetcode-cn.com/problems/er-cha-sou-suo-shu-de-di-kda-jie-dian-lcof| 7 | |300. 最长上升子序列|3|https://leetcode-cn.com/problems/longest-increasing-subsequence| 8 | |21. 合并两个有序链表|3|https://leetcode-cn.com/problems/merge-two-sorted-lists| 9 | |206. 反转链表|3|https://leetcode-cn.com/problems/reverse-linked-list| 10 | |415. 字符串相加|3|https://leetcode-cn.com/problems/add-strings| 11 | |141. 环形链表|2|https://leetcode-cn.com/problems/linked-list-cycle| 12 | |227. 基本计算器 II|2|https://leetcode-cn.com/problems/basic-calculator-ii| 13 | |215. 数组中的第K个最大元素|2|https://leetcode-cn.com/problems/kth-largest-element-in-an-array| 14 | |704. 二分查找|2|https://leetcode-cn.com/problems/binary-search| 15 | |151. 翻转字符串里的单词|2|https://leetcode-cn.com/problems/reverse-words-in-a-string| 16 | |1143. 最长公共子序列|2|https://leetcode-cn.com/problems/longest-common-subsequence| 17 | |234. 回文链表|2|https://leetcode-cn.com/problems/palindrome-linked-list| 18 | |补充题4. 手撕快速排序|2|https://leetcode-cn.com/problems/sort-an-array| 19 | |678. 有效的括号字符串|2|https://leetcode-cn.com/problems/valid-parenthesis-string| 20 | |4. 寻找两个正序数组的中位数|2|https://leetcode-cn.com/problems/median-of-two-sorted-arrays| 21 | |62. 不同路径|2|https://leetcode-cn.com/problems/unique-paths| 22 | |125. 验证回文串|2|https://leetcode-cn.com/problems/valid-palindrome| 23 | |补充题19. 判断一个点是否在三角形内|1|https://mp.weixin.qq.com/s/qnVUJq4lmnLsXJgyHCXngA| 24 | |31. 下一个排列|1|https://leetcode-cn.com/problems/next-permutation| 25 | |160. 相交链表|1|https://leetcode-cn.com/problems/intersection-of-two-linked-lists| 26 | |剑指 Offer 22. 链表中倒数第k个节点|1|https://leetcode-cn.com/problems/lian-biao-zhong-dao-shu-di-kge-jie-dian-lcof| 27 | |16. 最接近的三数之和|1|https://leetcode-cn.com/problems/3sum-closest| 28 | |287. 寻找重复数|1|https://leetcode-cn.com/problems/find-the-duplicate-number| 29 | |405. 数字转换为十六进制数|1|https://leetcode-cn.com/problems/convert-a-number-to-hexadecimal| 30 | |207. 课程表|1|https://leetcode-cn.com/problems/course-schedule| 31 | |补充题6. 手撕堆排序|1|https://leetcode-cn.com/problems/sort-an-array| 32 | |104. 二叉树的最大深度|1|https://leetcode-cn.com/problems/maximum-depth-of-binary-tree| 33 | |200. 岛屿数量|1|https://leetcode-cn.com/problems/number-of-islands| 34 | |45. 跳跃游戏 II|1|https://leetcode-cn.com/problems/jump-game-ii| 35 | |剑指 Offer 41. 数据流中的中位数|1|https://leetcode-cn.com/problems/shu-ju-liu-zhong-de-zhong-wei-shu-lcof| 36 | |718. 最长重复子数组|1|https://leetcode-cn.com/problems/maximum-length-of-repeated-subarray| 37 | |10. 正则表达式匹配|1|https://leetcode-cn.com/problems/regular-expression-matching| 38 | |53. 最大子序和|1|https://leetcode-cn.com/problems/maximum-subarray| 39 | |剑指 Offer 11. 旋转数组的最小数字|1|https://leetcode-cn.com/problems/xuan-zhuan-shu-zu-de-zui-xiao-shu-zi-lcof| 40 | |470. 用 Rand7() 实现 Rand10()|1|https://leetcode-cn.com/problems/implement-rand10-using-rand7| 41 | |20. 有效的括号|1|https://leetcode-cn.com/problems/valid-parentheses| 42 | |498. 对角线遍历|1|https://leetcode-cn.com/problems/diagonal-traverse| 43 | |179. 最大数|1|https://leetcode-cn.com/problems/largest-number| 44 | |236. 二叉树的最近公共祖先|1|https://leetcode-cn.com/problems/lowest-common-ancestor-of-a-binary-tree| 45 | |153. 寻找旋转排序数组中的最小值|1|https://leetcode-cn.com/problems/find-minimum-in-rotated-sorted-array| 46 | |128. 最长连续序列|1|https://leetcode-cn.com/problems/longest-consecutive-sequence| 47 | |43. 字符串相乘|1|https://leetcode-cn.com/problems/multiply-strings| 48 | |171. Excel表列序号|1|https://leetcode-cn.com/problems/excel-sheet-column-number| 49 | |876. 链表的中间结点|1|https://leetcode-cn.com/problems/middle-of-the-linked-list| 50 | |2. 两数相加|1|https://leetcode-cn.com/problems/add-two-numbers| 51 | |59. 螺旋矩阵 II|1|https://leetcode-cn.com/problems/spiral-matrix-ii| 52 | |1312. 让字符串成为回文串的最少插入次数|1|https://leetcode-cn.com/problems/minimum-insertion-steps-to-make-a-string-palindrome| 53 | |169. 多数元素|1|https://leetcode-cn.com/problems/majority-element| 54 | |384. 打乱数组|1|https://leetcode-cn.com/problems/shuffle-an-array| 55 | |442. 数组中重复的数据|1|https://leetcode-cn.com/problems/find-all-duplicates-in-an-array| 56 | |144. 二叉树的前序遍历|1|https://leetcode-cn.com/problems/binary-tree-preorder-traversal| 57 | |692. 前K个高频单词|1|https://leetcode-cn.com/problems/top-k-frequent-words| 58 | |167. 两数之和 II - 输入有序数组|1|https://leetcode-cn.com/problems/two-sum-ii-input-array-is-sorted| 59 | |459. 重复的子字符串|1|https://leetcode-cn.com/problems/repeated-substring-pattern| 60 | |26. 删除排序数组中的重复项|1|https://leetcode-cn.com/problems/remove-duplicates-from-sorted-array| 61 | |120. 三角形最小路径和|1|https://leetcode-cn.com/problems/triangle| 62 | |7. 整数反转|1|https://leetcode-cn.com/problems/reverse-integer| 63 | |54. 螺旋矩阵|1|https://leetcode-cn.com/problems/spiral-matrix| 64 | |232. 用栈实现队列|1|https://leetcode-cn.com/problems/implement-queue-using-stacks| 65 | |155. 最小栈|1|https://leetcode-cn.com/problems/min-stack| 66 | |23. 合并K个排序链表|1|https://leetcode-cn.com/problems/merge-k-sorted-lists| 67 | |剑指 Offer 10- I. 斐波那契数列|1|https://leetcode-cn.com/problems/fei-bo-na-qi-shu-lie-lcof| 68 | |887. 鸡蛋掉落|1|https://leetcode-cn.com/problems/super-egg-drop| -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # LeetcodeTop 2 | 本仓库用于汇总互联网公司技术岗考察Leetcode题目的热度:fire:,帮助同学们更加有针对性地准备面试。 3 | 4 | 我最近开发的**CodeTop网站**([https://codetop.cc](https://codetop.cc)),支持按**公司**、**部门**、**岗位**组合查询,方便大家高效检索题目。 5 | 6 | 相对于力扣官方企业题库,CodeTop有以下优点 7 | 8 | 1. 免费开放:汇总的高频题目免费分享给大家 9 | 2. 分类精细:按公司、部门1、岗位进行分类,方便大家更针对性地准备面试 10 | 3. 题源可靠:全网收录题目考察情况2,渠道不限于牛客、CSDN博客、热心网友分享等 11 | 4. 本土特色:汇总办公地位于中国大陆的互联网企业 12 | 13 | 注1:若想按部门查询题目,请在[CodeTop网站](http://codetop.cc)或CodeTop小程序查看
14 | 注2:为保证数据真实可信,[issues](https://github.com/afatcoder/LeetcodeTop/issues)中会声名了所有涉及的原文链接 15 | 16 | :speech_balloon:面试交流:若想加入大厂面试真题交流群,请在公众号「一个搬砖的胖子」后台回复「加群」,添加我的微信后即被拉群 17 | 18 | :blue_book:面经导航:我将汇总过的几千篇面经整理成大厂面经导航.xlsx,方便大家按公司、部门、岗位定位面经原文链接。目前已包括字节跳动、腾讯、美团等公司。公众号后台回复公司名称即可获取下载链接。 19 | 20 | ![公众号:一个搬砖的胖子](https://github.com/afatcoder/LeetcodeTop/blob/master/img/wechat.png) 21 | 22 | 23 | :information_source:数据来源:牛客网笔经面经,题目的原始文章链接已放在[issues](https://github.com/afatcoder/LeetcodeTop/issues)中 24 | 25 | :warning:使用本仓库的频度数据或转载文章,需注明本仓库地址!侵权必究! 26 | 27 | 28 | ## 字节跳动(更新至牛客2021.4.30的面经) 29 |
30 | 按岗位分类 31 | 32 | - [后端](https://github.com/afatcoder/LeetcodeTop/blob/master/bytedance/backend.md) 33 | - [算法](https://github.com/afatcoder/LeetcodeTop/blob/master/bytedance/algorithm.md) 34 | - [客户端](https://github.com/afatcoder/LeetcodeTop/blob/master/bytedance/client.md) 35 | - [前端](https://github.com/afatcoder/LeetcodeTop/blob/master/bytedance/frontend.md) 36 | - [测试](https://github.com/afatcoder/LeetcodeTop/blob/master/bytedance/test.md) 37 |
38 | 39 | ## 微软(更新至牛客2021.4.30的面经) 40 | - [SDE](https://github.com/afatcoder/LeetcodeTop/blob/master/microsoft/SDE.md) 41 | 42 | ## 美团(更新至牛客2021.4.23面经) 43 |
44 | 按岗位分类 45 | 46 | - [后端](https://github.com/afatcoder/LeetcodeTop/blob/master/meituan/backend.md) 47 | - [算法](https://github.com/afatcoder/LeetcodeTop/blob/master/meituan/algorithm.md) 48 | - [客户端](https://github.com/afatcoder/LeetcodeTop/blob/master/meituan/client.md) 49 | - [前端](https://github.com/afatcoder/LeetcodeTop/blob/master/meituan/frontend.md) 50 | - [测试](https://github.com/afatcoder/LeetcodeTop/blob/master/meituan/test.md) 51 | - [数据开发](https://github.com/afatcoder/LeetcodeTop/blob/master/meituan/data.md) 52 |
53 | 54 | ## 腾讯(更新至牛客2021.4.12的面经) 55 |
56 | 按岗位分类 57 | 58 | - [后端](https://github.com/afatcoder/LeetcodeTop/blob/master/tencent/backend.md) 59 | - [算法](https://github.com/afatcoder/LeetcodeTop/blob/master/tencent/algorithm.md) 60 | - [客户端](https://github.com/afatcoder/LeetcodeTop/blob/master/tencent/client.md) 61 | - [前端](https://github.com/afatcoder/LeetcodeTop/blob/master/tencent/frontend.md) 62 | - [测试](https://github.com/afatcoder/LeetcodeTop/blob/master/tencent/test.md) 63 |
64 | 65 | ## 猿辅导(更新至牛客3.5日的面经) 66 |
67 | 按岗位分类 68 | 69 | - [后端](https://github.com/afatcoder/LeetcodeTop/blob/master/yuanfudao/backend.md) 70 | - [算法](https://github.com/afatcoder/LeetcodeTop/blob/master/yuanfudao/algorithm.md) 71 | - [客户端](https://github.com/afatcoder/LeetcodeTop/blob/master/yuanfudao/client.md) 72 | - [前端](https://github.com/afatcoder/LeetcodeTop/blob/master/yuanfudao/frontend.md) 73 | - [测试](https://github.com/afatcoder/LeetcodeTop/blob/master/yuanfudao/test.md) 74 | - [数据开发](https://github.com/afatcoder/LeetcodeTop/blob/master/yuanfudao/data.md) 75 |
76 | 77 | ## 快手(更新至牛客3.5日的面经) 78 |
79 | 按岗位分类 80 | 81 | - [后端](https://github.com/afatcoder/LeetcodeTop/blob/master/kuaishou/backend.md) 82 | - [算法](https://github.com/afatcoder/LeetcodeTop/blob/master/kuaishou/algorithm.md) 83 | - [客户端](https://github.com/afatcoder/LeetcodeTop/blob/master/kuaishou/client.md) 84 | - [前端](https://github.com/afatcoder/LeetcodeTop/blob/master/kuaishou/frontend.md) 85 | - [测试](https://github.com/afatcoder/LeetcodeTop/blob/master/kuaishou/test.md) 86 | - [数据开发](https://github.com/afatcoder/LeetcodeTop/blob/master/kuaishou/data.md) 87 |
88 | 89 | 90 | ## 百度(更新至牛客8.7日的面经) 91 |
92 | 按岗位分类 93 | 94 | - [后端](https://github.com/afatcoder/LeetcodeTop/blob/master/baidu/backend.md) 95 | - [算法](https://github.com/afatcoder/LeetcodeTop/blob/master/baidu/algorithm.md) 96 | - [客户端](https://github.com/afatcoder/LeetcodeTop/blob/master/baidu/client.md) 97 | - [前端](https://github.com/afatcoder/LeetcodeTop/blob/master/baidu/frontend.md) 98 | - [测试](https://github.com/afatcoder/LeetcodeTop/blob/master/baidu/test.md) 99 |
100 | 101 | 102 | ## 阿里巴巴 103 |
104 | 按岗位分类 105 | 106 | - [后端](https://github.com/afatcoder/LeetcodeTop/blob/master/alibaba/backend.md) 107 | - [算法](https://github.com/afatcoder/LeetcodeTop/blob/master/alibaba/algorithm.md) 108 | - [客户端](https://github.com/afatcoder/LeetcodeTop/blob/master/alibaba/client.md) 109 | - [前端](https://github.com/afatcoder/LeetcodeTop/blob/master/alibaba/frontend.md) 110 | - [数据相关岗位](https://github.com/afatcoder/LeetcodeTop/blob/master/alibaba/data.md) 111 | - [测试](https://github.com/afatcoder/LeetcodeTop/blob/master/alibaba/test.md) 112 |
113 | 114 | ## 捐赠 115 | 如果你觉得本项目帮助到了你,你可以帮作者买一杯果汁表示鼓励🍹 116 | ![donate](https://i.ibb.co/n1f1ZfG/donate.png) 117 | 118 | -------------------------------------------------------------------------------- /bytedance/test.md: -------------------------------------------------------------------------------- 1 | # 测试 2 | 我开发的[CodeTop题库](https://codetop.cc)可以按照部门、难度筛选,比markdown更方便查询高频题 3 | 4 | |题目|出现次数|链接| 5 | |-|-|-| 6 | |3. 无重复字符的最长子串|21|https://leetcode-cn.com/problems/longest-substring-without-repeating-characters| 7 | |206. 反转链表|11|https://leetcode-cn.com/problems/reverse-linked-list| 8 | |169. 多数元素|11|https://leetcode-cn.com/problems/majority-element| 9 | |20. 有效的括号|10|https://leetcode-cn.com/problems/valid-parentheses| 10 | |1. 两数之和|8|https://leetcode-cn.com/problems/two-sum| 11 | |415. 字符串相加|8|https://leetcode-cn.com/problems/add-strings| 12 | |160. 相交链表|7|https://leetcode-cn.com/problems/intersection-of-two-linked-lists| 13 | |25. K 个一组翻转链表|6|https://leetcode-cn.com/problems/reverse-nodes-in-k-group| 14 | |239. 滑动窗口最大值|6|https://leetcode-cn.com/problems/sliding-window-maximum| 15 | |78. 子集|5|https://leetcode-cn.com/problems/subsets| 16 | |94. 二叉树的中序遍历|5|https://leetcode-cn.com/problems/binary-tree-inorder-traversal| 17 | |179. 最大数|5|https://leetcode-cn.com/problems/largest-number| 18 | |121. 买卖股票的最佳时机|5|https://leetcode-cn.com/problems/best-time-to-buy-and-sell-stock| 19 | |5. 最长回文子串|5|https://leetcode-cn.com/problems/longest-palindromic-substring| 20 | |141. 环形链表|5|https://leetcode-cn.com/problems/linked-list-cycle| 21 | |83. 删除排序链表中的重复元素|5|https://leetcode-cn.com/problems/remove-duplicates-from-sorted-list| 22 | |718. 最长重复子数组|5|https://leetcode-cn.com/problems/maximum-length-of-repeated-subarray| 23 | |64. 最小路径和|4|https://leetcode-cn.com/problems/minimum-path-sum| 24 | |142. 环形链表 II|4|https://leetcode-cn.com/problems/linked-list-cycle-ii| 25 | |剑指 Offer 61. 扑克牌中的顺子|4|https://leetcode-cn.com/problems/bu-ke-pai-zhong-de-shun-zi-lcof| 26 | |468. 验证IP地址|4|https://leetcode-cn.com/problems/validate-ip-address| 27 | |62. 不同路径|4|https://leetcode-cn.com/problems/unique-paths| 28 | |70. 爬楼梯|4|https://leetcode-cn.com/problems/climbing-stairs| 29 | |15. 三数之和|4|https://leetcode-cn.com/problems/3sum| 30 | |110. 平衡二叉树|4|https://leetcode-cn.com/problems/balanced-binary-tree| 31 | |1143. 最长公共子序列|4|https://leetcode-cn.com/problems/longest-common-subsequence| 32 | |21. 合并两个有序链表|4|https://leetcode-cn.com/problems/merge-two-sorted-lists| 33 | |39. 组合总和|4|https://leetcode-cn.com/problems/combination-sum| 34 | |14. 最长公共前缀|3|https://leetcode-cn.com/problems/longest-common-prefix| 35 | |剑指 Offer 21. 调整数组顺序使奇数位于偶数前面|3|https://leetcode-cn.com/problems/diao-zheng-shu-zu-shun-xu-shi-qi-shu-wei-yu-ou-shu-qian-mian-lcof| 36 | |215. 数组中的第K个最大元素|3|https://leetcode-cn.com/problems/kth-largest-element-in-an-array| 37 | |32. 最长有效括号|3|https://leetcode-cn.com/problems/longest-valid-parentheses| 38 | |26. 删除排序数组中的重复项|3|https://leetcode-cn.com/problems/remove-duplicates-from-sorted-array| 39 | |124. 二叉树中的最大路径和|3|https://leetcode-cn.com/problems/binary-tree-maximum-path-sum| 40 | |8. 字符串转换整数 (atoi)|3|https://leetcode-cn.com/problems/string-to-integer-atoi| 41 | |76. 最小覆盖子串|2|https://leetcode-cn.com/problems/minimum-window-substring| 42 | |146. LRU缓存机制|2|https://leetcode-cn.com/problems/lru-cache| 43 | |19. 删除链表的倒数第N个节点|2|https://leetcode-cn.com/problems/remove-nth-node-from-end-of-list| 44 | |543. 二叉树的直径|2|https://leetcode-cn.com/problems/diameter-of-binary-tree| 45 | |704. 二分查找|2|https://leetcode-cn.com/problems/binary-search| 46 | |240. 搜索二维矩阵 II|2|https://leetcode-cn.com/problems/search-a-2d-matrix-ii| 47 | |125. 验证回文串|2|https://leetcode-cn.com/problems/valid-palindrome| 48 | |268. 缺失数字|2|https://leetcode-cn.com/problems/missing-number| 49 | |42. 接雨水|2|https://leetcode-cn.com/problems/trapping-rain-water| 50 | |88. 合并两个有序数组|2|https://leetcode-cn.com/problems/merge-sorted-array| 51 | |242. 有效的字母异位词|2|https://leetcode-cn.com/problems/valid-anagram| 52 | |151. 翻转字符串里的单词|2|https://leetcode-cn.com/problems/reverse-words-in-a-string| 53 | |剑指 Offer 10- II. 青蛙跳台阶问题|2|https://leetcode-cn.com/problems/qing-wa-tiao-tai-jie-wen-ti-lcof| 54 | |56. 合并区间|2|https://leetcode-cn.com/problems/merge-intervals| 55 | |470. 用 Rand7() 实现 Rand10()|2|https://leetcode-cn.com/problems/implement-rand10-using-rand7| 56 | |93. 复原IP地址|2|https://leetcode-cn.com/problems/restore-ip-addresses| 57 | |283. 移动零|2|https://leetcode-cn.com/problems/move-zeroes| 58 | |补充题11. 翻转URL字符串里的单词|2|| 59 | |350. 两个数组的交集 II|1|https://leetcode-cn.com/problems/intersection-of-two-arrays-ii| 60 | |51. N皇后|1|https://leetcode-cn.com/problems/n-queens| 61 | |1201. 丑数 III|1|https://leetcode-cn.com/problems/ugly-number-iii| 62 | |344. 反转字符串|1|https://leetcode-cn.com/problems/reverse-string| 63 | |862. 和至少为 K 的最短子数组|1|https://leetcode-cn.com/problems/shortest-subarray-with-sum-at-least-k| 64 | |剑指 Offer 39. 数组中出现次数超过一半的数字|1|https://leetcode-cn.com/problems/shu-zu-zhong-chu-xian-ci-shu-chao-guo-yi-ban-de-shu-zi-lcof| 65 | |236. 二叉树的最近公共祖先|1|https://leetcode-cn.com/problems/lowest-common-ancestor-of-a-binary-tree| 66 | |9. 回文数|1|https://leetcode-cn.com/problems/palindrome-number| 67 | |405. 数字转换为十六进制数|1|https://leetcode-cn.com/problems/convert-a-number-to-hexadecimal| 68 | |200. 岛屿数量|1|https://leetcode-cn.com/problems/number-of-islands| 69 | |796. 旋转字符串|1|https://leetcode-cn.com/problems/rotate-string| 70 | |234. 回文链表|1|https://leetcode-cn.com/problems/palindrome-linked-list| 71 | |162. 寻找峰值|1|https://leetcode-cn.com/problems/find-peak-element| 72 | |41. 缺失的第一个正数|1|https://leetcode-cn.com/problems/first-missing-positive| 73 | |498. 对角线遍历|1|https://leetcode-cn.com/problems/diagonal-traverse| 74 | |49. 字母异位词分组|1|https://leetcode-cn.com/problems/group-anagrams| 75 | |79. 单词搜索|1|https://leetcode-cn.com/problems/word-search| 76 | |232. 用栈实现队列|1|https://leetcode-cn.com/problems/implement-queue-using-stacks| 77 | |97. 交错字符串|1|https://leetcode-cn.com/problems/interleaving-string| 78 | |198. 打家劫舍|1|https://leetcode-cn.com/problems/house-robber| 79 | |154. 寻找旋转排序数组中的最小值 II|1|https://leetcode-cn.com/problems/find-minimum-in-rotated-sorted-array-ii| 80 | |113. 路径总和 II|1|https://leetcode-cn.com/problems/path-sum-ii| 81 | |443. 压缩字符串|1|https://leetcode-cn.com/problems/string-compression| 82 | |680. 验证回文字符串 Ⅱ|1|https://leetcode-cn.com/problems/valid-palindrome-ii| 83 | |53. 最大子序和|1|https://leetcode-cn.com/problems/maximum-subarray| 84 | |300. 最长上升子序列|1|https://leetcode-cn.com/problems/longest-increasing-subsequence| 85 | |31. 下一个排列|1|https://leetcode-cn.com/problems/next-permutation| 86 | |剑指 Offer 22. 链表中倒数第k个节点|1|https://leetcode-cn.com/problems/lian-biao-zhong-dao-shu-di-kge-jie-dian-lcof| 87 | |224. 基本计算器|1|https://leetcode-cn.com/problems/basic-calculator| 88 | |122. 买卖股票的最佳时机 II|1|https://leetcode-cn.com/problems/best-time-to-buy-and-sell-stock-ii| 89 | |补充题1. 排序奇升偶降链表|1|https://mp.weixin.qq.com/s/377FfqvpY8NwMInhpoDgsw| 90 | |958. 二叉树的完全性检验|1|https://leetcode-cn.com/problems/check-completeness-of-a-binary-tree| 91 | |103. 二叉树的锯齿形层次遍历|1|https://leetcode-cn.com/problems/binary-tree-zigzag-level-order-traversal| 92 | |557. 反转字符串中的单词 III|1|https://leetcode-cn.com/problems/reverse-words-in-a-string-iii| 93 | |22. 括号生成|1|https://leetcode-cn.com/problems/generate-parentheses| 94 | |459. 重复的子字符串|1|https://leetcode-cn.com/problems/repeated-substring-pattern| 95 | |102. 二叉树的层序遍历|1|https://leetcode-cn.com/problems/binary-tree-level-order-traversal| 96 | |143. 重排链表|1|https://leetcode-cn.com/problems/reorder-list| 97 | |剑指 Offer 27. 二叉树的镜像|1|https://leetcode-cn.com/problems/er-cha-shu-de-jing-xiang-lcof| 98 | |补充题5. 手撕归并排序|1|https://leetcode-cn.com/problems/sort-an-array| 99 | |226. 翻转二叉树|1|https://leetcode-cn.com/problems/invert-binary-tree| 100 | |144. 二叉树的前序遍历|1|https://leetcode-cn.com/problems/binary-tree-preorder-traversal| 101 | |92. 反转链表 II|1|https://leetcode-cn.com/problems/reverse-linked-list-ii| 102 | |191. 位1的个数|1|https://leetcode-cn.com/problems/number-of-1-bits| 103 | |33. 搜索旋转排序数组|1|https://leetcode-cn.com/problems/search-in-rotated-sorted-array| 104 | |213. 打家劫舍 II|1|https://leetcode-cn.com/problems/house-robber-ii| 105 | |11. 盛最多水的容器|1|https://leetcode-cn.com/problems/container-with-most-water| 106 | |61. 旋转链表|1|https://leetcode-cn.com/problems/rotate-list| 107 | |18. 四数之和|1|https://leetcode-cn.com/problems/4sum| 108 | |2. 两数相加|1|https://leetcode-cn.com/problems/add-two-numbers| 109 | |剑指 Offer 62. 圆圈中最后剩下的数字|1|https://leetcode-cn.com/problems/yuan-quan-zhong-zui-hou-sheng-xia-de-shu-zi-lcof| 110 | |231. 2的幂|1|https://leetcode-cn.com/problems/power-of-two| 111 | |补充题4. 手撕快速排序|1|https://leetcode-cn.com/problems/sort-an-array| -------------------------------------------------------------------------------- /baidu/backend.md: -------------------------------------------------------------------------------- 1 | | 公司 | 岗位 | 题目 | 链接 | 频度 | 2 | |----|----|------------------------------|-----------------------------------------------------------------------------------------------------|----| 3 | | 百度 | 后端 | 102. 二叉树的层序遍历 | https://leetcode-cn.com/problems/binary-tree-level-order-traversal/ | 5 | 4 | | 百度 | 后端 | 206. 反转链表 | https://leetcode-cn.com/problems/reverse-linked-list/ | 4 | 5 | | 百度 | 后端 | 剑指 Offer 39. 数组中出现次数超过一半的数字 | https://leetcode-cn.com/problems/shu-zu-zhong-chu-xian-ci-shu-chao-guo-yi-ban-de-shu-zi-lcof/ | 3 | 6 | | 百度 | 后端 | 94. 二叉树的中序遍历 | https://leetcode-cn.com/problems/binary-tree-inorder-traversal/ | 3 | 7 | | 百度 | 后端 | 199. 二叉树的右视图 | https://leetcode-cn.com/problems/binary-tree-right-side-view/ | 3 | 8 | | 百度 | 后端 | 4. 寻找两个正序数组的中位数 | https://leetcode-cn.com/problems/median-of-two-sorted-arrays/ | 3 | 9 | | 百度 | 后端 | 146. LRU缓存机制 | https://leetcode-cn.com/problems/lru-cache/ | 3 | 10 | | 百度 | 后端 | 142. 环形链表 II | https://leetcode-cn.com/problems/linked-list-cycle-ii/solution/ | 3 | 11 | | 百度 | 后端 | 268. 缺失数字 | https://leetcode-cn.com/problems/missing-number/ | 2 | 12 | | 百度 | 后端 | 160. 相交链表 | https://leetcode-cn.com/problems/intersection-of-two-linked-lists/ | 2 | 13 | | 百度 | 后端 | 62. 不同路径 | https://leetcode-cn.com/problems/unique-paths/ | 2 | 14 | | 百度 | 后端 | 349. 两个数组的交集 | https://leetcode-cn.com/problems/intersection-of-two-arrays/ | 2 | 15 | | 百度 | 后端 | 19. 删除链表的倒数第N个节点 | https://leetcode-cn.com/problems/remove-nth-node-from-end-of-list/ | 2 | 16 | | 百度 | 后端 | 面试题 01.06. 字符串压缩 | https://leetcode-cn.com/problems/compress-string-lcci/ | 2 | 17 | | 百度 | 后端 | 104. 二叉树的最大深度 | https://leetcode-cn.com/problems/maximum-depth-of-binary-tree/ | 2 | 18 | | 百度 | 后端 | 20. 有效的括号 | https://leetcode-cn.com/problems/valid-parentheses/ | 2 | 19 | | 百度 | 后端 | 69. x 的平方根 | https://leetcode-cn.com/problems/sqrtx/ | 2 | 20 | | 百度 | 后端 | 449. 序列化和反序列化二叉搜索树 | https://leetcode-cn.com/problems/serialize-and-deserialize-bst/ | 1 | 21 | | 百度 | 后端 | 105. 从前序与中序遍历序列构造二叉树 | https://leetcode-cn.com/problems/construct-binary-tree-from-preorder-and-inorder-traversal/ | 1 | 22 | | 百度 | 后端 | 215. 数组中的第K个最大元素 | https://leetcode-cn.com/problems/kth-largest-element-in-an-array/ | 1 | 23 | | 百度 | 后端 | 191. 位1的个数 | https://leetcode-cn.com/problems/number-of-1-bits/ | 1 | 24 | | 百度 | 后端 | 43. 字符串相乘 | https://leetcode-cn.com/problems/multiply-strings/ | 1 | 25 | | 百度 | 后端 | 88. 合并两个有序数组 | https://leetcode-cn.com/problems/merge-sorted-array/ | 1 | 26 | | 百度 | 后端 | 3. 无重复字符的最长子串 | https://leetcode-cn.com/problems/longest-substring-without-repeating-characters/ | 1 | 27 | | 百度 | 后端 | 121. 买卖股票的最佳时机 | https://leetcode-cn.com/problems/best-time-to-buy-and-sell-stock/ | 1 | 28 | | 百度 | 后端 | 123. 买卖股票的最佳时机 III | https://leetcode-cn.com/problems/best-time-to-buy-and-sell-stock-iii/ | 1 | 29 | | 百度 | 后端 | 93. 复原IP地址 | https://leetcode-cn.com/problems/restore-ip-addresses/ | 1 | 30 | | 百度 | 后端 | 236. 二叉树的最近公共祖先 | https://leetcode-cn.com/problems/lowest-common-ancestor-of-a-binary-tree/ | 1 | 31 | | 百度 | 后端 | 110. 平衡二叉树 | https://leetcode-cn.com/problems/balanced-binary-tree/ | 1 | 32 | | 百度 | 后端 | 剑指 Offer 10- II. 青蛙跳台阶问题 | https://leetcode-cn.com/problems/qing-wa-tiao-tai-jie-wen-ti-lcof/ | 1 | 33 | | 百度 | 后端 | 55. 跳跃游戏 | https://leetcode-cn.com/problems/jump-game/ | 1 | 34 | | 百度 | 后端 | 剑指 Offer 48. 最长不含重复字符的子字符串 | https://leetcode-cn.com/problems/zui-chang-bu-han-zhong-fu-zi-fu-de-zi-zi-fu-chuan-lcof/ | 1 | 35 | | 百度 | 后端 | 15. 三数之和 | https://leetcode-cn.com/problems/3sum/ | 1 | 36 | | 百度 | 后端 | 剑指 Offer 42. 连续子数组的最大和 | https://leetcode-cn.com/problems/lian-xu-zi-shu-zu-de-zui-da-he-lcof/ | 1 | 37 | | 百度 | 后端 | 217. 存在重复元素 | https://leetcode-cn.com/problems/contains-duplicate/ | 1 | 38 | | 百度 | 后端 | 5. 最长回文子串 | https://leetcode-cn.com/problems/longest-palindromic-substring/ | 1 | 39 | | 百度 | 后端 | 468. 验证IP地址 | https://leetcode-cn.com/problems/validate-ip-address/ | 1 | 40 | | 百度 | 后端 | 46. 全排列 | https://leetcode-cn.com/problems/permutations/ | 1 | 41 | | 百度 | 后端 | 222. 完全二叉树的节点个数 | https://leetcode-cn.com/problems/count-complete-tree-nodes/ | 1 | 42 | | 百度 | 后端 | 1143. 最长公共子序列 | https://leetcode-cn.com/problems/longest-common-subsequence/ | 1 | 43 | | 百度 | 后端 | 72. 编辑距离 | https://leetcode-cn.com/problems/edit-distance/ | 1 | 44 | | 百度 | 后端 | 剑指 Offer 52. 两个链表的第一个公共节点 | https://leetcode-cn.com/problems/liang-ge-lian-biao-de-di-yi-ge-gong-gong-jie-dian-lcof/ | 1 | 45 | | 百度 | 后端 | 209. 长度最小的子数组 | https://leetcode-cn.com/problems/minimum-size-subarray-sum/ | 1 | 46 | | 百度 | 后端 | 151. 翻转字符串里的单词 | https://leetcode-cn.com/problems/reverse-words-in-a-string/ | 1 | 47 | | 百度 | 后端 | 9. 回文数 | https://leetcode.com/problems/palindrome-number/ | 1 | 48 | | 百度 | 后端 | 25. K 个一组翻转链表 | https://leetcode-cn.com/problems/reverse-nodes-in-k-group/ | 1 | 49 | | 百度 | 后端 | 面试题 16.01. 交换数字 | https://leetcode-cn.com/problems/swap-numbers-lcci/ | 1 | 50 | | 百度 | 后端 | 剑指 Offer 04. 二维数组中的查找 | https://leetcode-cn.com/problems/er-wei-shu-zu-zhong-de-cha-zhao-lcof/ | 1 | 51 | | 百度 | 后端 | 剑指 Offer 36. 二叉搜索树与双向链表 | https://leetcode-cn.com/problems/er-cha-sou-suo-shu-yu-shuang-xiang-lian-biao-lcof/ | 1 | 52 | | 百度 | 后端 | 剑指 Offer 21. 调整数组顺序使奇数位于偶数前面 | https://leetcode-cn.com/problems/diao-zheng-shu-zu-shun-xu-shi-qi-shu-wei-yu-ou-shu-qian-mian-lcof/ | 1 | 53 | | 百度 | 后端 | 141. 环形链表 | https://leetcode-cn.com/problems/linked-list-cycle/ | 1 | 54 | | 百度 | 后端 | 168. Excel表列名称 | https://leetcode-cn.com/problems/excel-sheet-column-title/ | 1 | 55 | | 百度 | 后端 | 148. 排序链表 | https://leetcode-cn.com/problems/sort-list/ | 1 | 56 | | 百度 | 后端 | 287. 寻找重复数 | https://leetcode-cn.com/problems/find-the-duplicate-number/ | 1 | 57 | | 百度 | 后端 | 1095. 山脉数组中查找目标值 | https://leetcode-cn.com/problems/find-in-mountain-array/ | 1 | 58 | -------------------------------------------------------------------------------- /bytedance/frontend.md: -------------------------------------------------------------------------------- 1 | # 前端 2 | 我开发的[CodeTop题库](https://codetop.cc)可以按照部门、难度筛选,比markdown更方便查询高频题 3 | 4 | |题目|出现次数|链接| 5 | |-|-|-| 6 | |88. 合并两个有序数组|16|https://leetcode-cn.com/problems/merge-sorted-array| 7 | |3. 无重复字符的最长子串|16|https://leetcode-cn.com/problems/longest-substring-without-repeating-characters| 8 | |129. 求根到叶子节点数字之和|12|https://leetcode-cn.com/problems/sum-root-to-leaf-numbers| 9 | |53. 最大子序和|12|https://leetcode-cn.com/problems/maximum-subarray| 10 | |215. 数组中的第K个最大元素|10|https://leetcode-cn.com/problems/kth-largest-element-in-an-array| 11 | |112. 路径总和|10|https://leetcode-cn.com/problems/path-sum| 12 | |1. 两数之和|10|https://leetcode-cn.com/problems/two-sum| 13 | |165. 比较版本号|9|https://leetcode-cn.com/problems/compare-version-numbers| 14 | |209. 长度最小的子数组|8|https://leetcode-cn.com/problems/minimum-size-subarray-sum| 15 | |415. 字符串相加|8|https://leetcode-cn.com/problems/add-strings| 16 | |剑指 Offer 22. 链表中倒数第k个节点|7|https://leetcode-cn.com/problems/lian-biao-zhong-dao-shu-di-kge-jie-dian-lcof| 17 | |206. 反转链表|7|https://leetcode-cn.com/problems/reverse-linked-list| 18 | |102. 二叉树的层序遍历|6|https://leetcode-cn.com/problems/binary-tree-level-order-traversal| 19 | |93. 复原IP地址|5|https://leetcode-cn.com/problems/restore-ip-addresses| 20 | |200. 岛屿数量|5|https://leetcode-cn.com/problems/number-of-islands| 21 | |70. 爬楼梯|5|https://leetcode-cn.com/problems/climbing-stairs| 22 | |230. 二叉搜索树中第K小的元素|5|https://leetcode-cn.com/problems/kth-smallest-element-in-a-bst| 23 | |141. 环形链表|5|https://leetcode-cn.com/problems/linked-list-cycle| 24 | |46. 全排列|5|https://leetcode-cn.com/problems/permutations| 25 | |429. N叉树的层序遍历|5|https://leetcode-cn.com/problems/n-ary-tree-level-order-traversal| 26 | |226. 翻转二叉树|4|https://leetcode-cn.com/problems/invert-binary-tree| 27 | |15. 三数之和|4|https://leetcode-cn.com/problems/3sum| 28 | |54. 螺旋矩阵|4|https://leetcode-cn.com/problems/spiral-matrix| 29 | |718. 最长重复子数组|4|https://leetcode-cn.com/problems/maximum-length-of-repeated-subarray| 30 | |160. 相交链表|4|https://leetcode-cn.com/problems/intersection-of-two-linked-lists| 31 | |695. 岛屿的最大面积|4|https://leetcode-cn.com/problems/max-area-of-island| 32 | |62. 不同路径|4|https://leetcode-cn.com/problems/unique-paths| 33 | |94. 二叉树的中序遍历|3|https://leetcode-cn.com/problems/binary-tree-inorder-traversal| 34 | |121. 买卖股票的最佳时机|3|https://leetcode-cn.com/problems/best-time-to-buy-and-sell-stock| 35 | |104. 二叉树的最大深度|3|https://leetcode-cn.com/problems/maximum-depth-of-binary-tree| 36 | |509. 斐波那契数|3|https://leetcode-cn.com/problems/fibonacci-number| 37 | |113. 路径总和 II|3|https://leetcode-cn.com/problems/path-sum-ii| 38 | |剑指 Offer 62. 圆圈中最后剩下的数字|3|https://leetcode-cn.com/problems/yuan-quan-zhong-zui-hou-sheng-xia-de-shu-zi-lcof| 39 | |20. 有效的括号|3|https://leetcode-cn.com/problems/valid-parentheses| 40 | |349. 两个数组的交集|3|https://leetcode-cn.com/problems/intersection-of-two-arrays| 41 | |5. 最长回文子串|3|https://leetcode-cn.com/problems/longest-palindromic-substring| 42 | |236. 二叉树的最近公共祖先|3|https://leetcode-cn.com/problems/lowest-common-ancestor-of-a-binary-tree| 43 | |394. 字符串解码|2|https://leetcode-cn.com/problems/decode-string| 44 | |19. 删除链表的倒数第N个节点|2|https://leetcode-cn.com/problems/remove-nth-node-from-end-of-list| 45 | |21. 合并两个有序链表|2|https://leetcode-cn.com/problems/merge-two-sorted-lists| 46 | |剑指 Offer 24. 反转链表|2|https://leetcode-cn.com/problems/fan-zhuan-lian-biao-lcof| 47 | |42. 接雨水|2|https://leetcode-cn.com/problems/trapping-rain-water| 48 | |155. 最小栈|2|https://leetcode-cn.com/problems/min-stack| 49 | |169. 多数元素|2|https://leetcode-cn.com/problems/majority-element| 50 | |剑指 Offer 21. 调整数组顺序使奇数位于偶数前面|2|https://leetcode-cn.com/problems/diao-zheng-shu-zu-shun-xu-shi-qi-shu-wei-yu-ou-shu-qian-mian-lcof| 51 | |144. 二叉树的前序遍历|2|https://leetcode-cn.com/problems/binary-tree-preorder-traversal| 52 | |198. 打家劫舍|2|https://leetcode-cn.com/problems/house-robber| 53 | |14. 最长公共前缀|2|https://leetcode-cn.com/problems/longest-common-prefix| 54 | |补充题3. 求区间最小数乘区间和的最大值|2|https://mp.weixin.qq.com/s/ABNN4lJpvttulwWaUTgYZQ| 55 | |199. 二叉树的右视图|2|https://leetcode-cn.com/problems/binary-tree-right-side-view| 56 | |剑指 Offer 09. 用两个栈实现队列|2|https://leetcode-cn.com/problems/yong-liang-ge-zhan-shi-xian-dui-lie-lcof| 57 | |56. 合并区间|2|https://leetcode-cn.com/problems/merge-intervals| 58 | |剑指 Offer 38. 字符串的排列|2|https://leetcode-cn.com/problems/zi-fu-chuan-de-pai-lie-lcof| 59 | |400. 第N个数字|2|https://leetcode-cn.com/problems/nth-digit| 60 | |101. 对称二叉树|2|https://leetcode-cn.com/problems/symmetric-tree| 61 | |146. LRU缓存机制|2|https://leetcode-cn.com/problems/lru-cache| 62 | |剑指 Offer 48. 最长不含重复字符的子字符串|1|https://leetcode-cn.com/problems/zui-chang-bu-han-zhong-fu-zi-fu-de-zi-zi-fu-chuan-lcof| 63 | |680. 验证回文字符串 Ⅱ|1|https://leetcode-cn.com/problems/valid-palindrome-ii| 64 | |322. 零钱兑换|1|https://leetcode-cn.com/problems/coin-change| 65 | |124. 二叉树中的最大路径和|1|https://leetcode-cn.com/problems/binary-tree-maximum-path-sum| 66 | |221. 最大正方形|1|https://leetcode-cn.com/problems/maximal-square| 67 | |98. 验证二叉搜索树|1|https://leetcode-cn.com/problems/validate-binary-search-tree| 68 | |1047. 删除字符串中的所有相邻重复项|1|https://leetcode-cn.com/problems/remove-all-adjacent-duplicates-in-string| 69 | |44. 通配符匹配|1|https://leetcode-cn.com/problems/wildcard-matching| 70 | |130. 被围绕的区域|1|https://leetcode-cn.com/problems/surrounded-regions| 71 | |16. 最接近的三数之和|1|https://leetcode-cn.com/problems/3sum-closest| 72 | |498. 对角线遍历|1|https://leetcode-cn.com/problems/diagonal-traverse| 73 | |224. 基本计算器|1|https://leetcode-cn.com/problems/basic-calculator| 74 | |227. 基本计算器 II|1|https://leetcode-cn.com/problems/basic-calculator-ii| 75 | |剑指 Offer 04. 二维数组中的查找|1|https://leetcode-cn.com/problems/er-wei-shu-zu-zhong-de-cha-zhao-lcof| 76 | |443. 压缩字符串|1|https://leetcode-cn.com/problems/string-compression| 77 | |142. 环形链表 II|1|https://leetcode-cn.com/problems/linked-list-cycle-ii| 78 | |984. 不含 AAA 或 BBB 的字符串|1|https://leetcode-cn.com/problems/string-without-aaa-or-bbb| 79 | |67. 二进制求和|1|https://leetcode-cn.com/problems/add-binary| 80 | |468. 验证IP地址|1|https://leetcode-cn.com/problems/validate-ip-address| 81 | |151. 翻转字符串里的单词|1|https://leetcode-cn.com/problems/reverse-words-in-a-string| 82 | |213. 打家劫舍 II|1|https://leetcode-cn.com/problems/house-robber-ii| 83 | |114. 二叉树展开为链表|1|https://leetcode-cn.com/problems/flatten-binary-tree-to-linked-list| 84 | |109. 有序链表转换二叉搜索树|1|https://leetcode-cn.com/problems/convert-sorted-list-to-binary-search-tree| 85 | |242. 有效的字母异位词|1|https://leetcode-cn.com/problems/valid-anagram| 86 | |862. 和至少为 K 的最短子数组|1|https://leetcode-cn.com/problems/shortest-subarray-with-sum-at-least-k| 87 | |31. 下一个排列|1|https://leetcode-cn.com/problems/next-permutation| 88 | |1498. 满足条件的子序列数目|1|https://leetcode-cn.com/problems/number-of-subsequences-that-satisfy-the-given-sum-condition| 89 | |257. 二叉树的所有路径|1|https://leetcode-cn.com/problems/binary-tree-paths| 90 | |63. 不同路径 II|1|https://leetcode-cn.com/problems/unique-paths-ii| 91 | |609. 在系统中查找重复文件|1|https://leetcode-cn.com/problems/find-duplicate-file-in-system| 92 | |232. 用栈实现队列|1|https://leetcode-cn.com/problems/implement-queue-using-stacks| 93 | |39. 组合总和|1|https://leetcode-cn.com/problems/combination-sum| 94 | |剑指 Offer 10- I. 斐波那契数列|1|https://leetcode-cn.com/problems/fei-bo-na-qi-shu-lie-lcof| 95 | |361. 轰炸敌人|1|https://leetcode-cn.com/problems/bomb-enemy| 96 | |525. 连续数组|1|https://leetcode-cn.com/problems/contiguous-array| 97 | |96. 不同的二叉搜索树|1|https://leetcode-cn.com/problems/unique-binary-search-trees| 98 | |103. 二叉树的锯齿形层次遍历|1|https://leetcode-cn.com/problems/binary-tree-zigzag-level-order-traversal| 99 | |717. 1比特与2比特字符|1|https://leetcode-cn.com/problems/1-bit-and-2-bit-characters| 100 | |300. 最长上升子序列|1|https://leetcode-cn.com/problems/longest-increasing-subsequence| 101 | |1353. 最多可以参加的会议数目|1|https://leetcode-cn.com/problems/maximum-number-of-events-that-can-be-attended| 102 | |剑指 Offer 63. 股票的最大利润|1|https://leetcode-cn.com/problems/gu-piao-de-zui-da-li-run-lcof| 103 | |剑指 Offer 27. 二叉树的镜像|1|https://leetcode-cn.com/problems/er-cha-shu-de-jing-xiang-lcof| 104 | |LCP 04. 覆盖|1|https://leetcode-cn.com/problems/broken-board-dominoes| 105 | |剑指 Offer 39. 数组中出现次数超过一半的数字|1|https://leetcode-cn.com/problems/shu-zu-zhong-chu-xian-ci-shu-chao-guo-yi-ban-de-shu-zi-lcof| 106 | |剑指 Offer 07. 重建二叉树|1|https://leetcode-cn.com/problems/zhong-jian-er-cha-shu-lcof| 107 | |补充题14. 阿拉伯数字转中文数字|1|| 108 | |829. 连续整数求和|1|https://leetcode-cn.com/problems/consecutive-numbers-sum| 109 | |1356. 根据数字二进制下 1 的数目排序|1|https://leetcode-cn.com/problems/sort-integers-by-the-number-of-1-bits| 110 | |6. Z 字形变换|1|https://leetcode-cn.com/problems/zigzag-conversion| 111 | |704. 二分查找|1|https://leetcode-cn.com/problems/binary-search| 112 | |111. 二叉树的最小深度|1|https://leetcode-cn.com/problems/minimum-depth-of-binary-tree| 113 | |105. 从前序与中序遍历序列构造二叉树|1|https://leetcode-cn.com/problems/construct-binary-tree-from-preorder-and-inorder-traversal| -------------------------------------------------------------------------------- /bytedance/algorithm.md: -------------------------------------------------------------------------------- 1 | # 算法 2 | 我开发的[CodeTop题库](https://codetop.cc)可以按照部门、难度筛选,比markdown更方便查询高频题 3 | 4 | |题目|出现次数|链接| 5 | |-|-|-| 6 | |72. 编辑距离|8|https://leetcode-cn.com/problems/edit-distance| 7 | |300. 最长上升子序列|6|https://leetcode-cn.com/problems/longest-increasing-subsequence| 8 | |103. 二叉树的锯齿形层次遍历|5|https://leetcode-cn.com/problems/binary-tree-zigzag-level-order-traversal| 9 | |215. 数组中的第K个最大元素|4|https://leetcode-cn.com/problems/kth-largest-element-in-an-array| 10 | |33. 搜索旋转排序数组|3|https://leetcode-cn.com/problems/search-in-rotated-sorted-array| 11 | |200. 岛屿数量|3|https://leetcode-cn.com/problems/number-of-islands| 12 | |4. 寻找两个正序数组的中位数|3|https://leetcode-cn.com/problems/median-of-two-sorted-arrays| 13 | |240. 搜索二维矩阵 II|3|https://leetcode-cn.com/problems/search-a-2d-matrix-ii| 14 | |102. 二叉树的层序遍历|3|https://leetcode-cn.com/problems/binary-tree-level-order-traversal| 15 | |236. 二叉树的最近公共祖先|3|https://leetcode-cn.com/problems/lowest-common-ancestor-of-a-binary-tree| 16 | |64. 最小路径和|3|https://leetcode-cn.com/problems/minimum-path-sum| 17 | |15. 三数之和|3|https://leetcode-cn.com/problems/3sum| 18 | |394. 字符串解码|3|https://leetcode-cn.com/problems/decode-string| 19 | |110. 平衡二叉树|2|https://leetcode-cn.com/problems/balanced-binary-tree| 20 | |3. 无重复字符的最长子串|2|https://leetcode-cn.com/problems/longest-substring-without-repeating-characters| 21 | |572. 另一个树的子树|2|https://leetcode-cn.com/problems/subtree-of-another-tree| 22 | |23. 合并K个排序链表|2|https://leetcode-cn.com/problems/merge-k-sorted-lists| 23 | |1. 两数之和|2|https://leetcode-cn.com/problems/two-sum| 24 | |剑指 Offer 29. 顺时针打印矩阵|2|https://leetcode-cn.com/problems/shun-shi-zhen-da-yin-ju-zhen-lcof| 25 | |695. 岛屿的最大面积|2|https://leetcode-cn.com/problems/max-area-of-island| 26 | |105. 从前序与中序遍历序列构造二叉树|2|https://leetcode-cn.com/problems/construct-binary-tree-from-preorder-and-inorder-traversal| 27 | |88. 合并两个有序数组|2|https://leetcode-cn.com/problems/merge-sorted-array| 28 | |152. 乘积最大子数组|2|https://leetcode-cn.com/problems/maximum-product-subarray| 29 | |70. 爬楼梯|2|https://leetcode-cn.com/problems/climbing-stairs| 30 | |49. 字母异位词分组|2|https://leetcode-cn.com/problems/group-anagrams| 31 | |209. 长度最小的子数组|2|https://leetcode-cn.com/problems/minimum-size-subarray-sum| 32 | |48. 旋转图像|2|https://leetcode-cn.com/problems/rotate-image| 33 | |85. 最大矩形|2|https://leetcode-cn.com/problems/maximal-rectangle| 34 | |287. 寻找重复数|2|https://leetcode-cn.com/problems/find-the-duplicate-number| 35 | |5. 最长回文子串|2|https://leetcode-cn.com/problems/longest-palindromic-substring| 36 | |46. 全排列|2|https://leetcode-cn.com/problems/permutations| 37 | |剑指 Offer 51. 数组中的逆序对|2|https://leetcode-cn.com/problems/shu-zu-zhong-de-ni-xu-dui-lcof| 38 | |143. 重排链表|2|https://leetcode-cn.com/problems/reorder-list| 39 | |239. 滑动窗口最大值|2|https://leetcode-cn.com/problems/sliding-window-maximum| 40 | |238. 除自身以外数组的乘积|2|https://leetcode-cn.com/problems/product-of-array-except-self| 41 | |121. 买卖股票的最佳时机|2|https://leetcode-cn.com/problems/best-time-to-buy-and-sell-stock| 42 | |补充题4. 手撕快速排序|2|https://leetcode-cn.com/problems/sort-an-array| 43 | |415. 字符串相加|2|https://leetcode-cn.com/problems/add-strings| 44 | |69. x 的平方根|2|https://leetcode-cn.com/problems/sqrtx| 45 | |104. 二叉树的最大深度|1|https://leetcode-cn.com/problems/maximum-depth-of-binary-tree| 46 | |160. 相交链表|1|https://leetcode-cn.com/problems/intersection-of-two-linked-lists| 47 | |636. 函数的独占时间|1|https://leetcode-cn.com/problems/exclusive-time-of-functions| 48 | |297. 二叉树的序列化与反序列化|1|https://leetcode-cn.com/problems/serialize-and-deserialize-binary-tree| 49 | |814. 二叉树剪枝|1|https://leetcode-cn.com/problems/binary-tree-pruning| 50 | |445. 两数相加 II|1|https://leetcode-cn.com/problems/add-two-numbers-ii| 51 | |2. 两数相加|1|https://leetcode-cn.com/problems/add-two-numbers| 52 | |62. 不同路径|1|https://leetcode-cn.com/problems/unique-paths| 53 | |63. 不同路径 II|1|https://leetcode-cn.com/problems/unique-paths-ii| 54 | |509. 斐波那契数|1|https://leetcode-cn.com/problems/fibonacci-number| 55 | |128. 最长连续序列|1|https://leetcode-cn.com/problems/longest-consecutive-sequence| 56 | |20. 有效的括号|1|https://leetcode-cn.com/problems/valid-parentheses| 57 | |206. 反转链表|1|https://leetcode-cn.com/problems/reverse-linked-list| 58 | |264. 丑数 II|1|https://leetcode-cn.com/problems/ugly-number-ii| 59 | |437. 路径总和 III|1|https://leetcode-cn.com/problems/path-sum-iii| 60 | |560. 和为K的子数组|1|https://leetcode-cn.com/problems/subarray-sum-equals-k| 61 | |169. 多数元素|1|https://leetcode-cn.com/problems/majority-element| 62 | |142. 环形链表 II|1|https://leetcode-cn.com/problems/linked-list-cycle-ii| 63 | |255. 验证前序遍历序列二叉搜索树|1|https://leetcode-cn.com/problems/verify-preorder-sequence-in-binary-search-tree| 64 | |剑指 Offer 09. 用两个栈实现队列|1|https://leetcode-cn.com/problems/yong-liang-ge-zhan-shi-xian-dui-lie-lcof| 65 | |124. 二叉树中的最大路径和|1|https://leetcode-cn.com/problems/binary-tree-maximum-path-sum| 66 | |剑指 Offer 54. 二叉搜索树的第k大节点|1|https://leetcode-cn.com/problems/er-cha-sou-suo-shu-de-di-kda-jie-dian-lcof| 67 | |518. 零钱兑换 II|1|https://leetcode-cn.com/problems/coin-change-2| 68 | |剑指 Offer 36. 二叉搜索树与双向链表|1|https://leetcode-cn.com/problems/er-cha-sou-suo-shu-yu-shuang-xiang-lian-biao-lcof| 69 | |50. Pow(x, n)|1|https://leetcode-cn.com/problems/powx-n| 70 | |122. 买卖股票的最佳时机 II|1|https://leetcode-cn.com/problems/best-time-to-buy-and-sell-stock-ii| 71 | |179. 最大数|1|https://leetcode-cn.com/problems/largest-number| 72 | |807. 保持城市天际线|1|https://leetcode-cn.com/problems/max-increase-to-keep-city-skyline| 73 | |123. 买卖股票的最佳时机 III|1|https://leetcode-cn.com/problems/best-time-to-buy-and-sell-stock-iii| 74 | |315. 计算右侧小于当前元素的个数|1|https://leetcode-cn.com/problems/count-of-smaller-numbers-after-self| 75 | |1363. 形成三的最大倍数|1|https://leetcode-cn.com/problems/largest-multiple-of-three| 76 | |376. 摆动序列|1|https://leetcode-cn.com/problems/wiggle-subsequence| 77 | |25. K 个一组翻转链表|1|https://leetcode-cn.com/problems/reverse-nodes-in-k-group| 78 | |1143. 最长公共子序列|1|https://leetcode-cn.com/problems/longest-common-subsequence| 79 | |32. 最长有效括号|1|https://leetcode-cn.com/problems/longest-valid-parentheses| 80 | |718. 最长重复子数组|1|https://leetcode-cn.com/problems/maximum-length-of-repeated-subarray| 81 | |440. 字典序的第K小数字|1|https://leetcode-cn.com/problems/k-th-smallest-in-lexicographical-order| 82 | |334. 递增的三元子序列|1|https://leetcode-cn.com/problems/increasing-triplet-subsequence| 83 | |582. 杀死进程|1|https://leetcode-cn.com/problems/kill-process| 84 | |面试题 16.03. 交点|1|https://leetcode-cn.com/problems/intersection-lcci| 85 | |96. 不同的二叉搜索树|1|https://leetcode-cn.com/problems/unique-binary-search-trees| 86 | |41. 缺失的第一个正数|1|https://leetcode-cn.com/problems/first-missing-positive| 87 | |403. 青蛙过河|1|https://leetcode-cn.com/problems/frog-jump| 88 | |129. 求根到叶子节点数字之和|1|https://leetcode-cn.com/problems/sum-root-to-leaf-numbers| 89 | |726. 原子的数量|1|https://leetcode-cn.com/problems/number-of-atoms| 90 | |剑指 Offer 10- I. 斐波那契数列|1|https://leetcode-cn.com/problems/fei-bo-na-qi-shu-lie-lcof| 91 | |405. 数字转换为十六进制数|1|https://leetcode-cn.com/problems/convert-a-number-to-hexadecimal| 92 | |1420. 生成数组|1|https://leetcode-cn.com/problems/build-array-where-you-can-find-the-maximum-exactly-k-comparisons| 93 | |42. 接雨水|1|https://leetcode-cn.com/problems/trapping-rain-water| 94 | |306. 累加数|1|https://leetcode-cn.com/problems/additive-number| 95 | |98. 验证二叉搜索树|1|https://leetcode-cn.com/problems/validate-binary-search-tree| 96 | |221. 最大正方形|1|https://leetcode-cn.com/problems/maximal-square| 97 | |227. 基本计算器 II|1|https://leetcode-cn.com/problems/basic-calculator-ii| 98 | |1505. 最多 K 次交换相邻数位后得到的最小整数|1|https://leetcode-cn.com/problems/minimum-possible-integer-after-at-most-k-adjacent-swaps-on-digits| 99 | |632. 最小区间|1|https://leetcode-cn.com/problems/smallest-range-covering-elements-from-k-lists| 100 | |871. 最低加油次数|1|https://leetcode-cn.com/problems/minimum-number-of-refueling-stops| 101 | |107. 二叉树的层次遍历 II|1|https://leetcode-cn.com/problems/binary-tree-level-order-traversal-ii| 102 | |407. 接雨水 II|1|https://leetcode-cn.com/problems/trapping-rain-water-ii| 103 | |199. 二叉树的右视图|1|https://leetcode-cn.com/problems/binary-tree-right-side-view| 104 | |84. 柱状图中最大的矩形|1|https://leetcode-cn.com/problems/largest-rectangle-in-histogram| 105 | |74. 搜索二维矩阵|1|https://leetcode-cn.com/problems/search-a-2d-matrix| 106 | |329. 矩阵中的最长递增路径|1|https://leetcode-cn.com/problems/longest-increasing-path-in-a-matrix| 107 | |172. 阶乘后的零|1|https://leetcode-cn.com/problems/factorial-trailing-zeroes| 108 | |153. 寻找旋转排序数组中的最小值|1|https://leetcode-cn.com/problems/find-minimum-in-rotated-sorted-array| 109 | |432. 全 O(1) 的数据结构|1|https://leetcode-cn.com/problems/all-oone-data-structure| 110 | |470. 用 Rand7() 实现 Rand10()|1|https://leetcode-cn.com/problems/implement-rand10-using-rand7| 111 | |164. 最大间距|1|https://leetcode-cn.com/problems/maximum-gap| 112 | |94. 二叉树的中序遍历|1|https://leetcode-cn.com/problems/binary-tree-inorder-traversal| 113 | |剑指 Offer 62. 圆圈中最后剩下的数字|1|https://leetcode-cn.com/problems/yuan-quan-zhong-zui-hou-sheng-xia-de-shu-zi-lcof| -------------------------------------------------------------------------------- /kuaishou/backend.md: -------------------------------------------------------------------------------- 1 | # 后端 2 | |题目|出现次数|链接| 3 | |-|-|-| 4 | |206. 反转链表|15|https://leetcode-cn.com/problems/reverse-linked-list| 5 | |160. 相交链表|8|https://leetcode-cn.com/problems/intersection-of-two-linked-lists| 6 | |补充题4. 手撕快速排序|7|| 7 | |146. LRU缓存机制|7|https://leetcode-cn.com/problems/lru-cache| 8 | |21. 合并两个有序链表|7|https://leetcode-cn.com/problems/merge-two-sorted-lists| 9 | |215. 数组中的第K个最大元素|7|https://leetcode-cn.com/problems/kth-largest-element-in-an-array| 10 | |88. 合并两个有序数组|6|https://leetcode-cn.com/problems/merge-sorted-array| 11 | |141. 环形链表|5|https://leetcode-cn.com/problems/linked-list-cycle| 12 | |92. 反转链表 II|5|https://leetcode-cn.com/problems/reverse-linked-list-ii| 13 | |151. 翻转字符串里的单词|5|https://leetcode-cn.com/problems/reverse-words-in-a-string| 14 | |2. 两数相加|5|https://leetcode-cn.com/problems/add-two-numbers| 15 | |3. 无重复字符的最长子串|5|https://leetcode-cn.com/problems/longest-substring-without-repeating-characters| 16 | |155. 最小栈|4|https://leetcode-cn.com/problems/min-stack| 17 | |144. 二叉树的前序遍历|4|https://leetcode-cn.com/problems/binary-tree-preorder-traversal| 18 | |136. 只出现一次的数字|4|https://leetcode-cn.com/problems/single-number| 19 | |34. 在排序数组中查找元素的第一个和最后一个位置|4|https://leetcode-cn.com/problems/find-first-and-last-position-of-element-in-sorted-array| 20 | |20. 有效的括号|4|https://leetcode-cn.com/problems/valid-parentheses| 21 | |148. 排序链表|4|https://leetcode-cn.com/problems/sort-list| 22 | |24. 两两交换链表中的节点|4|https://leetcode-cn.com/problems/swap-nodes-in-pairs| 23 | |415. 字符串相加|4|https://leetcode-cn.com/problems/add-strings| 24 | |142. 环形链表 II|3|https://leetcode-cn.com/problems/linked-list-cycle-ii| 25 | |46. 全排列|3|https://leetcode-cn.com/problems/permutations| 26 | |剑指 Offer 10- II. 青蛙跳台阶问题|3|https://leetcode-cn.com/problems/qing-wa-tiao-tai-jie-wen-ti-lcof| 27 | |剑指 Offer 22. 链表中倒数第k个节点|3|https://leetcode-cn.com/problems/lian-biao-zhong-dao-shu-di-kge-jie-dian-lcof| 28 | |150. 逆波兰表达式求值|3|https://leetcode-cn.com/problems/evaluate-reverse-polish-notation| 29 | |94. 二叉树的中序遍历|3|https://leetcode-cn.com/problems/binary-tree-inorder-traversal| 30 | |128. 最长连续序列|3|https://leetcode-cn.com/problems/longest-consecutive-sequence| 31 | |补充题8. 计算数组的小和|3|https://mp.weixin.qq.com/s/0ih4W6nawzFUPSj3GOnYTQ| 32 | |121. 买卖股票的最佳时机|3|https://leetcode-cn.com/problems/best-time-to-buy-and-sell-stock| 33 | |补充题5. 手撕归并排序|3|| 34 | |69. x 的平方根|3|https://leetcode-cn.com/problems/sqrtx| 35 | |103. 二叉树的锯齿形层次遍历|3|https://leetcode-cn.com/problems/binary-tree-zigzag-level-order-traversal| 36 | |102. 二叉树的层序遍历|3|https://leetcode-cn.com/problems/binary-tree-level-order-traversal| 37 | |剑指 Offer 51. 数组中的逆序对|3|https://leetcode-cn.com/problems/shu-zu-zhong-de-ni-xu-dui-lcof| 38 | |剑指 Offer 21. 调整数组顺序使奇数位于偶数前面|3|https://leetcode-cn.com/problems/diao-zheng-shu-zu-shun-xu-shi-qi-shu-wei-yu-ou-shu-qian-mian-lcof| 39 | |76. 最小覆盖子串|3|https://leetcode-cn.com/problems/minimum-window-substring| 40 | |15. 三数之和|2|https://leetcode-cn.com/problems/3sum| 41 | |145. 二叉树的后序遍历|2|https://leetcode-cn.com/problems/binary-tree-postorder-traversal| 42 | |543. 二叉树的直径|2|https://leetcode-cn.com/problems/diameter-of-binary-tree| 43 | |845. 数组中的最长山脉|2|https://leetcode-cn.com/problems/longest-mountain-in-array| 44 | |剑指 Offer 18. 删除链表的节点|2|https://leetcode-cn.com/problems/shan-chu-lian-biao-de-jie-dian-lcof| 45 | |1143. 最长公共子序列|2|https://leetcode-cn.com/problems/longest-common-subsequence| 46 | |剑指 Offer 19. 正则表达式匹配|2|https://leetcode-cn.com/problems/zheng-ze-biao-da-shi-pi-pei-lcof| 47 | |509. 斐波那契数|2|https://leetcode-cn.com/problems/fibonacci-number| 48 | |226. 翻转二叉树|2|https://leetcode-cn.com/problems/invert-binary-tree| 49 | |93. 复原IP地址|2|https://leetcode-cn.com/problems/restore-ip-addresses| 50 | |1047. 删除字符串中的所有相邻重复项|2|https://leetcode-cn.com/problems/remove-all-adjacent-duplicates-in-string| 51 | |43. 字符串相乘|2|https://leetcode-cn.com/problems/multiply-strings| 52 | |113. 路径总和 II|2|https://leetcode-cn.com/problems/path-sum-ii| 53 | |718. 最长重复子数组|2|https://leetcode-cn.com/problems/maximum-length-of-repeated-subarray| 54 | |剑指 Offer 55 - I. 二叉树的深度|2|https://leetcode-cn.com/problems/er-cha-shu-de-shen-du-lcof| 55 | |78. 子集|2|https://leetcode-cn.com/problems/subsets| 56 | |498. 对角线遍历|2|https://leetcode-cn.com/problems/diagonal-traverse| 57 | |122. 买卖股票的最佳时机 II|2|https://leetcode-cn.com/problems/best-time-to-buy-and-sell-stock-ii| 58 | |剑指 Offer 36. 二叉搜索树与双向链表|2|https://leetcode-cn.com/problems/er-cha-sou-suo-shu-yu-shuang-xiang-lian-biao-lcof| 59 | |200. 岛屿数量|2|https://leetcode-cn.com/problems/number-of-islands| 60 | |33. 搜索旋转排序数组|2|https://leetcode-cn.com/problems/search-in-rotated-sorted-array| 61 | |54. 螺旋矩阵|2|https://leetcode-cn.com/problems/spiral-matrix| 62 | |225. 用队列实现栈|2|https://leetcode-cn.com/problems/implement-stack-using-queues| 63 | |23. 合并K个排序链表|2|https://leetcode-cn.com/problems/merge-k-sorted-lists| 64 | |104. 二叉树的最大深度|2|https://leetcode-cn.com/problems/maximum-depth-of-binary-tree| 65 | |318. 最大单词长度乘积|1|https://leetcode-cn.com/problems/maximum-product-of-word-lengths| 66 | |321. 拼接最大数|1|https://leetcode-cn.com/problems/create-maximum-number| 67 | |面试题 17.01. 不用加号的加法|1|https://leetcode-cn.com/problems/add-without-plus-lcci| 68 | |468. 验证IP地址|1|https://leetcode-cn.com/problems/validate-ip-address| 69 | |16. 最接近的三数之和|1|https://leetcode-cn.com/problems/3sum-closest| 70 | |239. 滑动窗口最大值|1|https://leetcode-cn.com/problems/sliding-window-maximum| 71 | |470. 用 Rand7() 实现 Rand10()|1|https://leetcode-cn.com/problems/implement-rand10-using-rand7| 72 | |8. 字符串转换整数 (atoi)|1|https://leetcode-cn.com/problems/string-to-integer-atoi| 73 | |剑指 Offer 24. 反转链表|1|https://leetcode-cn.com/problems/fan-zhuan-lian-biao-lcof| 74 | |67. 二进制求和|1|https://leetcode-cn.com/problems/add-binary| 75 | |450. 删除二叉搜索树中的节点|1|https://leetcode-cn.com/problems/delete-node-in-a-bst| 76 | |322. 零钱兑换|1|https://leetcode-cn.com/problems/coin-change| 77 | |220. 存在重复元素 III|1|https://leetcode-cn.com/problems/contains-duplicate-iii| 78 | |剑指 Offer 04. 二维数组中的查找|1|https://leetcode-cn.com/problems/er-wei-shu-zu-zhong-de-cha-zhao-lcof| 79 | |48. 旋转图像|1|https://leetcode-cn.com/problems/rotate-image| 80 | |337. 打家劫舍 III|1|https://leetcode-cn.com/problems/house-robber-iii| 81 | |191. 位1的个数|1|https://leetcode-cn.com/problems/number-of-1-bits| 82 | |22. 括号生成|1|https://leetcode-cn.com/problems/generate-parentheses| 83 | |5. 最长回文子串|1|https://leetcode-cn.com/problems/longest-palindromic-substring| 84 | |224. 基本计算器|1|https://leetcode-cn.com/problems/basic-calculator| 85 | |701. 二叉搜索树中的插入操作|1|https://leetcode-cn.com/problems/insert-into-a-binary-search-tree| 86 | |111. 二叉树的最小深度|1|https://leetcode-cn.com/problems/minimum-depth-of-binary-tree| 87 | |110. 平衡二叉树|1|https://leetcode-cn.com/problems/balanced-binary-tree| 88 | |210. 课程表 II|1|https://leetcode-cn.com/problems/course-schedule-ii| 89 | |480. 滑动窗口中位数|1|https://leetcode-cn.com/problems/sliding-window-median| 90 | |137. 只出现一次的数字 II|1|https://leetcode-cn.com/problems/single-number-ii| 91 | |剑指 Offer 41. 数据流中的中位数|1|https://leetcode-cn.com/problems/shu-ju-liu-zhong-de-zhong-wei-shu-lcof| 92 | |42. 接雨水|1|https://leetcode-cn.com/problems/trapping-rain-water| 93 | |82. 删除排序链表中的重复元素 II|1|https://leetcode-cn.com/problems/remove-duplicates-from-sorted-list-ii| 94 | |230. 二叉搜索树中第K小的元素|1|https://leetcode-cn.com/problems/kth-smallest-element-in-a-bst| 95 | |剑指 Offer 10- I. 斐波那契数列|1|https://leetcode-cn.com/problems/fei-bo-na-qi-shu-lie-lcof| 96 | |169. 多数元素|1|https://leetcode-cn.com/problems/majority-element| 97 | |59. 螺旋矩阵 II|1|https://leetcode-cn.com/problems/spiral-matrix-ii| 98 | |74. 搜索二维矩阵|1|https://leetcode-cn.com/problems/search-a-2d-matrix| 99 | |236. 二叉树的最近公共祖先|1|https://leetcode-cn.com/problems/lowest-common-ancestor-of-a-binary-tree| 100 | |1. 两数之和|1|https://leetcode-cn.com/problems/two-sum| 101 | |75. 颜色分类|1|https://leetcode-cn.com/problems/sort-colors| 102 | |207. 课程表|1|https://leetcode-cn.com/problems/course-schedule| 103 | |64. 最小路径和|1|https://leetcode-cn.com/problems/minimum-path-sum| 104 | |1156. 单字符重复子串的最大长度|1|https://leetcode-cn.com/problems/swap-for-longest-repeated-character-substring| 105 | |剑指 Offer 43. 1~n整数中1出现的次数|1|https://leetcode-cn.com/problems/1nzheng-shu-zhong-1chu-xian-de-ci-shu-lcof| 106 | |14. 最长公共前缀|1|https://leetcode-cn.com/problems/longest-common-prefix| 107 | |面试题 16.06. 最小差|1|https://leetcode-cn.com/problems/smallest-difference-lcci| 108 | |1493. 删掉一个元素以后全为 1 的最长子数组|1|https://leetcode-cn.com/problems/longest-subarray-of-1s-after-deleting-one-element| 109 | |剑指 Offer 09. 用两个栈实现队列|1|https://leetcode-cn.com/problems/yong-liang-ge-zhan-shi-xian-dui-lie-lcof| 110 | |1027. 最长等差数列|1|https://leetcode-cn.com/problems/longest-arithmetic-subsequence| 111 | |1464. 数组中两元素的最大乘积|1|https://leetcode-cn.com/problems/maximum-product-of-two-elements-in-an-array| 112 | |235. 二叉搜索树的最近公共祖先|1|https://leetcode-cn.com/problems/lowest-common-ancestor-of-a-binary-search-tree| 113 | |204. 计数质数|1|https://leetcode-cn.com/problems/count-primes| 114 | |83. 删除排序链表中的重复元素|1|https://leetcode-cn.com/problems/remove-duplicates-from-sorted-list| 115 | |958. 二叉树的完全性检验|1|https://leetcode-cn.com/problems/check-completeness-of-a-binary-tree| 116 | |312. 戳气球|1|https://leetcode-cn.com/problems/burst-balloons| 117 | |剑指 Offer 25. 合并两个排序的链表|1|https://leetcode-cn.com/problems/he-bing-liang-ge-pai-xu-de-lian-biao-lcof| 118 | |9. 回文数|1|https://leetcode-cn.com/problems/palindrome-number| 119 | |25. K 个一组翻转链表|1|https://leetcode-cn.com/problems/reverse-nodes-in-k-group| 120 | |199. 二叉树的右视图|1|https://leetcode-cn.com/problems/binary-tree-right-side-view| 121 | |240. 搜索二维矩阵 II|1|https://leetcode-cn.com/problems/search-a-2d-matrix-ii| 122 | |1312. 让字符串成为回文串的最少插入次数|1|https://leetcode-cn.com/problems/minimum-insertion-steps-to-make-a-string-palindrome| 123 | |6. Z 字形变换|1|https://leetcode-cn.com/problems/zigzag-conversion| 124 | |189. 旋转数组|1|https://leetcode-cn.com/problems/rotate-array| 125 | |19. 删除链表的倒数第N个节点|1|https://leetcode-cn.com/problems/remove-nth-node-from-end-of-list| 126 | |53. 最大子序和|1|https://leetcode-cn.com/problems/maximum-subarray| 127 | |232. 用栈实现队列|1|https://leetcode-cn.com/problems/implement-queue-using-stacks| 128 | |572. 另一个树的子树|1|https://leetcode-cn.com/problems/subtree-of-another-tree| 129 | |704. 二分查找|1|https://leetcode-cn.com/problems/binary-search| 130 | |238. 除自身以外数组的乘积|1|https://leetcode-cn.com/problems/product-of-array-except-self| 131 | |剑指 Offer 42. 连续子数组的最大和|1|https://leetcode-cn.com/problems/lian-xu-zi-shu-zu-de-zui-da-he-lcof| 132 | |138. 复制带随机指针的链表|1|https://leetcode-cn.com/problems/copy-list-with-random-pointer| 133 | |剑指 Offer 32 - III. 从上到下打印二叉树 III|1|https://leetcode-cn.com/problems/cong-shang-dao-xia-da-yin-er-cha-shu-iii-lcof| 134 | |129. 求根到叶子节点数字之和|1|https://leetcode-cn.com/problems/sum-root-to-leaf-numbers| 135 | |101. 对称二叉树|1|https://leetcode-cn.com/problems/symmetric-tree| 136 | |540. 有序数组中的单一元素|1|https://leetcode-cn.com/problems/single-element-in-a-sorted-array| 137 | |剑指 Offer 12. 矩阵中的路径|1|https://leetcode-cn.com/problems/ju-zhen-zhong-de-lu-jing-lcof| 138 | |208. 实现 Trie (前缀树)|1|https://leetcode-cn.com/problems/implement-trie-prefix-tree| 139 | |剑指 Offer 40. 最小的k个数|1|https://leetcode-cn.com/problems/zui-xiao-de-kge-shu-lcof| 140 | |40. 组合总和 II|1|https://leetcode-cn.com/problems/combination-sum-ii| -------------------------------------------------------------------------------- /yuanfudao/backend.md: -------------------------------------------------------------------------------- 1 | # 后端 2 | 3 | |题目|出现次数|链接| 4 | |-|-|-| 5 | |215. 数组中的第K个最大元素|10|https://leetcode-cn.com/problems/kth-largest-element-in-an-array| 6 | |92. 反转链表 II|7|https://leetcode-cn.com/problems/reverse-linked-list-ii| 7 | |剑指 Offer 36. 二叉搜索树与双向链表|7|https://leetcode-cn.com/problems/er-cha-sou-suo-shu-yu-shuang-xiang-lian-biao-lcof| 8 | |98. 验证二叉搜索树|7|https://leetcode-cn.com/problems/validate-binary-search-tree| 9 | |148. 排序链表|7|https://leetcode-cn.com/problems/sort-list| 10 | |200. 岛屿数量|6|https://leetcode-cn.com/problems/number-of-islands| 11 | |328. 奇偶链表|6|https://leetcode-cn.com/problems/odd-even-linked-list| 12 | |23. 合并K个排序链表|5|https://leetcode-cn.com/problems/merge-k-sorted-lists| 13 | |306. 累加数|5|https://leetcode-cn.com/problems/additive-number| 14 | |110. 平衡二叉树|5|https://leetcode-cn.com/problems/balanced-binary-tree| 15 | |剑指 Offer 54. 二叉搜索树的第k大节点|5|https://leetcode-cn.com/problems/er-cha-sou-suo-shu-de-di-kda-jie-dian-lcof| 16 | |56. 合并区间|5|https://leetcode-cn.com/problems/merge-intervals| 17 | |33. 搜索旋转排序数组|5|https://leetcode-cn.com/problems/search-in-rotated-sorted-array| 18 | |2. 两数相加|5|https://leetcode-cn.com/problems/add-two-numbers| 19 | |146. LRU缓存机制|4|https://leetcode-cn.com/problems/lru-cache| 20 | |94. 二叉树的中序遍历|4|https://leetcode-cn.com/problems/binary-tree-inorder-traversal| 21 | |93. 复原IP地址|4|https://leetcode-cn.com/problems/restore-ip-addresses| 22 | |113. 路径总和 II|4|https://leetcode-cn.com/problems/path-sum-ii| 23 | |239. 滑动窗口最大值|4|https://leetcode-cn.com/problems/sliding-window-maximum| 24 | |958. 二叉树的完全性检验|4|https://leetcode-cn.com/problems/check-completeness-of-a-binary-tree| 25 | |543. 二叉树的直径|4|https://leetcode-cn.com/problems/diameter-of-binary-tree| 26 | |25. K 个一组翻转链表|4|https://leetcode-cn.com/problems/reverse-nodes-in-k-group| 27 | |104. 二叉树的最大深度|4|https://leetcode-cn.com/problems/maximum-depth-of-binary-tree| 28 | |222. 完全二叉树的节点个数|3|https://leetcode-cn.com/problems/count-complete-tree-nodes| 29 | |83. 删除排序链表中的重复元素|3|https://leetcode-cn.com/problems/remove-duplicates-from-sorted-list| 30 | |64. 最小路径和|3|https://leetcode-cn.com/problems/minimum-path-sum| 31 | |695. 岛屿的最大面积|3|https://leetcode-cn.com/problems/max-area-of-island| 32 | |剑指 Offer 27. 二叉树的镜像|3|https://leetcode-cn.com/problems/er-cha-shu-de-jing-xiang-lcof| 33 | |74. 搜索二维矩阵|3|https://leetcode-cn.com/problems/search-a-2d-matrix| 34 | |142. 环形链表 II|3|https://leetcode-cn.com/problems/linked-list-cycle-ii| 35 | |369. 给单链表加一|3|https://leetcode-cn.com/problems/plus-one-linked-list| 36 | |189. 旋转数组|3|https://leetcode-cn.com/problems/rotate-array| 37 | |32. 最长有效括号|3|https://leetcode-cn.com/problems/longest-valid-parentheses| 38 | |498. 对角线遍历|3|https://leetcode-cn.com/problems/diagonal-traverse| 39 | |530. 二叉搜索树的最小绝对差|3|https://leetcode-cn.com/problems/minimum-absolute-difference-in-bst| 40 | |814. 二叉树剪枝|2|https://leetcode-cn.com/problems/binary-tree-pruning| 41 | |22. 括号生成|2|https://leetcode-cn.com/problems/generate-parentheses| 42 | |1026. 节点与其祖先之间的最大差值|2|https://leetcode-cn.com/problems/maximum-difference-between-node-and-ancestor| 43 | |199. 二叉树的右视图|2|https://leetcode-cn.com/problems/binary-tree-right-side-view| 44 | |69. x 的平方根|2|https://leetcode-cn.com/problems/sqrtx| 45 | |21. 合并两个有序链表|2|https://leetcode-cn.com/problems/merge-two-sorted-lists| 46 | |86. 分隔链表|2|https://leetcode-cn.com/problems/partition-list| 47 | |547. 省份数量(原朋友圈)|2|https://leetcode-cn.com/problems/number-of-provinces| 48 | |662. 二叉树最大宽度|2|https://leetcode-cn.com/problems/maximum-width-of-binary-tree| 49 | |34. 在排序数组中查找元素的第一个和最后一个位置|2|https://leetcode-cn.com/problems/find-first-and-last-position-of-element-in-sorted-array| 50 | |674. 最长连续递增序列|2|https://leetcode-cn.com/problems/longest-continuous-increasing-subsequence| 51 | |101. 对称二叉树|2|https://leetcode-cn.com/problems/symmetric-tree| 52 | |986. 区间列表的交集|2|https://leetcode-cn.com/problems/interval-list-intersections| 53 | |剑指 Offer 22. 链表中倒数第k个节点|2|https://leetcode-cn.com/problems/lian-biao-zhong-dao-shu-di-kge-jie-dian-lcof| 54 | |54. 螺旋矩阵|2|https://leetcode-cn.com/problems/spiral-matrix| 55 | |143. 重排链表|2|https://leetcode-cn.com/problems/reorder-list| 56 | |7. 整数反转|2|https://leetcode-cn.com/problems/reverse-integer| 57 | |386. 字典序排数|2|https://leetcode-cn.com/problems/lexicographical-numbers| 58 | |82. 删除排序链表中的重复元素 II|2|https://leetcode-cn.com/problems/remove-duplicates-from-sorted-list-ii| 59 | |232. 用栈实现队列|2|https://leetcode-cn.com/problems/implement-queue-using-stacks| 60 | |1038. 从二叉搜索树到更大和树|2|https://leetcode-cn.com/problems/binary-search-tree-to-greater-sum-tree| 61 | |206. 反转链表|2|https://leetcode-cn.com/problems/reverse-linked-list| 62 | |400. 第N个数字|2|https://leetcode-cn.com/problems/nth-digit| 63 | |221. 最大正方形|2|https://leetcode-cn.com/problems/maximal-square| 64 | |1. 两数之和|2|https://leetcode-cn.com/problems/two-sum| 65 | |5. 最长回文子串|2|https://leetcode-cn.com/problems/longest-palindromic-substring| 66 | |402. 移掉K位数字|2|https://leetcode-cn.com/problems/remove-k-digits| 67 | |52. N皇后 II|1|https://leetcode-cn.com/problems/n-queens-ii| 68 | |103. 二叉树的锯齿形层次遍历|1|https://leetcode-cn.com/problems/binary-tree-zigzag-level-order-traversal| 69 | |8. 字符串转换整数 (atoi)|1|https://leetcode-cn.com/problems/string-to-integer-atoi| 70 | |145. 二叉树的后序遍历|1|https://leetcode-cn.com/problems/binary-tree-postorder-traversal| 71 | |41. 缺失的第一个正数|1|https://leetcode-cn.com/problems/first-missing-positive| 72 | |剑指 Offer 45. 把数组排成最小的数|1|https://leetcode-cn.com/problems/ba-shu-zu-pai-cheng-zui-xiao-de-shu-lcof| 73 | |226. 翻转二叉树|1|https://leetcode-cn.com/problems/invert-binary-tree| 74 | |补充题12. 二叉树的下一个节点|1|| 75 | |394. 字符串解码|1|https://leetcode-cn.com/problems/decode-string| 76 | |24. 两两交换链表中的节点|1|https://leetcode-cn.com/problems/swap-nodes-in-pairs| 77 | |141. 环形链表|1|https://leetcode-cn.com/problems/linked-list-cycle| 78 | |442. 数组中重复的数据|1|https://leetcode-cn.com/problems/find-all-duplicates-in-an-array| 79 | |补充题4. 手撕快速排序|1|| 80 | |14. 最长公共前缀|1|https://leetcode-cn.com/problems/longest-common-prefix| 81 | |297. 二叉树的序列化与反序列化|1|https://leetcode-cn.com/problems/serialize-and-deserialize-binary-tree| 82 | |242. 有效的字母异位词|1|https://leetcode-cn.com/problems/valid-anagram| 83 | |235. 二叉搜索树的最近公共祖先|1|https://leetcode-cn.com/problems/lowest-common-ancestor-of-a-binary-search-tree| 84 | |240. 搜索二维矩阵 II|1|https://leetcode-cn.com/problems/search-a-2d-matrix-ii| 85 | |349. 两个数组的交集|1|https://leetcode-cn.com/problems/intersection-of-two-arrays| 86 | |562. 矩阵中最长的连续1线段|1|https://leetcode-cn.com/problems/longest-line-of-consecutive-one-in-matrix| 87 | |305. 岛屿数量 II|1|https://leetcode-cn.com/problems/number-of-islands-ii| 88 | |99. 恢复二叉搜索树|1|https://leetcode-cn.com/problems/recover-binary-search-tree| 89 | |108. 将有序数组转换为二叉搜索树|1|https://leetcode-cn.com/problems/convert-sorted-array-to-binary-search-tree| 90 | |560. 和为K的子数组|1|https://leetcode-cn.com/problems/subarray-sum-equals-k| 91 | |62. 不同路径|1|https://leetcode-cn.com/problems/unique-paths| 92 | |26. 删除排序数组中的重复项|1|https://leetcode-cn.com/problems/remove-duplicates-from-sorted-array| 93 | |435. 无重叠区间|1|https://leetcode-cn.com/problems/non-overlapping-intervals| 94 | |136. 只出现一次的数字|1|https://leetcode-cn.com/problems/single-number| 95 | |889. 根据前序和后序遍历构造二叉树|1|https://leetcode-cn.com/problems/construct-binary-tree-from-preorder-and-postorder-traversal| 96 | |剑指 Offer 09. 用两个栈实现队列|1|https://leetcode-cn.com/problems/yong-liang-ge-zhan-shi-xian-dui-lie-lcof| 97 | |236. 二叉树的最近公共祖先|1|https://leetcode-cn.com/problems/lowest-common-ancestor-of-a-binary-tree| 98 | |329. 矩阵中的最长递增路径|1|https://leetcode-cn.com/problems/longest-increasing-path-in-a-matrix| 99 | |102. 二叉树的层序遍历|1|https://leetcode-cn.com/problems/binary-tree-level-order-traversal| 100 | |316. 去除重复字母|1|https://leetcode-cn.com/problems/remove-duplicate-letters| 101 | |312. 戳气球|1|https://leetcode-cn.com/problems/burst-balloons| 102 | |208. 实现 Trie (前缀树)|1|https://leetcode-cn.com/problems/implement-trie-prefix-tree| 103 | |405. 数字转换为十六进制数|1|https://leetcode-cn.com/problems/convert-a-number-to-hexadecimal| 104 | |704. 二分查找|1|https://leetcode-cn.com/problems/binary-search| 105 | |20. 有效的括号|1|https://leetcode-cn.com/problems/valid-parentheses| 106 | |516. 最长回文子序列|1|https://leetcode-cn.com/problems/longest-palindromic-subsequence| 107 | |151. 翻转字符串里的单词|1|https://leetcode-cn.com/problems/reverse-words-in-a-string| 108 | |416. 分割等和子集|1|https://leetcode-cn.com/problems/partition-equal-subset-sum| 109 | |572. 另一个树的子树|1|https://leetcode-cn.com/problems/subtree-of-another-tree| 110 | |450. 删除二叉搜索树中的节点|1|https://leetcode-cn.com/problems/delete-node-in-a-bst| 111 | |48. 旋转图像|1|https://leetcode-cn.com/problems/rotate-image| 112 | |剑指 Offer 25. 合并两个排序的链表|1|https://leetcode-cn.com/problems/he-bing-liang-ge-pai-xu-de-lian-biao-lcof| 113 | |4. 寻找两个正序数组的中位数|1|https://leetcode-cn.com/problems/median-of-two-sorted-arrays| 114 | |剑指 Offer 24. 反转链表|1|https://leetcode-cn.com/problems/fan-zhuan-lian-biao-lcof| 115 | |556. 下一个更大元素 III|1|https://leetcode-cn.com/problems/next-greater-element-iii| 116 | |658. 找到 K 个最接近的元素|1|https://leetcode-cn.com/problems/find-k-closest-elements| 117 | |剑指 Offer 11. 旋转数组的最小数字|1|https://leetcode-cn.com/problems/xuan-zhuan-shu-zu-de-zui-xiao-shu-zi-lcof| 118 | |17. 电话号码的字母组合|1|https://leetcode-cn.com/problems/letter-combinations-of-a-phone-number| 119 | |168. Excel表列名称|1|https://leetcode-cn.com/problems/excel-sheet-column-title| 120 | |43. 字符串相乘|1|https://leetcode-cn.com/problems/multiply-strings| 121 | |31. 下一个排列|1|https://leetcode-cn.com/problems/next-permutation| 122 | |105. 从前序与中序遍历序列构造二叉树|1|https://leetcode-cn.com/problems/construct-binary-tree-from-preorder-and-inorder-traversal| 123 | |468. 验证IP地址|1|https://leetcode-cn.com/problems/validate-ip-address| 124 | |109. 有序链表转换二叉搜索树|1|https://leetcode-cn.com/problems/convert-sorted-list-to-binary-search-tree| 125 | |71. 简化路径|1|https://leetcode-cn.com/problems/simplify-path| 126 | |124. 二叉树中的最大路径和|1|https://leetcode-cn.com/problems/binary-tree-maximum-path-sum| 127 | |79. 单词搜索|1|https://leetcode-cn.com/problems/word-search| 128 | |剑指 Offer 32 - I. 从上到下打印二叉树|1|https://leetcode-cn.com/problems/cong-shang-dao-xia-da-yin-er-cha-shu-lcof| 129 | |60. 第k个排列|1|https://leetcode-cn.com/problems/permutation-sequence| 130 | |130. 被围绕的区域|1|https://leetcode-cn.com/problems/surrounded-regions| 131 | |40. 组合总和 II|1|https://leetcode-cn.com/problems/combination-sum-ii| 132 | |59. 螺旋矩阵 II|1|https://leetcode-cn.com/problems/spiral-matrix-ii| 133 | |225. 用队列实现栈|1|https://leetcode-cn.com/problems/implement-stack-using-queues| 134 | |47. 全排列 II|1|https://leetcode-cn.com/problems/permutations-ii| 135 | |343. 整数拆分|1|https://leetcode-cn.com/problems/integer-break| 136 | |448. 找到所有数组中消失的数字|1|https://leetcode-cn.com/problems/find-all-numbers-disappeared-in-an-array| 137 | |152. 乘积最大子数组|1|https://leetcode-cn.com/problems/maximum-product-subarray| 138 | |259. 较小的三数之和|1|https://leetcode-cn.com/problems/3sum-smaller| 139 | |415. 字符串相加|1|https://leetcode-cn.com/problems/add-strings| 140 | |257. 二叉树的所有路径|1|https://leetcode-cn.com/problems/binary-tree-paths| 141 | |540. 有序数组中的单一元素|1|https://leetcode-cn.com/problems/single-element-in-a-sorted-array| 142 | |1325. 删除给定值的叶子节点|1|https://leetcode-cn.com/problems/delete-leaves-with-a-given-value| 143 | |160. 相交链表|1|https://leetcode-cn.com/problems/intersection-of-two-linked-lists| 144 | |42. 接雨水|1|https://leetcode-cn.com/problems/trapping-rain-water| 145 | |剑指 Offer 12. 矩阵中的路径|1|https://leetcode-cn.com/problems/ju-zhen-zhong-de-lu-jing-lcof| -------------------------------------------------------------------------------- /meituan/backend.md: -------------------------------------------------------------------------------- 1 | # 后端 2 | 若想按部门/难度/题型筛选题目,请进入[CodeTop](https://codetop.cc)查询 3 | 4 | |题目|出现次数|链接| 5 | |-|-|-| 6 | |206. 反转链表|27|https://leetcode-cn.com/problems/reverse-linked-list| 7 | |88. 合并两个有序数组|11|https://leetcode-cn.com/problems/merge-sorted-array| 8 | |补充题4. 手撕快速排序|11|https://leetcode-cn.com/problems/sort-an-array| 9 | |141. 环形链表|11|https://leetcode-cn.com/problems/linked-list-cycle| 10 | |718. 最长重复子数组|10|https://leetcode-cn.com/problems/maximum-length-of-repeated-subarray| 11 | |102. 二叉树的层序遍历|9|https://leetcode-cn.com/problems/binary-tree-level-order-traversal| 12 | |剑指 Offer 22. 链表中倒数第k个节点|9|https://leetcode-cn.com/problems/lian-biao-zhong-dao-shu-di-kge-jie-dian-lcof| 13 | |8. 字符串转换整数 (atoi)|8|https://leetcode-cn.com/problems/string-to-integer-atoi| 14 | |92. 反转链表 II|8|https://leetcode-cn.com/problems/reverse-linked-list-ii| 15 | |232. 用栈实现队列|7|https://leetcode-cn.com/problems/implement-queue-using-stacks| 16 | |215. 数组中的第K个最大元素|7|https://leetcode-cn.com/problems/kth-largest-element-in-an-array| 17 | |124. 二叉树中的最大路径和|6|https://leetcode-cn.com/problems/binary-tree-maximum-path-sum| 18 | |144. 二叉树的前序遍历|6|https://leetcode-cn.com/problems/binary-tree-preorder-traversal| 19 | |146. LRU缓存机制|6|https://leetcode-cn.com/problems/lru-cache| 20 | |543. 二叉树的直径|6|https://leetcode-cn.com/problems/diameter-of-binary-tree| 21 | |142. 环形链表 II|6|https://leetcode-cn.com/problems/linked-list-cycle-ii| 22 | |160. 相交链表|6|https://leetcode-cn.com/problems/intersection-of-two-linked-lists| 23 | |54. 螺旋矩阵|6|https://leetcode-cn.com/problems/spiral-matrix| 24 | |5. 最长回文子串|6|https://leetcode-cn.com/problems/longest-palindromic-substring| 25 | |19. 删除链表的倒数第N个节点|6|https://leetcode-cn.com/problems/remove-nth-node-from-end-of-list| 26 | |21. 合并两个有序链表|6|https://leetcode-cn.com/problems/merge-two-sorted-lists| 27 | |25. K 个一组翻转链表|5|https://leetcode-cn.com/problems/reverse-nodes-in-k-group| 28 | |236. 二叉树的最近公共祖先|5|https://leetcode-cn.com/problems/lowest-common-ancestor-of-a-binary-tree| 29 | |15. 三数之和|5|https://leetcode-cn.com/problems/3sum| 30 | |94. 二叉树的中序遍历|5|https://leetcode-cn.com/problems/binary-tree-inorder-traversal| 31 | |82. 删除排序链表中的重复元素 II|5|https://leetcode-cn.com/problems/remove-duplicates-from-sorted-list-ii| 32 | |143. 重排链表|5|https://leetcode-cn.com/problems/reorder-list| 33 | |3. 无重复字符的最长子串|5|https://leetcode-cn.com/problems/longest-substring-without-repeating-characters| 34 | |56. 合并区间|5|https://leetcode-cn.com/problems/merge-intervals| 35 | |剑指 Offer 36. 二叉搜索树与双向链表|4|https://leetcode-cn.com/problems/er-cha-sou-suo-shu-yu-shuang-xiang-lian-biao-lcof| 36 | |415. 字符串相加|4|https://leetcode-cn.com/problems/add-strings| 37 | |704. 二分查找|4|https://leetcode-cn.com/problems/binary-search| 38 | |191. 位1的个数|4|https://leetcode-cn.com/problems/number-of-1-bits| 39 | |20. 有效的括号|4|https://leetcode-cn.com/problems/valid-parentheses| 40 | |113. 路径总和 II|4|https://leetcode-cn.com/problems/path-sum-ii| 41 | |7. 整数反转|4|https://leetcode-cn.com/problems/reverse-integer| 42 | |2. 两数相加|4|https://leetcode-cn.com/problems/add-two-numbers| 43 | |53. 最大子序和|4|https://leetcode-cn.com/problems/maximum-subarray| 44 | |剑指 Offer 40. 最小的k个数|4|https://leetcode-cn.com/problems/zui-xiao-de-kge-shu-lcof| 45 | |103. 二叉树的锯齿形层次遍历|4|https://leetcode-cn.com/problems/binary-tree-zigzag-level-order-traversal| 46 | |151. 翻转字符串里的单词|4|https://leetcode-cn.com/problems/reverse-words-in-a-string| 47 | |1143. 最长公共子序列|3|https://leetcode-cn.com/problems/longest-common-subsequence| 48 | |110. 平衡二叉树|3|https://leetcode-cn.com/problems/balanced-binary-tree| 49 | |1. 两数之和|3|https://leetcode-cn.com/problems/two-sum| 50 | |199. 二叉树的右视图|3|https://leetcode-cn.com/problems/binary-tree-right-side-view| 51 | |234. 回文链表|3|https://leetcode-cn.com/problems/palindrome-linked-list| 52 | |93. 复原IP地址|3|https://leetcode-cn.com/problems/restore-ip-addresses| 53 | |498. 对角线遍历|3|https://leetcode-cn.com/problems/diagonal-traverse| 54 | |33. 搜索旋转排序数组|3|https://leetcode-cn.com/problems/search-in-rotated-sorted-array| 55 | |62. 不同路径|3|https://leetcode-cn.com/problems/unique-paths| 56 | |169. 多数元素|3|https://leetcode-cn.com/problems/majority-element| 57 | |剑指 Offer 62. 圆圈中最后剩下的数字|3|https://leetcode-cn.com/problems/yuan-quan-zhong-zui-hou-sheng-xia-de-shu-zi-lcof| 58 | |70. 爬楼梯|3|https://leetcode-cn.com/problems/climbing-stairs| 59 | |补充题5. 手撕归并排序|3|https://leetcode-cn.com/problems/sort-an-array| 60 | |468. 验证IP地址|3|https://leetcode-cn.com/problems/validate-ip-address| 61 | |补充题8. 计算数组的小和|3|https://mp.weixin.qq.com/s/0ih4W6nawzFUPSj3GOnYTQ| 62 | |83. 删除排序链表中的重复元素|3|https://leetcode-cn.com/problems/remove-duplicates-from-sorted-list| 63 | |78. 子集|3|https://leetcode-cn.com/problems/subsets| 64 | |46. 全排列|3|https://leetcode-cn.com/problems/permutations| 65 | |34. 在排序数组中查找元素的第一个和最后一个位置|2|https://leetcode-cn.com/problems/find-first-and-last-position-of-element-in-sorted-array| 66 | |384. 打乱数组|2|https://leetcode-cn.com/problems/shuffle-an-array| 67 | |226. 翻转二叉树|2|https://leetcode-cn.com/problems/invert-binary-tree| 68 | |69. x 的平方根|2|https://leetcode-cn.com/problems/sqrtx| 69 | |41. 缺失的第一个正数|2|https://leetcode-cn.com/problems/first-missing-positive| 70 | |300. 最长上升子序列|2|https://leetcode-cn.com/problems/longest-increasing-subsequence| 71 | |9. 回文数|2|https://leetcode-cn.com/problems/palindrome-number| 72 | |剑指 Offer 10- II. 青蛙跳台阶问题|2|https://leetcode-cn.com/problems/qing-wa-tiao-tai-jie-wen-ti-lcof| 73 | |64. 最小路径和|2|https://leetcode-cn.com/problems/minimum-path-sum| 74 | |687. 最长同值路径|2|https://leetcode-cn.com/problems/longest-univalue-path| 75 | |剑指 Offer 10- I. 斐波那契数列|2|https://leetcode-cn.com/problems/fei-bo-na-qi-shu-lie-lcof| 76 | |179. 最大数|2|https://leetcode-cn.com/problems/largest-number| 77 | |162. 寻找峰值|2|https://leetcode-cn.com/problems/find-peak-element| 78 | |剑指 Offer 21. 调整数组顺序使奇数位于偶数前面|2|https://leetcode-cn.com/problems/diao-zheng-shu-zu-shun-xu-shi-qi-shu-wei-yu-ou-shu-qian-mian-lcof| 79 | |121. 买卖股票的最佳时机|2|https://leetcode-cn.com/problems/best-time-to-buy-and-sell-stock| 80 | |125. 验证回文串|2|https://leetcode-cn.com/problems/valid-palindrome| 81 | |6. Z 字形变换|2|https://leetcode-cn.com/problems/zigzag-conversion| 82 | |101. 对称二叉树|2|https://leetcode-cn.com/problems/symmetric-tree| 83 | |242. 有效的字母异位词|2|https://leetcode-cn.com/problems/valid-anagram| 84 | |剑指 Offer 15. 二进制中1的个数|2|https://leetcode-cn.com/problems/er-jin-zhi-zhong-1de-ge-shu-lcof| 85 | |120. 三角形最小路径和|2|https://leetcode-cn.com/problems/triangle| 86 | |283. 移动零|2|https://leetcode-cn.com/problems/move-zeroes| 87 | |118. 杨辉三角|2|https://leetcode-cn.com/problems/pascals-triangle| 88 | |剑指 Offer 58 - I. 翻转单词顺序|1|https://leetcode-cn.com/problems/fan-zhuan-dan-ci-shun-xu-lcof| 89 | |剑指 Offer 09. 用两个栈实现队列|1|https://leetcode-cn.com/problems/yong-liang-ge-zhan-shi-xian-dui-lie-lcof| 90 | |387. 字符串中的第一个唯一字符|1|https://leetcode-cn.com/problems/first-unique-character-in-a-string| 91 | |153. 寻找旋转排序数组中的最小值|1|https://leetcode-cn.com/problems/find-minimum-in-rotated-sorted-array| 92 | |55. 跳跃游戏|1|https://leetcode-cn.com/problems/jump-game| 93 | |1245. 树的直径|1|https://leetcode-cn.com/problems/tree-diameter| 94 | |1044. 最长重复子串|1|https://leetcode-cn.com/problems/longest-duplicate-substring| 95 | |679. 24 点游戏|1|https://leetcode-cn.com/problems/24-game| 96 | |60. 第k个排列|1|https://leetcode-cn.com/problems/permutation-sequence| 97 | |132. 分割回文串 II|1|https://leetcode-cn.com/problems/palindrome-partitioning-ii| 98 | |43. 字符串相乘|1|https://leetcode-cn.com/problems/multiply-strings| 99 | |105. 从前序与中序遍历序列构造二叉树|1|https://leetcode-cn.com/problems/construct-binary-tree-from-preorder-and-inorder-traversal| 100 | |117. 填充每个节点的下一个右侧节点指针 II|1|https://leetcode-cn.com/problems/populating-next-right-pointers-in-each-node-ii| 101 | |补充题6. 手撕堆排序|1|https://leetcode-cn.com/problems/sort-an-array| 102 | |509. 斐波那契数|1|https://leetcode-cn.com/problems/fibonacci-number| 103 | |268. 缺失数字|1|https://leetcode-cn.com/problems/missing-number| 104 | |26. 删除排序数组中的重复项|1|https://leetcode-cn.com/problems/remove-duplicates-from-sorted-array| 105 | |剑指 Offer 45. 把数组排成最小的数|1|https://leetcode-cn.com/problems/ba-shu-zu-pai-cheng-zui-xiao-de-shu-lcof| 106 | |958. 二叉树的完全性检验|1|https://leetcode-cn.com/problems/check-completeness-of-a-binary-tree| 107 | |42. 接雨水|1|https://leetcode-cn.com/problems/trapping-rain-water| 108 | |面试题 16.03. 交点|1|https://leetcode-cn.com/problems/intersection-lcci| 109 | |108. 将有序数组转换为二叉搜索树|1|https://leetcode-cn.com/problems/convert-sorted-array-to-binary-search-tree| 110 | |240. 搜索二维矩阵 II|1|https://leetcode-cn.com/problems/search-a-2d-matrix-ii| 111 | |450. 删除二叉搜索树中的节点|1|https://leetcode-cn.com/problems/delete-node-in-a-bst| 112 | |剑指 Offer 14- I. 剪绳子|1|https://leetcode-cn.com/problems/jian-sheng-zi-lcof| 113 | |203. 移除链表元素|1|https://leetcode-cn.com/problems/remove-linked-list-elements| 114 | |227. 基本计算器 II|1|https://leetcode-cn.com/problems/basic-calculator-ii| 115 | |31. 下一个排列|1|https://leetcode-cn.com/problems/next-permutation| 116 | |剑指 Offer 58 - II. 左旋转字符串|1|https://leetcode-cn.com/problems/zuo-xuan-zhuan-zi-fu-chuan-lcof| 117 | |617. 合并二叉树|1|https://leetcode-cn.com/problems/merge-two-binary-trees| 118 | |1095. 山脉数组中查找目标值|1|https://leetcode-cn.com/problems/find-in-mountain-array| 119 | |354. 俄罗斯套娃信封问题|1|https://leetcode-cn.com/problems/russian-doll-envelopes| 120 | |104. 二叉树的最大深度|1|https://leetcode-cn.com/problems/maximum-depth-of-binary-tree| 121 | |198. 打家劫舍|1|https://leetcode-cn.com/problems/house-robber| 122 | |155. 最小栈|1|https://leetcode-cn.com/problems/min-stack| 123 | |剑指 Offer 53 - I. 在排序数组中查找数字 I|1|https://leetcode-cn.com/problems/zai-pai-xu-shu-zu-zhong-cha-zhao-shu-zi-lcof| 124 | |138. 复制带随机指针的链表|1|https://leetcode-cn.com/problems/copy-list-with-random-pointer| 125 | |剑指 Offer 11. 旋转数组的最小数字|1|https://leetcode-cn.com/problems/xuan-zhuan-shu-zu-de-zui-xiao-shu-zi-lcof| 126 | |137. 只出现一次的数字 II|1|https://leetcode-cn.com/problems/single-number-ii| 127 | |518. 零钱兑换 II|1|https://leetcode-cn.com/problems/coin-change-2| 128 | |59. 螺旋矩阵 II|1|https://leetcode-cn.com/problems/spiral-matrix-ii| 129 | |4. 寻找两个正序数组的中位数|1|https://leetcode-cn.com/problems/median-of-two-sorted-arrays| 130 | |补充题20. 立方根|1|| 131 | |剑指 Offer 65. 不用加减乘除做加法|1|https://leetcode-cn.com/problems/bu-yong-jia-jian-cheng-chu-zuo-jia-fa-lcof| 132 | |165. 比较版本号|1|https://leetcode-cn.com/problems/compare-version-numbers| 133 | |123. 买卖股票的最佳时机 III|1|https://leetcode-cn.com/problems/best-time-to-buy-and-sell-stock-iii| 134 | |136. 只出现一次的数字|1|https://leetcode-cn.com/problems/single-number| 135 | |129. 求根到叶子节点数字之和|1|https://leetcode-cn.com/problems/sum-root-to-leaf-numbers| 136 | |剑指 Offer 43. 1~n整数中1出现的次数|1|https://leetcode-cn.com/problems/1nzheng-shu-zhong-1chu-xian-de-ci-shu-lcof| 137 | |面试题 02.08. 环路检测|1|https://leetcode-cn.com/problems/linked-list-cycle-lcci| 138 | |128. 最长连续序列|1|https://leetcode-cn.com/problems/longest-consecutive-sequence| 139 | |47. 全排列 II|1|https://leetcode-cn.com/problems/permutations-ii| 140 | |61. 旋转链表|1|https://leetcode-cn.com/problems/rotate-list| 141 | |剑指 Offer 03. 数组中重复的数字|1|https://leetcode-cn.com/problems/shu-zu-zhong-zhong-fu-de-shu-zi-lcof| 142 | |剑指 Offer 29. 顺时针打印矩阵|1|https://leetcode-cn.com/problems/shun-shi-zhen-da-yin-ju-zhen-lcof| 143 | |面试题 02.01. 移除重复节点|1|https://leetcode-cn.com/problems/remove-duplicate-node-lcci| 144 | |面试题 02.02. 返回倒数第 k 个节点|1|https://leetcode-cn.com/problems/kth-node-from-end-of-list-lcci| 145 | |11. 盛最多水的容器|1|https://leetcode-cn.com/problems/container-with-most-water| 146 | |172. 阶乘后的零|1|https://leetcode-cn.com/problems/factorial-trailing-zeroes| 147 | |14. 最长公共前缀|1|https://leetcode-cn.com/problems/longest-common-prefix| 148 | |补充题21. 字符串相减|1|https://mp.weixin.qq.com/s/kCue4c0gnLSw0HosFl_t7w| 149 | |516. 最长回文子序列|1|https://leetcode-cn.com/problems/longest-palindromic-subsequence| 150 | |692. 前K个高频单词|1|https://leetcode-cn.com/problems/top-k-frequent-words| 151 | |91. 解码方法|1|https://leetcode-cn.com/problems/decode-ways| 152 | |面试题 02.05. 链表求和|1|https://leetcode-cn.com/problems/sum-lists-lcci| 153 | |面试题 03.05. 栈排序|1|https://leetcode-cn.com/problems/sort-of-stacks-lcci| 154 | |23. 合并K个排序链表|1|https://leetcode-cn.com/problems/merge-k-sorted-lists| 155 | |876. 链表的中间结点|1|https://leetcode-cn.com/problems/middle-of-the-linked-list| 156 | |145. 二叉树的后序遍历|1|https://leetcode-cn.com/problems/binary-tree-postorder-traversal| 157 | |622. 设计循环队列|1|https://leetcode-cn.com/problems/design-circular-queue| 158 | |343. 整数拆分|1|https://leetcode-cn.com/problems/integer-break| 159 | |112. 路径总和|1|https://leetcode-cn.com/problems/path-sum| -------------------------------------------------------------------------------- /bytedance/client.md: -------------------------------------------------------------------------------- 1 | # 客户端 2 | 我开发的[CodeTop题库](https://codetop.cc)可以按照部门、难度筛选,比markdown更方便查询高频题 3 | 4 | |题目|出现次数|链接| 5 | |-|-|-| 6 | |206. 反转链表|19|https://leetcode-cn.com/problems/reverse-linked-list| 7 | |25. K 个一组翻转链表|18|https://leetcode-cn.com/problems/reverse-nodes-in-k-group| 8 | |160. 相交链表|17|https://leetcode-cn.com/problems/intersection-of-two-linked-lists| 9 | |215. 数组中的第K个最大元素|16|https://leetcode-cn.com/problems/kth-largest-element-in-an-array| 10 | |53. 最大子序和|15|https://leetcode-cn.com/problems/maximum-subarray| 11 | |146. LRU缓存机制|14|https://leetcode-cn.com/problems/lru-cache| 12 | |3. 无重复字符的最长子串|12|https://leetcode-cn.com/problems/longest-substring-without-repeating-characters| 13 | |15. 三数之和|12|https://leetcode-cn.com/problems/3sum| 14 | |1. 两数之和|12|https://leetcode-cn.com/problems/two-sum| 15 | |21. 合并两个有序链表|10|https://leetcode-cn.com/problems/merge-two-sorted-lists| 16 | |103. 二叉树的锯齿形层次遍历|10|https://leetcode-cn.com/problems/binary-tree-zigzag-level-order-traversal| 17 | |236. 二叉树的最近公共祖先|9|https://leetcode-cn.com/problems/lowest-common-ancestor-of-a-binary-tree| 18 | |121. 买卖股票的最佳时机|9|https://leetcode-cn.com/problems/best-time-to-buy-and-sell-stock| 19 | |958. 二叉树的完全性检验|9|https://leetcode-cn.com/problems/check-completeness-of-a-binary-tree| 20 | |113. 路径总和 II|9|https://leetcode-cn.com/problems/path-sum-ii| 21 | |102. 二叉树的层序遍历|9|https://leetcode-cn.com/problems/binary-tree-level-order-traversal| 22 | |199. 二叉树的右视图|8|https://leetcode-cn.com/problems/binary-tree-right-side-view| 23 | |105. 从前序与中序遍历序列构造二叉树|8|https://leetcode-cn.com/problems/construct-binary-tree-from-preorder-and-inorder-traversal| 24 | |54. 螺旋矩阵|8|https://leetcode-cn.com/problems/spiral-matrix| 25 | |232. 用栈实现队列|7|https://leetcode-cn.com/problems/implement-queue-using-stacks| 26 | |56. 合并区间|7|https://leetcode-cn.com/problems/merge-intervals| 27 | |101. 对称二叉树|7|https://leetcode-cn.com/problems/symmetric-tree| 28 | |415. 字符串相加|7|https://leetcode-cn.com/problems/add-strings| 29 | |19. 删除链表的倒数第N个节点|7|https://leetcode-cn.com/problems/remove-nth-node-from-end-of-list| 30 | |41. 缺失的第一个正数|6|https://leetcode-cn.com/problems/first-missing-positive| 31 | |112. 路径总和|6|https://leetcode-cn.com/problems/path-sum| 32 | |142. 环形链表 II|6|https://leetcode-cn.com/problems/linked-list-cycle-ii| 33 | |144. 二叉树的前序遍历|6|https://leetcode-cn.com/problems/binary-tree-preorder-traversal| 34 | |543. 二叉树的直径|6|https://leetcode-cn.com/problems/diameter-of-binary-tree| 35 | |剑指 Offer 09. 用两个栈实现队列|6|https://leetcode-cn.com/problems/yong-liang-ge-zhan-shi-xian-dui-lie-lcof| 36 | |104. 二叉树的最大深度|6|https://leetcode-cn.com/problems/maximum-depth-of-binary-tree| 37 | |2. 两数相加|6|https://leetcode-cn.com/problems/add-two-numbers| 38 | |4. 寻找两个正序数组的中位数|6|https://leetcode-cn.com/problems/median-of-two-sorted-arrays| 39 | |34. 在排序数组中查找元素的第一个和最后一个位置|6|https://leetcode-cn.com/problems/find-first-and-last-position-of-element-in-sorted-array| 40 | |151. 翻转字符串里的单词|5|https://leetcode-cn.com/problems/reverse-words-in-a-string| 41 | |141. 环形链表|5|https://leetcode-cn.com/problems/linked-list-cycle| 42 | |200. 岛屿数量|5|https://leetcode-cn.com/problems/number-of-islands| 43 | |42. 接雨水|5|https://leetcode-cn.com/problems/trapping-rain-water| 44 | |82. 删除排序链表中的重复元素 II|5|https://leetcode-cn.com/problems/remove-duplicates-from-sorted-list-ii| 45 | |165. 比较版本号|5|https://leetcode-cn.com/problems/compare-version-numbers| 46 | |344. 反转字符串|4|https://leetcode-cn.com/problems/reverse-string| 47 | |88. 合并两个有序数组|4|https://leetcode-cn.com/problems/merge-sorted-array| 48 | |94. 二叉树的中序遍历|4|https://leetcode-cn.com/problems/binary-tree-inorder-traversal| 49 | |226. 翻转二叉树|4|https://leetcode-cn.com/problems/invert-binary-tree| 50 | |剑指 Offer 36. 二叉搜索树与双向链表|4|https://leetcode-cn.com/problems/er-cha-sou-suo-shu-yu-shuang-xiang-lian-biao-lcof| 51 | |240. 搜索二维矩阵 II|4|https://leetcode-cn.com/problems/search-a-2d-matrix-ii| 52 | |460. LFU缓存|4|https://leetcode-cn.com/problems/lfu-cache| 53 | |394. 字符串解码|4|https://leetcode-cn.com/problems/decode-string| 54 | |69. x 的平方根|4|https://leetcode-cn.com/problems/sqrtx| 55 | |46. 全排列|4|https://leetcode-cn.com/problems/permutations| 56 | |189. 旋转数组|4|https://leetcode-cn.com/problems/rotate-array| 57 | |225. 用队列实现栈|4|https://leetcode-cn.com/problems/implement-stack-using-queues| 58 | |59. 螺旋矩阵 II|4|https://leetcode-cn.com/problems/spiral-matrix-ii| 59 | |剑指 Offer 22. 链表中倒数第k个节点|4|https://leetcode-cn.com/problems/lian-biao-zhong-dao-shu-di-kge-jie-dian-lcof| 60 | |剑指 Offer 33. 二叉搜索树的后序遍历序列|4|https://leetcode-cn.com/problems/er-cha-sou-suo-shu-de-hou-xu-bian-li-xu-lie-lcof| 61 | |300. 最长上升子序列|3|https://leetcode-cn.com/problems/longest-increasing-subsequence| 62 | |145. 二叉树的后序遍历|3|https://leetcode-cn.com/problems/binary-tree-postorder-traversal| 63 | |33. 搜索旋转排序数组|3|https://leetcode-cn.com/problems/search-in-rotated-sorted-array| 64 | |136. 只出现一次的数字|3|https://leetcode-cn.com/problems/single-number| 65 | |剑指 Offer 21. 调整数组顺序使奇数位于偶数前面|3|https://leetcode-cn.com/problems/diao-zheng-shu-zu-shun-xu-shi-qi-shu-wei-yu-ou-shu-qian-mian-lcof| 66 | |162. 寻找峰值|3|https://leetcode-cn.com/problems/find-peak-element| 67 | |剑指 Offer 27. 二叉树的镜像|3|https://leetcode-cn.com/problems/er-cha-shu-de-jing-xiang-lcof| 68 | |110. 平衡二叉树|3|https://leetcode-cn.com/problems/balanced-binary-tree| 69 | |16. 最接近的三数之和|3|https://leetcode-cn.com/problems/3sum-closest| 70 | |5. 最长回文子串|3|https://leetcode-cn.com/problems/longest-palindromic-substring| 71 | |443. 压缩字符串|3|https://leetcode-cn.com/problems/string-compression| 72 | |1143. 最长公共子序列|3|https://leetcode-cn.com/problems/longest-common-subsequence| 73 | |24. 两两交换链表中的节点|3|https://leetcode-cn.com/problems/swap-nodes-in-pairs| 74 | |补充题9. 36进制加法|3|https://mp.weixin.qq.com/s/bgD1Q5lc92mX7RNS1L65qA| 75 | |补充题4. 手撕快速排序|3|https://leetcode-cn.com/problems/sort-an-array| 76 | |补充题1. 排序奇升偶降链表|3|https://mp.weixin.qq.com/s/377FfqvpY8NwMInhpoDgsw| 77 | |剑指 Offer 38. 字符串的排列|3|https://leetcode-cn.com/problems/zi-fu-chuan-de-pai-lie-lcof| 78 | |518. 零钱兑换 II|2|https://leetcode-cn.com/problems/coin-change-2| 79 | |剑指 Offer 52. 两个链表的第一个公共节点|2|https://leetcode-cn.com/problems/liang-ge-lian-biao-de-di-yi-ge-gong-gong-jie-dian-lcof| 80 | |剑指 Offer 45. 把数组排成最小的数|2|https://leetcode-cn.com/problems/ba-shu-zu-pai-cheng-zui-xiao-de-shu-lcof| 81 | |234. 回文链表|2|https://leetcode-cn.com/problems/palindrome-linked-list| 82 | |283. 移动零|2|https://leetcode-cn.com/problems/move-zeroes| 83 | |190. 颠倒二进制位|2|https://leetcode-cn.com/problems/reverse-bits| 84 | |122. 买卖股票的最佳时机 II|2|https://leetcode-cn.com/problems/best-time-to-buy-and-sell-stock-ii| 85 | |7. 整数反转|2|https://leetcode-cn.com/problems/reverse-integer| 86 | |662. 二叉树最大宽度|2|https://leetcode-cn.com/problems/maximum-width-of-binary-tree| 87 | |124. 二叉树中的最大路径和|2|https://leetcode-cn.com/problems/binary-tree-maximum-path-sum| 88 | |322. 零钱兑换|2|https://leetcode-cn.com/problems/coin-change| 89 | |70. 爬楼梯|2|https://leetcode-cn.com/problems/climbing-stairs| 90 | |62. 不同路径|2|https://leetcode-cn.com/problems/unique-paths| 91 | |191. 位1的个数|2|https://leetcode-cn.com/problems/number-of-1-bits| 92 | |48. 旋转图像|2|https://leetcode-cn.com/problems/rotate-image| 93 | |739. 每日温度|2|https://leetcode-cn.com/problems/daily-temperatures| 94 | |92. 反转链表 II|2|https://leetcode-cn.com/problems/reverse-linked-list-ii| 95 | |164. 最大间距|2|https://leetcode-cn.com/problems/maximum-gap| 96 | |71. 简化路径|2|https://leetcode-cn.com/problems/simplify-path| 97 | |98. 验证二叉搜索树|2|https://leetcode-cn.com/problems/validate-binary-search-tree| 98 | |55. 跳跃游戏|2|https://leetcode-cn.com/problems/jump-game| 99 | |17. 电话号码的字母组合|2|https://leetcode-cn.com/problems/letter-combinations-of-a-phone-number| 100 | |20. 有效的括号|2|https://leetcode-cn.com/problems/valid-parentheses| 101 | |977. 有序数组的平方|2|https://leetcode-cn.com/problems/squares-of-a-sorted-array| 102 | |155. 最小栈|2|https://leetcode-cn.com/problems/min-stack| 103 | |75. 颜色分类|2|https://leetcode-cn.com/problems/sort-colors| 104 | |32. 最长有效括号|2|https://leetcode-cn.com/problems/longest-valid-parentheses| 105 | |315. 计算右侧小于当前元素的个数|2|https://leetcode-cn.com/problems/count-of-smaller-numbers-after-self| 106 | |438. 找到字符串中所有字母异位词|2|https://leetcode-cn.com/problems/find-all-anagrams-in-a-string| 107 | |93. 复原IP地址|2|https://leetcode-cn.com/problems/restore-ip-addresses| 108 | |260. 只出现一次的数字 III|2|https://leetcode-cn.com/problems/single-number-iii| 109 | |334. 递增的三元子序列|2|https://leetcode-cn.com/problems/increasing-triplet-subsequence| 110 | |129. 求根到叶子节点数字之和|2|https://leetcode-cn.com/problems/sum-root-to-leaf-numbers| 111 | |224. 基本计算器|2|https://leetcode-cn.com/problems/basic-calculator| 112 | |680. 验证回文字符串 Ⅱ|2|https://leetcode-cn.com/problems/valid-palindrome-ii| 113 | |76. 最小覆盖子串|2|https://leetcode-cn.com/problems/minimum-window-substring| 114 | |470. 用 Rand7() 实现 Rand10()|2|https://leetcode-cn.com/problems/implement-rand10-using-rand7| 115 | |530. 二叉搜索树的最小绝对差|2|https://leetcode-cn.com/problems/minimum-absolute-difference-in-bst| 116 | |128. 最长连续序列|1|https://leetcode-cn.com/problems/longest-consecutive-sequence| 117 | |480. 滑动窗口中位数|1|https://leetcode-cn.com/problems/sliding-window-median| 118 | |23. 合并K个排序链表|1|https://leetcode-cn.com/problems/merge-k-sorted-lists| 119 | |86. 分隔链表|1|https://leetcode-cn.com/problems/partition-list| 120 | |140. 单词拆分 II|1|https://leetcode-cn.com/problems/word-break-ii| 121 | |剑指 Offer 07. 重建二叉树|1|https://leetcode-cn.com/problems/zhong-jian-er-cha-shu-lcof| 122 | |257. 二叉树的所有路径|1|https://leetcode-cn.com/problems/binary-tree-paths| 123 | |剑指 Offer 32 - III. 从上到下打印二叉树 III|1|https://leetcode-cn.com/problems/cong-shang-dao-xia-da-yin-er-cha-shu-iii-lcof| 124 | |209. 长度最小的子数组|1|https://leetcode-cn.com/problems/minimum-size-subarray-sum| 125 | |328. 奇偶链表|1|https://leetcode-cn.com/problems/odd-even-linked-list| 126 | |61. 旋转链表|1|https://leetcode-cn.com/problems/rotate-list| 127 | |剑指 Offer 62. 圆圈中最后剩下的数字|1|https://leetcode-cn.com/problems/yuan-quan-zhong-zui-hou-sheng-xia-de-shu-zi-lcof| 128 | |557. 反转字符串中的单词 III|1|https://leetcode-cn.com/problems/reverse-words-in-a-string-iii| 129 | |445. 两数相加 II|1|https://leetcode-cn.com/problems/add-two-numbers-ii| 130 | |1233. 删除子文件夹|1|https://leetcode-cn.com/problems/remove-sub-folders-from-the-filesystem| 131 | |701. 二叉搜索树中的插入操作|1|https://leetcode-cn.com/problems/insert-into-a-binary-search-tree| 132 | |72. 编辑距离|1|https://leetcode-cn.com/problems/edit-distance| 133 | |148. 排序链表|1|https://leetcode-cn.com/problems/sort-list| 134 | |138. 复制带随机指针的链表|1|https://leetcode-cn.com/problems/copy-list-with-random-pointer| 135 | |503. 下一个更大元素 II|1|https://leetcode-cn.com/problems/next-greater-element-ii| 136 | |329. 矩阵中的最长递增路径|1|https://leetcode-cn.com/problems/longest-increasing-path-in-a-matrix| 137 | |1047. 删除字符串中的所有相邻重复项|1|https://leetcode-cn.com/problems/remove-all-adjacent-duplicates-in-string| 138 | |670. 最大交换|1|https://leetcode-cn.com/problems/maximum-swap| 139 | |863. 二叉树中所有距离为 K 的结点|1|https://leetcode-cn.com/problems/all-nodes-distance-k-in-binary-tree| 140 | |238. 除自身以外数组的乘积|1|https://leetcode-cn.com/problems/product-of-array-except-self| 141 | |347. 前 K 个高频元素|1|https://leetcode-cn.com/problems/top-k-frequent-elements| 142 | |44. 通配符匹配|1|https://leetcode-cn.com/problems/wildcard-matching| 143 | |79. 单词搜索|1|https://leetcode-cn.com/problems/word-search| 144 | |767. 重构字符串|1|https://leetcode-cn.com/problems/reorganize-string| 145 | |242. 有效的字母异位词|1|https://leetcode-cn.com/problems/valid-anagram| 146 | |剑指 Offer 56 - II. 数组中数字出现的次数 II|1|https://leetcode-cn.com/problems/shu-zu-zhong-shu-zi-chu-xian-de-ci-shu-ii-lcof| 147 | |97. 交错字符串|1|https://leetcode-cn.com/problems/interleaving-string| 148 | |77. 组合|1|https://leetcode-cn.com/problems/combinations| 149 | |230. 二叉搜索树中第K小的元素|1|https://leetcode-cn.com/problems/kth-smallest-element-in-a-bst| 150 | |179. 最大数|1|https://leetcode-cn.com/problems/largest-number| 151 | |120. 三角形最小路径和|1|https://leetcode-cn.com/problems/triangle| 152 | |8. 字符串转换整数 (atoi)|1|https://leetcode-cn.com/problems/string-to-integer-atoi| 153 | |26. 删除排序数组中的重复项|1|https://leetcode-cn.com/problems/remove-duplicates-from-sorted-array| 154 | |80. 删除排序数组中的重复项 II|1|https://leetcode-cn.com/problems/remove-duplicates-from-sorted-array-ii| 155 | |402. 移掉K位数字|1|https://leetcode-cn.com/problems/remove-k-digits| 156 | |39. 组合总和|1|https://leetcode-cn.com/problems/combination-sum| 157 | |剑指 Offer 48. 最长不含重复字符的子字符串|1|https://leetcode-cn.com/problems/zui-chang-bu-han-zhong-fu-zi-fu-de-zi-zi-fu-chuan-lcof| 158 | |83. 删除排序链表中的重复元素|1|https://leetcode-cn.com/problems/remove-duplicates-from-sorted-list| 159 | |剑指 Offer 17. 打印从1到最大的n位数|1|https://leetcode-cn.com/problems/da-yin-cong-1dao-zui-da-de-nwei-shu-lcof| 160 | |125. 验证回文串|1|https://leetcode-cn.com/problems/valid-palindrome| 161 | |139. 单词拆分|1|https://leetcode-cn.com/problems/word-break| 162 | |239. 滑动窗口最大值|1|https://leetcode-cn.com/problems/sliding-window-maximum| 163 | |221. 最大正方形|1|https://leetcode-cn.com/problems/maximal-square| 164 | |617. 合并二叉树|1|https://leetcode-cn.com/problems/merge-two-binary-trees| 165 | |556. 下一个更大元素 III|1|https://leetcode-cn.com/problems/next-greater-element-iii| 166 | |11. 盛最多水的容器|1|https://leetcode-cn.com/problems/container-with-most-water| 167 | |927. 三等分|1|https://leetcode-cn.com/problems/three-equal-parts| 168 | |剑指 Offer 03. 数组中重复的数字|1|https://leetcode-cn.com/problems/shu-zu-zhong-zhong-fu-de-shu-zi-lcof| 169 | |114. 二叉树展开为链表|1|https://leetcode-cn.com/problems/flatten-binary-tree-to-linked-list| 170 | |564. 寻找最近的回文数|1|https://leetcode-cn.com/problems/find-the-closest-palindrome| 171 | |498. 对角线遍历|1|https://leetcode-cn.com/problems/diagonal-traverse| 172 | |297. 二叉树的序列化与反序列化|1|https://leetcode-cn.com/problems/serialize-and-deserialize-binary-tree| 173 | |171. Excel表列序号|1|https://leetcode-cn.com/problems/excel-sheet-column-number| 174 | |976. 三角形的最大周长|1|https://leetcode-cn.com/problems/largest-perimeter-triangle| 175 | |补充题23. 检测循环依赖|1|https://mp.weixin.qq.com/s/q6AhBt6MX2RL_HNZc8cYKQ| 176 | |351. 安卓系统手势解锁|1|https://leetcode-cn.com/problems/android-unlock-patterns| -------------------------------------------------------------------------------- /tencent/backend.md: -------------------------------------------------------------------------------- 1 | # 后端 2 | 若想按部门/难度/题型筛选题目,请进入[CodeTop](https://codetop.cc)查询 3 | |题目|出现次数|链接| 4 | |-|-|-| 5 | |146. LRU缓存机制|32|https://leetcode-cn.com/problems/lru-cache| 6 | |206. 反转链表|30|https://leetcode-cn.com/problems/reverse-linked-list| 7 | |补充题4. 手撕快速排序|24|https://leetcode-cn.com/problems/sort-an-array| 8 | |21. 合并两个有序链表|18|https://leetcode-cn.com/problems/merge-two-sorted-lists| 9 | |470. 用 Rand7() 实现 Rand10()|15|https://leetcode-cn.com/problems/implement-rand10-using-rand7| 10 | |234. 回文链表|14|https://leetcode-cn.com/problems/palindrome-linked-list| 11 | |8. 字符串转换整数 (atoi)|13|https://leetcode-cn.com/problems/string-to-integer-atoi| 12 | |53. 最大子序和|12|https://leetcode-cn.com/problems/maximum-subarray| 13 | |460. LFU缓存|12|https://leetcode-cn.com/problems/lfu-cache| 14 | |215. 数组中的第K个最大元素|10|https://leetcode-cn.com/problems/kth-largest-element-in-an-array| 15 | |153. 寻找旋转排序数组中的最小值|10|https://leetcode-cn.com/problems/find-minimum-in-rotated-sorted-array| 16 | |3. 无重复字符的最长子串|10|https://leetcode-cn.com/problems/longest-substring-without-repeating-characters| 17 | |704. 二分查找|10|https://leetcode-cn.com/problems/binary-search| 18 | |415. 字符串相加|10|https://leetcode-cn.com/problems/add-strings| 19 | |补充题6. 手撕堆排序|9|https://leetcode-cn.com/problems/sort-an-array| 20 | |剑指 Offer 54. 二叉搜索树的第k大节点|9|https://leetcode-cn.com/problems/er-cha-sou-suo-shu-de-di-kda-jie-dian-lcof| 21 | |160. 相交链表|8|https://leetcode-cn.com/problems/intersection-of-two-linked-lists| 22 | |141. 环形链表|8|https://leetcode-cn.com/problems/linked-list-cycle| 23 | |151. 翻转字符串里的单词|8|https://leetcode-cn.com/problems/reverse-words-in-a-string| 24 | |4. 寻找两个正序数组的中位数|7|https://leetcode-cn.com/problems/median-of-two-sorted-arrays| 25 | |42. 接雨水|7|https://leetcode-cn.com/problems/trapping-rain-water| 26 | |102. 二叉树的层序遍历|7|https://leetcode-cn.com/problems/binary-tree-level-order-traversal| 27 | |144. 二叉树的前序遍历|7|https://leetcode-cn.com/problems/binary-tree-preorder-traversal| 28 | |300. 最长上升子序列|6|https://leetcode-cn.com/problems/longest-increasing-subsequence| 29 | |110. 平衡二叉树|6|https://leetcode-cn.com/problems/balanced-binary-tree| 30 | |2. 两数相加|6|https://leetcode-cn.com/problems/add-two-numbers| 31 | |70. 爬楼梯|6|https://leetcode-cn.com/problems/climbing-stairs| 32 | |213. 打家劫舍 II|6|https://leetcode-cn.com/problems/house-robber-ii| 33 | |5. 最长回文子串|6|https://leetcode-cn.com/problems/longest-palindromic-substring| 34 | |494. 目标和|6|https://leetcode-cn.com/problems/target-sum| 35 | |15. 三数之和|6|https://leetcode-cn.com/problems/3sum| 36 | |1. 两数之和|5|https://leetcode-cn.com/problems/two-sum| 37 | |239. 滑动窗口最大值|5|https://leetcode-cn.com/problems/sliding-window-maximum| 38 | |136. 只出现一次的数字|5|https://leetcode-cn.com/problems/single-number| 39 | |25. K 个一组翻转链表|5|https://leetcode-cn.com/problems/reverse-nodes-in-k-group| 40 | |232. 用栈实现队列|5|https://leetcode-cn.com/problems/implement-queue-using-stacks| 41 | |155. 最小栈|5|https://leetcode-cn.com/problems/min-stack| 42 | |104. 二叉树的最大深度|5|https://leetcode-cn.com/problems/maximum-depth-of-binary-tree| 43 | |剑指 Offer 22. 链表中倒数第k个节点|5|https://leetcode-cn.com/problems/lian-biao-zhong-dao-shu-di-kge-jie-dian-lcof| 44 | |322. 零钱兑换|5|https://leetcode-cn.com/problems/coin-change| 45 | |525. 连续数组|5|https://leetcode-cn.com/problems/contiguous-array| 46 | |169. 多数元素|4|https://leetcode-cn.com/problems/majority-element| 47 | |236. 二叉树的最近公共祖先|4|https://leetcode-cn.com/problems/lowest-common-ancestor-of-a-binary-tree| 48 | |328. 奇偶链表|4|https://leetcode-cn.com/problems/odd-even-linked-list| 49 | |9. 回文数|4|https://leetcode-cn.com/problems/palindrome-number| 50 | |112. 路径总和|4|https://leetcode-cn.com/problems/path-sum| 51 | |142. 环形链表 II|4|https://leetcode-cn.com/problems/linked-list-cycle-ii| 52 | |54. 螺旋矩阵|4|https://leetcode-cn.com/problems/spiral-matrix| 53 | |240. 搜索二维矩阵 II|4|https://leetcode-cn.com/problems/search-a-2d-matrix-ii| 54 | |20. 有效的括号|4|https://leetcode-cn.com/problems/valid-parentheses| 55 | |706. 设计哈希映射|4|https://leetcode-cn.com/problems/design-hashmap| 56 | |678. 有效的括号字符串|4|https://leetcode-cn.com/problems/valid-parenthesis-string| 57 | |补充题5. 手撕归并排序|4|https://leetcode-cn.com/problems/sort-an-array| 58 | |31. 下一个排列|4|https://leetcode-cn.com/problems/next-permutation| 59 | |33. 搜索旋转排序数组|4|https://leetcode-cn.com/problems/search-in-rotated-sorted-array| 60 | |199. 二叉树的右视图|4|https://leetcode-cn.com/problems/binary-tree-right-side-view| 61 | |887. 鸡蛋掉落|4|https://leetcode-cn.com/problems/super-egg-drop| 62 | |46. 全排列|4|https://leetcode-cn.com/problems/permutations| 63 | |88. 合并两个有序数组|4|https://leetcode-cn.com/problems/merge-sorted-array| 64 | |23. 合并K个排序链表|3|https://leetcode-cn.com/problems/merge-k-sorted-lists| 65 | |189. 旋转数组|3|https://leetcode-cn.com/problems/rotate-array| 66 | |59. 螺旋矩阵 II|3|https://leetcode-cn.com/problems/spiral-matrix-ii| 67 | |43. 字符串相乘|3|https://leetcode-cn.com/problems/multiply-strings| 68 | |384. 打乱数组|3|https://leetcode-cn.com/problems/shuffle-an-array| 69 | |172. 阶乘后的零|3|https://leetcode-cn.com/problems/factorial-trailing-zeroes| 70 | |227. 基本计算器 II|3|https://leetcode-cn.com/problems/basic-calculator-ii| 71 | |718. 最长重复子数组|3|https://leetcode-cn.com/problems/maximum-length-of-repeated-subarray| 72 | |394. 字符串解码|3|https://leetcode-cn.com/problems/decode-string| 73 | |69. x 的平方根|3|https://leetcode-cn.com/problems/sqrtx| 74 | |148. 排序链表|3|https://leetcode-cn.com/problems/sort-list| 75 | |143. 重排链表|3|https://leetcode-cn.com/problems/reorder-list| 76 | |121. 买卖股票的最佳时机|2|https://leetcode-cn.com/problems/best-time-to-buy-and-sell-stock| 77 | |37. 解数独|2|https://leetcode-cn.com/problems/sudoku-solver| 78 | |剑指 Offer 42. 连续子数组的最大和|2|https://leetcode-cn.com/problems/lian-xu-zi-shu-zu-de-zui-da-he-lcof| 79 | |287. 寻找重复数|2|https://leetcode-cn.com/problems/find-the-duplicate-number| 80 | |129. 求根到叶子节点数字之和|2|https://leetcode-cn.com/problems/sum-root-to-leaf-numbers| 81 | |78. 子集|2|https://leetcode-cn.com/problems/subsets| 82 | |剑指 Offer 03. 数组中重复的数字|2|https://leetcode-cn.com/problems/shu-zu-zhong-zhong-fu-de-shu-zi-lcof| 83 | |93. 复原IP地址|2|https://leetcode-cn.com/problems/restore-ip-addresses| 84 | |82. 删除排序链表中的重复元素 II|2|https://leetcode-cn.com/problems/remove-duplicates-from-sorted-list-ii| 85 | |138. 复制带随机指针的链表|2|https://leetcode-cn.com/problems/copy-list-with-random-pointer| 86 | |113. 路径总和 II|2|https://leetcode-cn.com/problems/path-sum-ii| 87 | |剑指 Offer 65. 不用加减乘除做加法|2|https://leetcode-cn.com/problems/bu-yong-jia-jian-cheng-chu-zuo-jia-fa-lcof| 88 | |459. 重复的子字符串|2|https://leetcode-cn.com/problems/repeated-substring-pattern| 89 | |19. 删除链表的倒数第N个节点|2|https://leetcode-cn.com/problems/remove-nth-node-from-end-of-list| 90 | |11. 盛最多水的容器|2|https://leetcode-cn.com/problems/container-with-most-water| 91 | |26. 删除排序数组中的重复项|2|https://leetcode-cn.com/problems/remove-duplicates-from-sorted-array| 92 | |103. 二叉树的锯齿形层次遍历|2|https://leetcode-cn.com/problems/binary-tree-zigzag-level-order-traversal| 93 | |补充题21. 字符串相减|2|https://mp.weixin.qq.com/s/kCue4c0gnLSw0HosFl_t7w| 94 | |907. 子数组的最小值之和|2|https://leetcode-cn.com/problems/sum-of-subarray-minimums| 95 | |补充题22. IP地址与整数的转换|2|https://mp.weixin.qq.com/s/u-RahFTB3JIqND41HqtotQ| 96 | |692. 前K个高频单词|2|https://leetcode-cn.com/problems/top-k-frequent-words| 97 | |200. 岛屿数量|2|https://leetcode-cn.com/problems/number-of-islands| 98 | |14. 最长公共前缀|2|https://leetcode-cn.com/problems/longest-common-prefix| 99 | |118. 杨辉三角|2|https://leetcode-cn.com/problems/pascals-triangle| 100 | |剑指 Offer 57 - II. 和为s的连续正数序列|2|https://leetcode-cn.com/problems/he-wei-sde-lian-xu-zheng-shu-xu-lie-lcof| 101 | |剑指 Offer 40. 最小的k个数|2|https://leetcode-cn.com/problems/zui-xiao-de-kge-shu-lcof| 102 | |378. 有序矩阵中第K小的元素|2|https://leetcode-cn.com/problems/kth-smallest-element-in-a-sorted-matrix| 103 | |48. 旋转图像|2|https://leetcode-cn.com/problems/rotate-image| 104 | |480. 滑动窗口中位数|2|https://leetcode-cn.com/problems/sliding-window-median| 105 | |1095. 山脉数组中查找目标值|2|https://leetcode-cn.com/problems/find-in-mountain-array| 106 | |405. 数字转换为十六进制数|2|https://leetcode-cn.com/problems/convert-a-number-to-hexadecimal| 107 | |92. 反转链表 II|2|https://leetcode-cn.com/problems/reverse-linked-list-ii| 108 | |876. 链表的中间结点|2|https://leetcode-cn.com/problems/middle-of-the-linked-list| 109 | |剑指 Offer 24. 反转链表|1|https://leetcode-cn.com/problems/fan-zhuan-lian-biao-lcof| 110 | |409. 最长回文串|1|https://leetcode-cn.com/problems/longest-palindrome| 111 | |224. 基本计算器|1|https://leetcode-cn.com/problems/basic-calculator| 112 | |94. 二叉树的中序遍历|1|https://leetcode-cn.com/problems/binary-tree-inorder-traversal| 113 | |530. 二叉搜索树的最小绝对差|1|https://leetcode-cn.com/problems/minimum-absolute-difference-in-bst| 114 | |315. 计算右侧小于当前元素的个数|1|https://leetcode-cn.com/problems/count-of-smaller-numbers-after-self| 115 | |260. 只出现一次的数字 III|1|https://leetcode-cn.com/problems/single-number-iii| 116 | |679. 24 点游戏|1|https://leetcode-cn.com/problems/24-game| 117 | |994. 腐烂的橘子|1|https://leetcode-cn.com/problems/rotting-oranges| 118 | |588. 设计内存文件系统|1|https://leetcode-cn.com/problems/design-in-memory-file-system| 119 | |125. 验证回文串|1|https://leetcode-cn.com/problems/valid-palindrome| 120 | |41. 缺失的第一个正数|1|https://leetcode-cn.com/problems/first-missing-positive| 121 | |337. 打家劫舍 III|1|https://leetcode-cn.com/problems/house-robber-iii| 122 | |226. 翻转二叉树|1|https://leetcode-cn.com/problems/invert-binary-tree| 123 | |剑指 Offer 51. 数组中的逆序对|1|https://leetcode-cn.com/problems/shu-zu-zhong-de-ni-xu-dui-lcof| 124 | |补充题17. 两个有序数组第k小的数|1|| 125 | |217. 存在重复元素|1|https://leetcode-cn.com/problems/contains-duplicate| 126 | |242. 有效的字母异位词|1|https://leetcode-cn.com/problems/valid-anagram| 127 | |63. 不同路径 II|1|https://leetcode-cn.com/problems/unique-paths-ii| 128 | |74. 搜索二维矩阵|1|https://leetcode-cn.com/problems/search-a-2d-matrix| 129 | |701. 二叉搜索树中的插入操作|1|https://leetcode-cn.com/problems/insert-into-a-binary-search-tree| 130 | |1047. 删除字符串中的所有相邻重复项|1|https://leetcode-cn.com/problems/remove-all-adjacent-duplicates-in-string| 131 | |75. 颜色分类|1|https://leetcode-cn.com/problems/sort-colors| 132 | |补充题14. 阿拉伯数字转中文数字|1|| 133 | |134. 加油站|1|https://leetcode-cn.com/problems/gas-station| 134 | |231. 2的幂|1|https://leetcode-cn.com/problems/power-of-two| 135 | |451. 根据字符出现频率排序|1|https://leetcode-cn.com/problems/sort-characters-by-frequency| 136 | |24. 两两交换链表中的节点|1|https://leetcode-cn.com/problems/swap-nodes-in-pairs| 137 | |剑指 Offer 10- I. 斐波那契数列|1|https://leetcode-cn.com/problems/fei-bo-na-qi-shu-lie-lcof| 138 | |7. 整数反转|1|https://leetcode-cn.com/problems/reverse-integer| 139 | |316. 去除重复字母|1|https://leetcode-cn.com/problems/remove-duplicate-letters| 140 | |117. 填充每个节点的下一个右侧节点指针 II|1|https://leetcode-cn.com/problems/populating-next-right-pointers-in-each-node-ii| 141 | |61. 旋转链表|1|https://leetcode-cn.com/problems/rotate-list| 142 | |283. 移动零|1|https://leetcode-cn.com/problems/move-zeroes| 143 | |剑指 Offer 36. 二叉搜索树与双向链表|1|https://leetcode-cn.com/problems/er-cha-sou-suo-shu-yu-shuang-xiang-lian-biao-lcof| 144 | |128. 最长连续序列|1|https://leetcode-cn.com/problems/longest-consecutive-sequence| 145 | |1044. 最长重复子串|1|https://leetcode-cn.com/problems/longest-duplicate-substring| 146 | |76. 最小覆盖子串|1|https://leetcode-cn.com/problems/minimum-window-substring| 147 | |50. Pow(x, n)|1|https://leetcode-cn.com/problems/powx-n| 148 | |162. 寻找峰值|1|https://leetcode-cn.com/problems/find-peak-element| 149 | |208. 实现 Trie (前缀树)|1|https://leetcode-cn.com/problems/implement-trie-prefix-tree| 150 | |179. 最大数|1|https://leetcode-cn.com/problems/largest-number| 151 | |728. 自除数|1|https://leetcode-cn.com/problems/self-dividing-numbers| 152 | |391. 完美矩形|1|https://leetcode-cn.com/problems/perfect-rectangle| 153 | |523. 连续的子数组和|1|https://leetcode-cn.com/problems/continuous-subarray-sum| 154 | |137. 只出现一次的数字 II|1|https://leetcode-cn.com/problems/single-number-ii| 155 | |598. 范围求和 II|1|https://leetcode-cn.com/problems/range-addition-ii| 156 | |258. 各位相加|1|https://leetcode-cn.com/problems/add-digits| 157 | |443. 压缩字符串|1|https://leetcode-cn.com/problems/string-compression| 158 | |72. 编辑距离|1|https://leetcode-cn.com/problems/edit-distance| 159 | |292. Nim 游戏|1|https://leetcode-cn.com/problems/nim-game| 160 | |297. 二叉树的序列化与反序列化|1|https://leetcode-cn.com/problems/serialize-and-deserialize-binary-tree| 161 | |518. 零钱兑换 II|1|https://leetcode-cn.com/problems/coin-change-2| 162 | |剑指 Offer 11. 旋转数组的最小数字|1|https://leetcode-cn.com/problems/xuan-zhuan-shu-zu-de-zui-xiao-shu-zi-lcof| 163 | |剑指 Offer 32 - III. 从上到下打印二叉树 III|1|https://leetcode-cn.com/problems/cong-shang-dao-xia-da-yin-er-cha-shu-iii-lcof| 164 | |622. 设计循环队列|1|https://leetcode-cn.com/problems/design-circular-queue| 165 | |1299. 将每个元素替换为右侧最大元素|1|https://leetcode-cn.com/problems/replace-elements-with-greatest-element-on-right-side| 166 | |67. 二进制求和|1|https://leetcode-cn.com/problems/add-binary| 167 | |64. 最小路径和|1|https://leetcode-cn.com/problems/minimum-path-sum| 168 | |剑指 Offer 52. 两个链表的第一个公共节点|1|https://leetcode-cn.com/problems/liang-ge-lian-biao-de-di-yi-ge-gong-gong-jie-dian-lcof| 169 | |560. 和为K的子数组|1|https://leetcode-cn.com/problems/subarray-sum-equals-k| 170 | |28. 实现 strStr()|1|https://leetcode-cn.com/problems/implement-strstr| 171 | |84. 柱状图中最大的矩形|1|https://leetcode-cn.com/problems/largest-rectangle-in-histogram| 172 | |295. 数据流的中位数|1|https://leetcode-cn.com/problems/find-median-from-data-stream| 173 | |225. 用队列实现栈|1|https://leetcode-cn.com/problems/implement-stack-using-queues| 174 | |剑指 Offer 09. 用两个栈实现队列|1|https://leetcode-cn.com/problems/yong-liang-ge-zhan-shi-xian-dui-lie-lcof| 175 | |442. 数组中重复的数据|1|https://leetcode-cn.com/problems/find-all-duplicates-in-an-array| 176 | |381. O(1) 时间插入、删除和获取随机元素 - 允许重复|1|https://leetcode-cn.com/problems/insert-delete-getrandom-o1-duplicates-allowed| 177 | |695. 岛屿的最大面积|1|https://leetcode-cn.com/problems/max-area-of-island| 178 | |111. 二叉树的最小深度|1|https://leetcode-cn.com/problems/minimum-depth-of-binary-tree| 179 | |567. 字符串的排列|1|https://leetcode-cn.com/problems/permutation-in-string| 180 | |107. 二叉树的层次遍历 II|1|https://leetcode-cn.com/problems/binary-tree-level-order-traversal-ii| 181 | |1219. 黄金矿工|1|https://leetcode-cn.com/problems/path-with-maximum-gold| 182 | |剑指 Offer 16. 数值的整数次方|1|https://leetcode-cn.com/problems/shu-zhi-de-zheng-shu-ci-fang-lcof| -------------------------------------------------------------------------------- /microsoft/SDE.md: -------------------------------------------------------------------------------- 1 | - 题目原文链接见[issues](https://github.com/afatcoder/LeetcodeTop/issues) 2 | - 若想按部门/难度/题型筛选题目,可以在[CodeTop](https://codetop.cc) 查询 3 | 4 | |题目|出现次数|链接| 5 | |-|-|-| 6 | |215. 数组中的第K个最大元素|11|https://leetcode-cn.com/problems/kth-largest-element-in-an-array| 7 | |236. 二叉树的最近公共祖先|10|https://leetcode-cn.com/problems/lowest-common-ancestor-of-a-binary-tree| 8 | |206. 反转链表|8|https://leetcode-cn.com/problems/reverse-linked-list| 9 | |48. 旋转图像|7|https://leetcode-cn.com/problems/rotate-image| 10 | |53. 最大子序和|7|https://leetcode-cn.com/problems/maximum-subarray| 11 | |124. 二叉树中的最大路径和|6|https://leetcode-cn.com/problems/binary-tree-maximum-path-sum| 12 | |91. 解码方法|6|https://leetcode-cn.com/problems/decode-ways| 13 | |297. 二叉树的序列化与反序列化|6|https://leetcode-cn.com/problems/serialize-and-deserialize-binary-tree| 14 | |543. 二叉树的直径|5|https://leetcode-cn.com/problems/diameter-of-binary-tree| 15 | |22. 括号生成|5|https://leetcode-cn.com/problems/generate-parentheses| 16 | |47. 全排列 II|5|https://leetcode-cn.com/problems/permutations-ii| 17 | |468. 验证IP地址|4|https://leetcode-cn.com/problems/validate-ip-address| 18 | |146. LRU缓存机制|4|https://leetcode-cn.com/problems/lru-cache| 19 | |450. 删除二叉搜索树中的节点|4|https://leetcode-cn.com/problems/delete-node-in-a-bst| 20 | |94. 二叉树的中序遍历|4|https://leetcode-cn.com/problems/binary-tree-inorder-traversal| 21 | |15. 三数之和|4|https://leetcode-cn.com/problems/3sum| 22 | |121. 买卖股票的最佳时机|4|https://leetcode-cn.com/problems/best-time-to-buy-and-sell-stock| 23 | |151. 翻转字符串里的单词|4|https://leetcode-cn.com/problems/reverse-words-in-a-string| 24 | |1. 两数之和|4|https://leetcode-cn.com/problems/two-sum| 25 | |138. 复制带随机指针的链表|4|https://leetcode-cn.com/problems/copy-list-with-random-pointer| 26 | |69. x 的平方根|4|https://leetcode-cn.com/problems/sqrtx| 27 | |240. 搜索二维矩阵 II|4|https://leetcode-cn.com/problems/search-a-2d-matrix-ii| 28 | |4. 寻找两个正序数组的中位数|3|https://leetcode-cn.com/problems/median-of-two-sorted-arrays| 29 | |103. 二叉树的锯齿形层次遍历|3|https://leetcode-cn.com/problems/binary-tree-zigzag-level-order-traversal| 30 | |560. 和为K的子数组|3|https://leetcode-cn.com/problems/subarray-sum-equals-k| 31 | |162. 寻找峰值|3|https://leetcode-cn.com/problems/find-peak-element| 32 | |62. 不同路径|3|https://leetcode-cn.com/problems/unique-paths| 33 | |39. 组合总和|3|https://leetcode-cn.com/problems/combination-sum| 34 | |3. 无重复字符的最长子串|3|https://leetcode-cn.com/problems/longest-substring-without-repeating-characters| 35 | |72. 编辑距离|3|https://leetcode-cn.com/problems/edit-distance| 36 | |200. 岛屿数量|3|https://leetcode-cn.com/problems/number-of-islands| 37 | |89. 格雷编码|3|https://leetcode-cn.com/problems/gray-code| 38 | |98. 验证二叉搜索树|3|https://leetcode-cn.com/problems/validate-binary-search-tree| 39 | |207. 课程表|3|https://leetcode-cn.com/problems/course-schedule| 40 | |384. 打乱数组|3|https://leetcode-cn.com/problems/shuffle-an-array| 41 | |36. 有效的数独|3|https://leetcode-cn.com/problems/valid-sudoku| 42 | |面试题 08.12. 八皇后|3|https://leetcode-cn.com/problems/eight-queens-lcci| 43 | |153. 寻找旋转排序数组中的最小值|3|https://leetcode-cn.com/problems/find-minimum-in-rotated-sorted-array| 44 | |剑指 Offer 46. 把数字翻译成字符串|2|https://leetcode-cn.com/problems/ba-shu-zi-fan-yi-cheng-zi-fu-chuan-lcof| 45 | |110. 平衡二叉树|2|https://leetcode-cn.com/problems/balanced-binary-tree| 46 | |415. 字符串相加|2|https://leetcode-cn.com/problems/add-strings| 47 | |34. 在排序数组中查找元素的第一个和最后一个位置|2|https://leetcode-cn.com/problems/find-first-and-last-position-of-element-in-sorted-array| 48 | |154. 寻找旋转排序数组中的最小值 II|2|https://leetcode-cn.com/problems/find-minimum-in-rotated-sorted-array-ii| 49 | |10. 正则表达式匹配|2|https://leetcode-cn.com/problems/regular-expression-matching| 50 | |79. 单词搜索|2|https://leetcode-cn.com/problems/word-search| 51 | |剑指 Offer 52. 两个链表的第一个公共节点|2|https://leetcode-cn.com/problems/liang-ge-lian-biao-de-di-yi-ge-gong-gong-jie-dian-lcof| 52 | |76. 最小覆盖子串|2|https://leetcode-cn.com/problems/minimum-window-substring| 53 | |300. 最长上升子序列|2|https://leetcode-cn.com/problems/longest-increasing-subsequence| 54 | |152. 乘积最大子数组|2|https://leetcode-cn.com/problems/maximum-product-subarray| 55 | |剑指 Offer 51. 数组中的逆序对|2|https://leetcode-cn.com/problems/shu-zu-zhong-de-ni-xu-dui-lcof| 56 | |59. 螺旋矩阵 II|2|https://leetcode-cn.com/problems/spiral-matrix-ii| 57 | |25. K 个一组翻转链表|2|https://leetcode-cn.com/problems/reverse-nodes-in-k-group| 58 | |287. 寻找重复数|2|https://leetcode-cn.com/problems/find-the-duplicate-number| 59 | |362. 敲击计数器|2|https://leetcode-cn.com/problems/design-hit-counter| 60 | |119. 杨辉三角 II|2|https://leetcode-cn.com/problems/pascals-triangle-ii| 61 | |1095. 山脉数组中查找目标值|2|https://leetcode-cn.com/problems/find-in-mountain-array| 62 | |173. 二叉搜索树迭代器|2|https://leetcode-cn.com/problems/binary-search-tree-iterator| 63 | |补充题12. 二叉树的下一个节点|2|https://mp.weixin.qq.com/s/ug9KoqbrVFMPBTqX-ZaKbA| 64 | |补充题6. 手撕堆排序|2|https://leetcode-cn.com/problems/sort-an-array| 65 | |141. 环形链表|2|https://leetcode-cn.com/problems/linked-list-cycle| 66 | |148. 排序链表|2|https://leetcode-cn.com/problems/sort-list| 67 | |208. 实现 Trie (前缀树)|2|https://leetcode-cn.com/problems/implement-trie-prefix-tree| 68 | |706. 设计哈希映射|2|https://leetcode-cn.com/problems/design-hashmap| 69 | |428. 序列化和反序列化 N 叉树|2|https://leetcode-cn.com/problems/serialize-and-deserialize-n-ary-tree| 70 | |64. 最小路径和|2|https://leetcode-cn.com/problems/minimum-path-sum| 71 | |105. 从前序与中序遍历序列构造二叉树|2|https://leetcode-cn.com/problems/construct-binary-tree-from-preorder-and-inorder-traversal| 72 | |189. 旋转数组|2|https://leetcode-cn.com/problems/rotate-array| 73 | |84. 柱状图中最大的矩形|1|https://leetcode-cn.com/problems/largest-rectangle-in-histogram| 74 | |120. 三角形最小路径和|1|https://leetcode-cn.com/problems/triangle| 75 | |5. 最长回文子串|1|https://leetcode-cn.com/problems/longest-palindromic-substring| 76 | |867. 转置矩阵|1|https://leetcode-cn.com/problems/transpose-matrix| 77 | |986. 区间列表的交集|1|https://leetcode-cn.com/problems/interval-list-intersections| 78 | |78. 子集|1|https://leetcode-cn.com/problems/subsets| 79 | |907. 子数组的最小值之和|1|https://leetcode-cn.com/problems/sum-of-subarray-minimums| 80 | |547. 省份数量(原朋友圈)|1|https://leetcode-cn.com/problems/number-of-provinces| 81 | |1013. 将数组分成和相等的三个部分|1|https://leetcode-cn.com/problems/partition-array-into-three-parts-with-equal-sum| 82 | |142. 环形链表 II|1|https://leetcode-cn.com/problems/linked-list-cycle-ii| 83 | |572. 另一个树的子树|1|https://leetcode-cn.com/problems/subtree-of-another-tree| 84 | |704. 二分查找|1|https://leetcode-cn.com/problems/binary-search| 85 | |171. Excel表列序号|1|https://leetcode-cn.com/problems/excel-sheet-column-number| 86 | |150. 逆波兰表达式求值|1|https://leetcode-cn.com/problems/evaluate-reverse-polish-notation| 87 | |283. 移动零|1|https://leetcode-cn.com/problems/move-zeroes| 88 | |767. 重构字符串|1|https://leetcode-cn.com/problems/reorganize-string| 89 | |459. 重复的子字符串|1|https://leetcode-cn.com/problems/repeated-substring-pattern| 90 | |973. 最接近原点的 K 个点|1|https://leetcode-cn.com/problems/k-closest-points-to-origin| 91 | |剑指 Offer 21. 调整数组顺序使奇数位于偶数前面|1|https://leetcode-cn.com/problems/diao-zheng-shu-zu-shun-xu-shi-qi-shu-wei-yu-ou-shu-qian-mian-lcof| 92 | |剑指 Offer 36. 二叉搜索树与双向链表|1|https://leetcode-cn.com/problems/er-cha-sou-suo-shu-yu-shuang-xiang-lian-biao-lcof| 93 | |887. 鸡蛋掉落|1|https://leetcode-cn.com/problems/super-egg-drop| 94 | |剑指 Offer 26. 树的子结构|1|https://leetcode-cn.com/problems/shu-de-zi-jie-gou-lcof| 95 | |328. 奇偶链表|1|https://leetcode-cn.com/problems/odd-even-linked-list| 96 | |137. 只出现一次的数字 II|1|https://leetcode-cn.com/problems/single-number-ii| 97 | |155. 最小栈|1|https://leetcode-cn.com/problems/min-stack| 98 | |1375. 灯泡开关 III|1|https://leetcode-cn.com/problems/bulb-switcher-iii| 99 | |662. 二叉树最大宽度|1|https://leetcode-cn.com/problems/maximum-width-of-binary-tree| 100 | |449. 序列化和反序列化二叉搜索树|1|https://leetcode-cn.com/problems/serialize-and-deserialize-bst| 101 | |44. 通配符匹配|1|https://leetcode-cn.com/problems/wildcard-matching| 102 | |739. 每日温度|1|https://leetcode-cn.com/problems/daily-temperatures| 103 | |122. 买卖股票的最佳时机 II|1|https://leetcode-cn.com/problems/best-time-to-buy-and-sell-stock-ii| 104 | |20. 有效的括号|1|https://leetcode-cn.com/problems/valid-parentheses| 105 | |700. 二叉搜索树中的搜索|1|https://leetcode-cn.com/problems/search-in-a-binary-search-tree| 106 | |701. 二叉搜索树中的插入操作|1|https://leetcode-cn.com/problems/insert-into-a-binary-search-tree| 107 | |1312. 让字符串成为回文串的最少插入次数|1|https://leetcode-cn.com/problems/minimum-insertion-steps-to-make-a-string-palindrome| 108 | |剑指 Offer 33. 二叉搜索树的后序遍历序列|1|https://leetcode-cn.com/problems/er-cha-sou-suo-shu-de-hou-xu-bian-li-xu-lie-lcof| 109 | |139. 单词拆分|1|https://leetcode-cn.com/problems/word-break| 110 | |557. 反转字符串中的单词 III|1|https://leetcode-cn.com/problems/reverse-words-in-a-string-iii| 111 | |60. 第k个排列|1|https://leetcode-cn.com/problems/permutation-sequence| 112 | |剑指 Offer 04. 二维数组中的查找|1|https://leetcode-cn.com/problems/er-wei-shu-zu-zhong-de-cha-zhao-lcof| 113 | |848. 字母移位|1|https://leetcode-cn.com/problems/shifting-letters| 114 | |569. 员工薪水中位数|1|https://leetcode-cn.com/problems/median-employee-salary| 115 | |88. 合并两个有序数组|1|https://leetcode-cn.com/problems/merge-sorted-array| 116 | |877. 石子游戏|1|https://leetcode-cn.com/problems/stone-game| 117 | |617. 合并二叉树|1|https://leetcode-cn.com/problems/merge-two-binary-trees| 118 | |349. 两个数组的交集|1|https://leetcode-cn.com/problems/intersection-of-two-arrays| 119 | |713. 乘积小于K的子数组|1|https://leetcode-cn.com/problems/subarray-product-less-than-k| 120 | |37. 解数独|1|https://leetcode-cn.com/problems/sudoku-solver| 121 | |102. 二叉树的层序遍历|1|https://leetcode-cn.com/problems/binary-tree-level-order-traversal| 122 | |113. 路径总和 II|1|https://leetcode-cn.com/problems/path-sum-ii| 123 | |692. 前K个高频单词|1|https://leetcode-cn.com/problems/top-k-frequent-words| 124 | |394. 字符串解码|1|https://leetcode-cn.com/problems/decode-string| 125 | |863. 二叉树中所有距离为 K 的结点|1|https://leetcode-cn.com/problems/all-nodes-distance-k-in-binary-tree| 126 | |1155. 掷骰子的N种方法|1|https://leetcode-cn.com/problems/number-of-dice-rolls-with-target-sum| 127 | |694. 不同岛屿的数量|1|https://leetcode-cn.com/problems/number-of-distinct-islands| 128 | |1314. 矩阵区域和|1|https://leetcode-cn.com/problems/matrix-block-sum| 129 | |82. 删除排序链表中的重复元素 II|1|https://leetcode-cn.com/problems/remove-duplicates-from-sorted-list-ii| 130 | |123. 买卖股票的最佳时机 III|1|https://leetcode-cn.com/problems/best-time-to-buy-and-sell-stock-iii| 131 | |114. 二叉树展开为链表|1|https://leetcode-cn.com/problems/flatten-binary-tree-to-linked-list| 132 | |104. 二叉树的最大深度|1|https://leetcode-cn.com/problems/maximum-depth-of-binary-tree| 133 | |407. 接雨水 II|1|https://leetcode-cn.com/problems/trapping-rain-water-ii| 134 | |295. 数据流的中位数|1|https://leetcode-cn.com/problems/find-median-from-data-stream| 135 | |8. 字符串转换整数 (atoi)|1|https://leetcode-cn.com/problems/string-to-integer-atoi| 136 | |剑指 Offer 40. 最小的k个数|1|https://leetcode-cn.com/problems/zui-xiao-de-kge-shu-lcof| 137 | |129. 求根到叶子节点数字之和|1|https://leetcode-cn.com/problems/sum-root-to-leaf-numbers| 138 | |347. 前 K 个高频元素|1|https://leetcode-cn.com/problems/top-k-frequent-elements| 139 | |73. 矩阵置零|1|https://leetcode-cn.com/problems/set-matrix-zeroes| 140 | |剑指 Offer 31. 栈的压入、弹出序列|1|https://leetcode-cn.com/problems/zhan-de-ya-ru-dan-chu-xu-lie-lcof| 141 | |29. 两数相除|1|https://leetcode-cn.com/problems/divide-two-integers| 142 | |1356. 根据数字二进制下 1 的数目排序|1|https://leetcode-cn.com/problems/sort-integers-by-the-number-of-1-bits| 143 | |386. 字典序排数|1|https://leetcode-cn.com/problems/lexicographical-numbers| 144 | |311. 稀疏矩阵的乘法|1|https://leetcode-cn.com/problems/sparse-matrix-multiplication| 145 | |166. 分数到小数|1|https://leetcode-cn.com/problems/fraction-to-recurring-decimal| 146 | |补充题14. 阿拉伯数字转中文数字|1|| 147 | |21. 合并两个有序链表|1|https://leetcode-cn.com/problems/merge-two-sorted-lists| 148 | |1358. 包含所有三种字符的子字符串数目|1|https://leetcode-cn.com/problems/number-of-substrings-containing-all-three-characters| 149 | |160. 相交链表|1|https://leetcode-cn.com/problems/intersection-of-two-linked-lists| 150 | |剑指 Offer 53 - II. 0~n-1中缺失的数字|1|https://leetcode-cn.com/problems/que-shi-de-shu-zi-lcof| 151 | |补充题17. 两个有序数组第k小的数|1|| 152 | |209. 长度最小的子数组|1|https://leetcode-cn.com/problems/minimum-size-subarray-sum| 153 | |227. 基本计算器 II|1|https://leetcode-cn.com/problems/basic-calculator-ii| 154 | |224. 基本计算器|1|https://leetcode-cn.com/problems/basic-calculator| 155 | |470. 用 Rand7() 实现 Rand10()|1|https://leetcode-cn.com/problems/implement-rand10-using-rand7| 156 | |13. 罗马数字转整数|1|https://leetcode-cn.com/problems/roman-to-integer| 157 | |643. 子数组最大平均数 I|1|https://leetcode-cn.com/problems/maximum-average-subarray-i| 158 | |871. 最低加油次数|1|https://leetcode-cn.com/problems/minimum-number-of-refueling-stops| 159 | |1615. 最大网络秩|1|https://leetcode-cn.com/problems/maximal-network-rank| 160 | |剑指 Offer 56 - II. 数组中数字出现的次数 II|1|https://leetcode-cn.com/problems/shu-zu-zhong-shu-zi-chu-xian-de-ci-shu-ii-lcof| 161 | |1483. 树节点的第 K 个祖先|1|https://leetcode-cn.com/problems/kth-ancestor-of-a-tree-node| 162 | |116. 填充每个节点的下一个右侧节点指针|1|https://leetcode-cn.com/problems/populating-next-right-pointers-in-each-node| 163 | |1570. 两个稀疏向量的点积|1|https://leetcode-cn.com/problems/dot-product-of-two-sparse-vectors| 164 | |40. 组合总和 II|1|https://leetcode-cn.com/problems/combination-sum-ii| 165 | |628. 三个数的最大乘积|1|https://leetcode-cn.com/problems/maximum-product-of-three-numbers| 166 | |145. 二叉树的后序遍历|1|https://leetcode-cn.com/problems/binary-tree-postorder-traversal| 167 | |46. 全排列|1|https://leetcode-cn.com/problems/permutations| 168 | |460. LFU缓存|1|https://leetcode-cn.com/problems/lfu-cache| 169 | |785. 判断二分图|1|https://leetcode-cn.com/problems/is-graph-bipartite| 170 | |718. 最长重复子数组|1|https://leetcode-cn.com/problems/maximum-length-of-repeated-subarray| 171 | |242. 有效的字母异位词|1|https://leetcode-cn.com/problems/valid-anagram| 172 | |307. 区域和检索 - 数组可修改|1|https://leetcode-cn.com/problems/range-sum-query-mutable| 173 | |442. 数组中重复的数据|1|https://leetcode-cn.com/problems/find-all-duplicates-in-an-array| 174 | |补充题13. 中文数字转阿拉伯数字|1|| 175 | |56. 合并区间|1|https://leetcode-cn.com/problems/merge-intervals| 176 | |17. 电话号码的字母组合|1|https://leetcode-cn.com/problems/letter-combinations-of-a-phone-number| 177 | |1143. 最长公共子序列|1|https://leetcode-cn.com/problems/longest-common-subsequence| 178 | |179. 最大数|1|https://leetcode-cn.com/problems/largest-number| 179 | |33. 搜索旋转排序数组|1|https://leetcode-cn.com/problems/search-in-rotated-sorted-array| 180 | |513. 找树左下角的值|1|https://leetcode-cn.com/problems/find-bottom-left-tree-value| 181 | -------------------------------------------------------------------------------- /bytedance/backend.md: -------------------------------------------------------------------------------- 1 | # 后端 2 | 我开发的[CodeTop题库](https://codetop.cc)可以按照部门、难度筛选,比markdown更方便查询高频题 3 | 4 | |题目|出现次数|链接| 5 | |-|-|-| 6 | |25. K 个一组翻转链表|54|https://leetcode-cn.com/problems/reverse-nodes-in-k-group| 7 | |3. 无重复字符的最长子串|52|https://leetcode-cn.com/problems/longest-substring-without-repeating-characters| 8 | |215. 数组中的第K个最大元素|47|https://leetcode-cn.com/problems/kth-largest-element-in-an-array| 9 | |103. 二叉树的锯齿形层次遍历|45|https://leetcode-cn.com/problems/binary-tree-zigzag-level-order-traversal| 10 | |146. LRU缓存机制|45|https://leetcode-cn.com/problems/lru-cache| 11 | |206. 反转链表|43|https://leetcode-cn.com/problems/reverse-linked-list| 12 | |15. 三数之和|39|https://leetcode-cn.com/problems/3sum| 13 | |121. 买卖股票的最佳时机|38|https://leetcode-cn.com/problems/best-time-to-buy-and-sell-stock| 14 | |160. 相交链表|28|https://leetcode-cn.com/problems/intersection-of-two-linked-lists| 15 | |236. 二叉树的最近公共祖先|28|https://leetcode-cn.com/problems/lowest-common-ancestor-of-a-binary-tree| 16 | |42. 接雨水|26|https://leetcode-cn.com/problems/trapping-rain-water| 17 | |33. 搜索旋转排序数组|24|https://leetcode-cn.com/problems/search-in-rotated-sorted-array| 18 | |199. 二叉树的右视图|23|https://leetcode-cn.com/problems/binary-tree-right-side-view| 19 | |23. 合并K个排序链表|21|https://leetcode-cn.com/problems/merge-k-sorted-lists| 20 | |31. 下一个排列|21|https://leetcode-cn.com/problems/next-permutation| 21 | |143. 重排链表|21|https://leetcode-cn.com/problems/reorder-list| 22 | |69. x 的平方根|20|https://leetcode-cn.com/problems/sqrtx| 23 | |21. 合并两个有序链表|20|https://leetcode-cn.com/problems/merge-two-sorted-lists| 24 | |105. 从前序与中序遍历序列构造二叉树|19|https://leetcode-cn.com/problems/construct-binary-tree-from-preorder-and-inorder-traversal| 25 | |54. 螺旋矩阵|19|https://leetcode-cn.com/problems/spiral-matrix| 26 | |92. 反转链表 II|19|https://leetcode-cn.com/problems/reverse-linked-list-ii| 27 | |124. 二叉树中的最大路径和|17|https://leetcode-cn.com/problems/binary-tree-maximum-path-sum| 28 | |200. 岛屿数量|17|https://leetcode-cn.com/problems/number-of-islands| 29 | |300. 最长上升子序列|17|https://leetcode-cn.com/problems/longest-increasing-subsequence| 30 | |1. 两数之和|16|https://leetcode-cn.com/problems/two-sum| 31 | |补充题1. 排序奇升偶降链表|16|https://mp.weixin.qq.com/s/377FfqvpY8NwMInhpoDgsw| 32 | |155. 最小栈|15|https://leetcode-cn.com/problems/min-stack| 33 | |101. 对称二叉树|14|https://leetcode-cn.com/problems/symmetric-tree| 34 | |46. 全排列|14|https://leetcode-cn.com/problems/permutations| 35 | |41. 缺失的第一个正数|13|https://leetcode-cn.com/problems/first-missing-positive| 36 | |98. 验证二叉搜索树|13|https://leetcode-cn.com/problems/validate-binary-search-tree| 37 | |76. 最小覆盖子串|13|https://leetcode-cn.com/problems/minimum-window-substring| 38 | |56. 合并区间|12|https://leetcode-cn.com/problems/merge-intervals| 39 | |141. 环形链表|12|https://leetcode-cn.com/problems/linked-list-cycle| 40 | |234. 回文链表|12|https://leetcode-cn.com/problems/palindrome-linked-list| 41 | |518. 零钱兑换 II|12|https://leetcode-cn.com/problems/coin-change-2| 42 | |322. 零钱兑换|12|https://leetcode-cn.com/problems/coin-change| 43 | |20. 有效的括号|12|https://leetcode-cn.com/problems/valid-parentheses| 44 | |958. 二叉树的完全性检验|12|https://leetcode-cn.com/problems/check-completeness-of-a-binary-tree| 45 | |122. 买卖股票的最佳时机 II|12|https://leetcode-cn.com/problems/best-time-to-buy-and-sell-stock-ii| 46 | |148. 排序链表|12|https://leetcode-cn.com/problems/sort-list| 47 | |48. 旋转图像|12|https://leetcode-cn.com/problems/rotate-image| 48 | |39. 组合总和|12|https://leetcode-cn.com/problems/combination-sum| 49 | |470. 用 Rand7() 实现 Rand10()|12|https://leetcode-cn.com/problems/implement-rand10-using-rand7| 50 | |补充题2. 圆环回原点问题|12|https://mp.weixin.qq.com/s/VnGFEWHeD3nh1n9JSDkVUg| 51 | |2. 两数相加|11|https://leetcode-cn.com/problems/add-two-numbers| 52 | |198. 打家劫舍|11|https://leetcode-cn.com/problems/house-robber| 53 | |232. 用栈实现队列|11|https://leetcode-cn.com/problems/implement-queue-using-stacks| 54 | |102. 二叉树的层序遍历|10|https://leetcode-cn.com/problems/binary-tree-level-order-traversal| 55 | |415. 字符串相加|10|https://leetcode-cn.com/problems/add-strings| 56 | |162. 寻找峰值|10|https://leetcode-cn.com/problems/find-peak-element| 57 | |32. 最长有效括号|10|https://leetcode-cn.com/problems/longest-valid-parentheses| 58 | |142. 环形链表 II|10|https://leetcode-cn.com/problems/linked-list-cycle-ii| 59 | |5. 最长回文子串|10|https://leetcode-cn.com/problems/longest-palindromic-substring| 60 | |53. 最大子序和|9|https://leetcode-cn.com/problems/maximum-subarray| 61 | |83. 删除排序链表中的重复元素|9|https://leetcode-cn.com/problems/remove-duplicates-from-sorted-list| 62 | |88. 合并两个有序数组|9|https://leetcode-cn.com/problems/merge-sorted-array| 63 | |543. 二叉树的直径|9|https://leetcode-cn.com/problems/diameter-of-binary-tree| 64 | |113. 路径总和 II|9|https://leetcode-cn.com/problems/path-sum-ii| 65 | |94. 二叉树的中序遍历|9|https://leetcode-cn.com/problems/binary-tree-inorder-traversal| 66 | |128. 最长连续序列|8|https://leetcode-cn.com/problems/longest-consecutive-sequence| 67 | |22. 括号生成|8|https://leetcode-cn.com/problems/generate-parentheses| 68 | |24. 两两交换链表中的节点|8|https://leetcode-cn.com/problems/swap-nodes-in-pairs| 69 | |93. 复原IP地址|8|https://leetcode-cn.com/problems/restore-ip-addresses| 70 | |739. 每日温度|8|https://leetcode-cn.com/problems/daily-temperatures| 71 | |79. 单词搜索|8|https://leetcode-cn.com/problems/word-search| 72 | |补充题4. 手撕快速排序|8|https://leetcode-cn.com/problems/sort-an-array| 73 | |补充题9. 36进制加法|8|https://mp.weixin.qq.com/s/bgD1Q5lc92mX7RNS1L65qA| 74 | |70. 爬楼梯|7|https://leetcode-cn.com/problems/climbing-stairs| 75 | |8. 字符串转换整数 (atoi)|7|https://leetcode-cn.com/problems/string-to-integer-atoi| 76 | |19. 删除链表的倒数第N个节点|7|https://leetcode-cn.com/problems/remove-nth-node-from-end-of-list| 77 | |114. 二叉树展开为链表|7|https://leetcode-cn.com/problems/flatten-binary-tree-to-linked-list| 78 | |240. 搜索二维矩阵 II|7|https://leetcode-cn.com/problems/search-a-2d-matrix-ii| 79 | |78. 子集|7|https://leetcode-cn.com/problems/subsets| 80 | |82. 删除排序链表中的重复元素 II|7|https://leetcode-cn.com/problems/remove-duplicates-from-sorted-list-ii| 81 | |230. 二叉搜索树中第K小的元素|6|https://leetcode-cn.com/problems/kth-smallest-element-in-a-bst| 82 | |110. 平衡二叉树|6|https://leetcode-cn.com/problems/balanced-binary-tree| 83 | |221. 最大正方形|6|https://leetcode-cn.com/problems/maximal-square| 84 | |138. 复制带随机指针的链表|6|https://leetcode-cn.com/problems/copy-list-with-random-pointer| 85 | |64. 最小路径和|6|https://leetcode-cn.com/problems/minimum-path-sum| 86 | |剑指 Offer 22. 链表中倒数第k个节点|6|https://leetcode-cn.com/problems/lian-biao-zhong-dao-shu-di-kge-jie-dian-lcof| 87 | |224. 基本计算器|6|https://leetcode-cn.com/problems/basic-calculator| 88 | |662. 二叉树最大宽度|6|https://leetcode-cn.com/problems/maximum-width-of-binary-tree| 89 | |226. 翻转二叉树|6|https://leetcode-cn.com/problems/invert-binary-tree| 90 | |862. 和至少为 K 的最短子数组|6|https://leetcode-cn.com/problems/shortest-subarray-with-sum-at-least-k| 91 | |440. 字典序的第K小数字|6|https://leetcode-cn.com/problems/k-th-smallest-in-lexicographical-order| 92 | |11. 盛最多水的容器|6|https://leetcode-cn.com/problems/container-with-most-water| 93 | |补充题7. 木头切割问题|6|https://mp.weixin.qq.com/s/o-1VJO2TQZjC5ROmV7CReA| 94 | |556. 下一个更大元素 III|6|https://leetcode-cn.com/problems/next-greater-element-iii| 95 | |剑指 Offer 54. 二叉搜索树的第k大节点|5|https://leetcode-cn.com/problems/er-cha-sou-suo-shu-de-di-kda-jie-dian-lcof| 96 | |108. 将有序数组转换为二叉搜索树|5|https://leetcode-cn.com/problems/convert-sorted-array-to-binary-search-tree| 97 | |112. 路径总和|5|https://leetcode-cn.com/problems/path-sum| 98 | |1143. 最长公共子序列|5|https://leetcode-cn.com/problems/longest-common-subsequence| 99 | |297. 二叉树的序列化与反序列化|5|https://leetcode-cn.com/problems/serialize-and-deserialize-binary-tree| 100 | |560. 和为K的子数组|5|https://leetcode-cn.com/problems/subarray-sum-equals-k| 101 | |695. 岛屿的最大面积|5|https://leetcode-cn.com/problems/max-area-of-island| 102 | |670. 最大交换|5|https://leetcode-cn.com/problems/maximum-swap| 103 | |421. 数组中两个数的最大异或值|5|https://leetcode-cn.com/problems/maximum-xor-of-two-numbers-in-an-array| 104 | |129. 求根到叶子节点数字之和|5|https://leetcode-cn.com/problems/sum-root-to-leaf-numbers| 105 | |135. 分发糖果|5|https://leetcode-cn.com/problems/candy| 106 | |151. 翻转字符串里的单词|5|https://leetcode-cn.com/problems/reverse-words-in-a-string| 107 | |287. 寻找重复数|5|https://leetcode-cn.com/problems/find-the-duplicate-number| 108 | |209. 长度最小的子数组|5|https://leetcode-cn.com/problems/minimum-size-subarray-sum| 109 | |91. 解码方法|5|https://leetcode-cn.com/problems/decode-ways| 110 | |718. 最长重复子数组|5|https://leetcode-cn.com/problems/maximum-length-of-repeated-subarray| 111 | |补充题23. 检测循环依赖|5|https://mp.weixin.qq.com/s/q6AhBt6MX2RL_HNZc8cYKQ| 112 | |328. 奇偶链表|4|https://leetcode-cn.com/problems/odd-even-linked-list| 113 | |460. LFU缓存|4|https://leetcode-cn.com/problems/lfu-cache| 114 | |剑指 Offer 11. 旋转数组的最小数字|4|https://leetcode-cn.com/problems/xuan-zhuan-shu-zu-de-zui-xiao-shu-zi-lcof| 115 | |704. 二分查找|4|https://leetcode-cn.com/problems/binary-search| 116 | |61. 旋转链表|4|https://leetcode-cn.com/problems/rotate-list| 117 | |剑指 Offer 36. 二叉搜索树与双向链表|4|https://leetcode-cn.com/problems/er-cha-sou-suo-shu-yu-shuang-xiang-lian-biao-lcof| 118 | |40. 组合总和 II|4|https://leetcode-cn.com/problems/combination-sum-ii| 119 | |1047. 删除字符串中的所有相邻重复项|4|https://leetcode-cn.com/problems/remove-all-adjacent-duplicates-in-string| 120 | |169. 多数元素|4|https://leetcode-cn.com/problems/majority-element| 121 | |4. 寻找两个正序数组的中位数|4|https://leetcode-cn.com/problems/median-of-two-sorted-arrays| 122 | |456. 132模式|4|https://leetcode-cn.com/problems/132-pattern| 123 | |528. 按权重随机选择|4|https://leetcode-cn.com/problems/random-pick-with-weight| 124 | |239. 滑动窗口最大值|4|https://leetcode-cn.com/problems/sliding-window-maximum| 125 | |1095. 山脉数组中查找目标值|4|https://leetcode-cn.com/problems/find-in-mountain-array| 126 | |59. 螺旋矩阵 II|4|https://leetcode-cn.com/problems/spiral-matrix-ii| 127 | |153. 寻找旋转排序数组中的最小值|4|https://leetcode-cn.com/problems/find-minimum-in-rotated-sorted-array| 128 | |补充题3. 求区间最小数乘区间和的最大值|4|https://mp.weixin.qq.com/s/ABNN4lJpvttulwWaUTgYZQ| 129 | |剑指 Offer 61. 扑克牌中的顺子|3|https://leetcode-cn.com/problems/bu-ke-pai-zhong-de-shun-zi-lcof| 130 | |977. 有序数组的平方|3|https://leetcode-cn.com/problems/squares-of-a-sorted-array| 131 | |283. 移动零|3|https://leetcode-cn.com/problems/move-zeroes| 132 | |166. 分数到小数|3|https://leetcode-cn.com/problems/fraction-to-recurring-decimal| 133 | |264. 丑数 II|3|https://leetcode-cn.com/problems/ugly-number-ii| 134 | |62. 不同路径|3|https://leetcode-cn.com/problems/unique-paths| 135 | |剑指 Offer 51. 数组中的逆序对|3|https://leetcode-cn.com/problems/shu-zu-zhong-de-ni-xu-dui-lcof| 136 | |188. 买卖股票的最佳时机 IV|3|https://leetcode-cn.com/problems/best-time-to-buy-and-sell-stock-iv| 137 | |210. 课程表 II|3|https://leetcode-cn.com/problems/course-schedule-ii| 138 | |402. 移掉K位数字|3|https://leetcode-cn.com/problems/remove-k-digits| 139 | |104. 二叉树的最大深度|3|https://leetcode-cn.com/problems/maximum-depth-of-binary-tree| 140 | |134. 加油站|3|https://leetcode-cn.com/problems/gas-station| 141 | |722. 删除注释|3|https://leetcode-cn.com/problems/remove-comments| 142 | |72. 编辑距离|3|https://leetcode-cn.com/problems/edit-distance| 143 | |329. 矩阵中的最长递增路径|3|https://leetcode-cn.com/problems/longest-increasing-path-in-a-matrix| 144 | |剑指 Offer 46. 把数字翻译成字符串|3|https://leetcode-cn.com/problems/ba-shu-zi-fan-yi-cheng-zi-fu-chuan-lcof| 145 | |165. 比较版本号|3|https://leetcode-cn.com/problems/compare-version-numbers| 146 | |补充题6. 手撕堆排序|3|https://leetcode-cn.com/problems/sort-an-array| 147 | |887. 鸡蛋掉落|3|https://leetcode-cn.com/problems/super-egg-drop| 148 | |106. 从中序与后序遍历序列构造二叉树|3|https://leetcode-cn.com/problems/construct-binary-tree-from-inorder-and-postorder-traversal| 149 | |498. 对角线遍历|3|https://leetcode-cn.com/problems/diagonal-traverse| 150 | |763. 划分字母区间|3|https://leetcode-cn.com/problems/partition-labels| 151 | |354. 俄罗斯套娃信封问题|3|https://leetcode-cn.com/problems/russian-doll-envelopes| 152 | |剑指 Offer 53 - I. 在排序数组中查找数字 I|3|https://leetcode-cn.com/problems/zai-pai-xu-shu-zu-zhong-cha-zhao-shu-zi-lcof| 153 | |767. 重构字符串|3|https://leetcode-cn.com/problems/reorganize-string| 154 | |1254. 统计封闭岛屿的数目|2|https://leetcode-cn.com/problems/number-of-closed-islands| 155 | |剑指 Offer 09. 用两个栈实现队列|2|https://leetcode-cn.com/problems/yong-liang-ge-zhan-shi-xian-dui-lie-lcof| 156 | |139. 单词拆分|2|https://leetcode-cn.com/problems/word-break| 157 | |503. 下一个更大元素 II|2|https://leetcode-cn.com/problems/next-greater-element-ii| 158 | |347. 前 K 个高频元素|2|https://leetcode-cn.com/problems/top-k-frequent-elements| 159 | |剑指 Offer 10- II. 青蛙跳台阶问题|2|https://leetcode-cn.com/problems/qing-wa-tiao-tai-jie-wen-ti-lcof| 160 | |剑指 Offer 45. 把数组排成最小的数|2|https://leetcode-cn.com/problems/ba-shu-zu-pai-cheng-zui-xiao-de-shu-lcof| 161 | |99. 恢复二叉搜索树|2|https://leetcode-cn.com/problems/recover-binary-search-tree| 162 | |125. 验证回文串|2|https://leetcode-cn.com/problems/valid-palindrome| 163 | |523. 连续的子数组和|2|https://leetcode-cn.com/problems/continuous-subarray-sum| 164 | |剑指 Offer 48. 最长不含重复字符的子字符串|2|https://leetcode-cn.com/problems/zui-chang-bu-han-zhong-fu-zi-fu-de-zi-zi-fu-chuan-lcof| 165 | |剑指 Offer 04. 二维数组中的查找|2|https://leetcode-cn.com/problems/er-wei-shu-zu-zhong-de-cha-zhao-lcof| 166 | |面试题 03.05. 栈排序|2|https://leetcode-cn.com/problems/sort-of-stacks-lcci| 167 | |394. 字符串解码|2|https://leetcode-cn.com/problems/decode-string| 168 | |208. 实现 Trie (前缀树)|2|https://leetcode-cn.com/problems/implement-trie-prefix-tree| 169 | |剑指 Offer 19. 正则表达式匹配|2|https://leetcode-cn.com/problems/zheng-ze-biao-da-shi-pi-pei-lcof| 170 | |895. 最大频率栈|2|https://leetcode-cn.com/problems/maximum-frequency-stack| 171 | |145. 二叉树的后序遍历|2|https://leetcode-cn.com/problems/binary-tree-postorder-traversal| 172 | |398. 随机数索引|2|https://leetcode-cn.com/problems/random-pick-index| 173 | |45. 跳跃游戏 II|2|https://leetcode-cn.com/problems/jump-game-ii| 174 | |152. 乘积最大子数组|2|https://leetcode-cn.com/problems/maximum-product-subarray| 175 | |50. Pow(x, n)|2|https://leetcode-cn.com/problems/powx-n| 176 | |71. 简化路径|2|https://leetcode-cn.com/problems/simplify-path| 177 | |416. 分割等和子集|2|https://leetcode-cn.com/problems/partition-equal-subset-sum| 178 | |340. 至多包含 K 个不同字符的最长子串|2|https://leetcode-cn.com/problems/longest-substring-with-at-most-k-distinct-characters| 179 | |668. 乘法表中第k小的数|2|https://leetcode-cn.com/problems/kth-smallest-number-in-multiplication-table| 180 | |86. 分隔链表|2|https://leetcode-cn.com/problems/partition-list| 181 | |120. 三角形最小路径和|2|https://leetcode-cn.com/problems/triangle| 182 | |123. 买卖股票的最佳时机 III|2|https://leetcode-cn.com/problems/best-time-to-buy-and-sell-stock-iii| 183 | |147. 对链表进行插入排序|2|https://leetcode-cn.com/problems/insertion-sort-list| 184 | |785. 判断二分图|2|https://leetcode-cn.com/problems/is-graph-bipartite| 185 | |468. 验证IP地址|2|https://leetcode-cn.com/problems/validate-ip-address| 186 | |295. 数据流的中位数|2|https://leetcode-cn.com/problems/find-median-from-data-stream| 187 | |144. 二叉树的前序遍历|2|https://leetcode-cn.com/problems/binary-tree-preorder-traversal| 188 | |404. 左叶子之和|2|https://leetcode-cn.com/problems/sum-of-left-leaves| 189 | |10. 正则表达式匹配|2|https://leetcode-cn.com/problems/regular-expression-matching| 190 | |84. 柱状图中最大的矩形|2|https://leetcode-cn.com/problems/largest-rectangle-in-histogram| 191 | |136. 只出现一次的数字|2|https://leetcode-cn.com/problems/single-number| 192 | |43. 字符串相乘|2|https://leetcode-cn.com/problems/multiply-strings| 193 | |974. 和可被 K 整除的子数组|2|https://leetcode-cn.com/problems/subarray-sums-divisible-by-k| 194 | |18. 四数之和|2|https://leetcode-cn.com/problems/4sum| 195 | |剑指 Offer 27. 二叉树的镜像|2|https://leetcode-cn.com/problems/er-cha-shu-de-jing-xiang-lcof| 196 | |922. 按奇偶排序数组 II|2|https://leetcode-cn.com/problems/sort-array-by-parity-ii| 197 | |75. 颜色分类|2|https://leetcode-cn.com/problems/sort-colors| 198 | |191. 位1的个数|2|https://leetcode-cn.com/problems/number-of-1-bits| 199 | |225. 用队列实现栈|2|https://leetcode-cn.com/problems/implement-stack-using-queues| 200 | |647. 回文子串|2|https://leetcode-cn.com/problems/palindromic-substrings| 201 | |60. 第k个排列|2|https://leetcode-cn.com/problems/permutation-sequence| 202 | |34. 在排序数组中查找元素的第一个和最后一个位置|2|https://leetcode-cn.com/problems/find-first-and-last-position-of-element-in-sorted-array| 203 | |补充题10. 36进制减法|2|https://mp.weixin.qq.com/s/_A2Ctn3kDa21NPlpF9y-hg| 204 | |补充题5. 手撕归并排序|2|https://leetcode-cn.com/problems/sort-an-array| 205 | |189. 旋转数组|2|https://leetcode-cn.com/problems/rotate-array| 206 | |74. 搜索二维矩阵|2|https://leetcode-cn.com/problems/search-a-2d-matrix| 207 | |补充题14. 阿拉伯数字转中文数字|2|| 208 | |227. 基本计算器 II|2|https://leetcode-cn.com/problems/basic-calculator-ii| 209 | |剑指 Offer 03. 数组中重复的数字|2|https://leetcode-cn.com/problems/shu-zu-zhong-zhong-fu-de-shu-zi-lcof| 210 | |7. 整数反转|2|https://leetcode-cn.com/problems/reverse-integer| 211 | |443. 压缩字符串|2|https://leetcode-cn.com/problems/string-compression| 212 | |381. O(1) 时间插入、删除和获取随机元素 - 允许重复|2|https://leetcode-cn.com/problems/insert-delete-getrandom-o1-duplicates-allowed| 213 | |剑指 Offer 52. 两个链表的第一个公共节点|1|https://leetcode-cn.com/problems/liang-ge-lian-biao-de-di-yi-ge-gong-gong-jie-dian-lcof| 214 | |111. 二叉树的最小深度|1|https://leetcode-cn.com/problems/minimum-depth-of-binary-tree| 215 | |994. 腐烂的橘子|1|https://leetcode-cn.com/problems/rotting-oranges| 216 | |344. 反转字符串|1|https://leetcode-cn.com/problems/reverse-string| 217 | |1299. 将每个元素替换为右侧最大元素|1|https://leetcode-cn.com/problems/replace-elements-with-greatest-element-on-right-side| 218 | |67. 二进制求和|1|https://leetcode-cn.com/problems/add-binary| 219 | |515. 在每个树行中找最大值|1|https://leetcode-cn.com/problems/find-largest-value-in-each-tree-row| 220 | |1147. 段式回文|1|https://leetcode-cn.com/problems/longest-chunked-palindrome-decomposition| 221 | |876. 链表的中间结点|1|https://leetcode-cn.com/problems/middle-of-the-linked-list| 222 | |100. 相同的树|1|https://leetcode-cn.com/problems/same-tree| 223 | |842. 将数组拆分成斐波那契序列|1|https://leetcode-cn.com/problems/split-array-into-fibonacci-sequence| 224 | |剑指 Offer 33. 二叉搜索树的后序遍历序列|1|https://leetcode-cn.com/problems/er-cha-sou-suo-shu-de-hou-xu-bian-li-xu-lie-lcof| 225 | |剑指 Offer 38. 字符串的排列|1|https://leetcode-cn.com/problems/zi-fu-chuan-de-pai-lie-lcof| 226 | |剑指 Offer 24. 反转链表|1|https://leetcode-cn.com/problems/fan-zhuan-lian-biao-lcof| 227 | |剑指 Offer 53 - II. 0~n-1中缺失的数字|1|https://leetcode-cn.com/problems/que-shi-de-shu-zi-lcof| 228 | |701. 二叉搜索树中的插入操作|1|https://leetcode-cn.com/problems/insert-into-a-binary-search-tree| 229 | |349. 两个数组的交集|1|https://leetcode-cn.com/problems/intersection-of-two-arrays| 230 | |1156. 单字符重复子串的最大长度|1|https://leetcode-cn.com/problems/swap-for-longest-repeated-character-substring| 231 | |449. 序列化和反序列化二叉搜索树|1|https://leetcode-cn.com/problems/serialize-and-deserialize-bst| 232 | |剑指 Offer 21. 调整数组顺序使奇数位于偶数前面|1|https://leetcode-cn.com/problems/diao-zheng-shu-zu-shun-xu-shi-qi-shu-wei-yu-ou-shu-qian-mian-lcof| 233 | |面试题 08.12. 八皇后|1|https://leetcode-cn.com/problems/eight-queens-lcci| 234 | |37. 解数独|1|https://leetcode-cn.com/problems/sudoku-solver| 235 | |410. 分割数组的最大值|1|https://leetcode-cn.com/problems/split-array-largest-sum| 236 | |694. 不同岛屿的数量|1|https://leetcode-cn.com/problems/number-of-distinct-islands| 237 | |剑指 Offer 18. 删除链表的节点|1|https://leetcode-cn.com/problems/shan-chu-lian-biao-de-jie-dian-lcof| 238 | |912. 排序数组|1|https://leetcode-cn.com/problems/sort-an-array| 239 | |173. 二叉搜索树迭代器|1|https://leetcode-cn.com/problems/binary-search-tree-iterator| 240 | |1139. 最大的以 1 为边界的正方形|1|https://leetcode-cn.com/problems/largest-1-bordered-square| 241 | |剑指 Offer 25. 合并两个排序的链表|1|https://leetcode-cn.com/problems/he-bing-liang-ge-pai-xu-de-lian-biao-lcof| 242 | |325. 和等于 k 的最长子数组长度|1|https://leetcode-cn.com/problems/maximum-size-subarray-sum-equals-k| 243 | |1363. 形成三的最大倍数|1|https://leetcode-cn.com/problems/largest-multiple-of-three| 244 | |951. 翻转等价二叉树|1|https://leetcode-cn.com/problems/flip-equivalent-binary-trees| 245 | |107. 二叉树的层次遍历 II|1|https://leetcode-cn.com/problems/binary-tree-level-order-traversal-ii| 246 | |637. 二叉树的层平均值|1|https://leetcode-cn.com/problems/average-of-levels-in-binary-tree| 247 | |277. 搜寻名人|1|https://leetcode-cn.com/problems/find-the-celebrity| 248 | |154. 寻找旋转排序数组中的最小值 II|1|https://leetcode-cn.com/problems/find-minimum-in-rotated-sorted-array-ii| 249 | |321. 拼接最大数|1|https://leetcode-cn.com/problems/create-maximum-number| 250 | |525. 连续数组|1|https://leetcode-cn.com/problems/contiguous-array| 251 | |剑指 Offer 58 - II. 左旋转字符串|1|https://leetcode-cn.com/problems/zuo-xuan-zhuan-zi-fu-chuan-lcof| 252 | |97. 交错字符串|1|https://leetcode-cn.com/problems/interleaving-string| 253 | |204. 计数质数|1|https://leetcode-cn.com/problems/count-primes| 254 | |202. 快乐数|1|https://leetcode-cn.com/problems/happy-number| 255 | |1669. 合并两个链表|1|https://leetcode-cn.com/problems/merge-in-between-linked-lists| 256 | |807. 保持城市天际线|1|https://leetcode-cn.com/problems/max-increase-to-keep-city-skyline| 257 | |889. 根据前序和后序遍历构造二叉树|1|https://leetcode-cn.com/problems/construct-binary-tree-from-preorder-and-postorder-traversal| 258 | |剑指 Offer 05. 替换空格|1|https://leetcode-cn.com/problems/ti-huan-kong-ge-lcof| 259 | |279. 完全平方数|1|https://leetcode-cn.com/problems/perfect-squares| 260 | |17. 电话号码的字母组合|1|https://leetcode-cn.com/problems/letter-combinations-of-a-phone-number| 261 | |459. 重复的子字符串|1|https://leetcode-cn.com/problems/repeated-substring-pattern| 262 | |剑指 Offer 59 - II. 队列的最大值|1|https://leetcode-cn.com/problems/dui-lie-de-zui-da-zhi-lcof| 263 | |260. 只出现一次的数字 III|1|https://leetcode-cn.com/problems/single-number-iii| 264 | |14. 最长公共前缀|1|https://leetcode-cn.com/problems/longest-common-prefix| 265 | |1438. 绝对差不超过限制的最长连续子数组|1|https://leetcode-cn.com/problems/longest-continuous-subarray-with-absolute-diff-less-than-or-equal-to-limit| 266 | |剑指 Offer 62. 圆圈中最后剩下的数字|1|https://leetcode-cn.com/problems/yuan-quan-zhong-zui-hou-sheng-xia-de-shu-zi-lcof| 267 | |836. 矩形重叠|1|https://leetcode-cn.com/problems/rectangle-overlap| 268 | |1172. 餐盘栈|1|https://leetcode-cn.com/problems/dinner-plate-stacks| 269 | |547. 省份数量(原朋友圈)|1|https://leetcode-cn.com/problems/number-of-provinces| 270 | |面试题 17.24. 最大子矩阵|1|https://leetcode-cn.com/problems/max-submatrix-lcci| 271 | |1302. 层数最深叶子节点的和|1|https://leetcode-cn.com/problems/deepest-leaves-sum| 272 | |448. 找到所有数组中消失的数字|1|https://leetcode-cn.com/problems/find-all-numbers-disappeared-in-an-array| 273 | |127. 单词接龙|1|https://leetcode-cn.com/problems/word-ladder| 274 | |剑指 Offer 55 - II. 平衡二叉树|1|https://leetcode-cn.com/problems/ping-heng-er-cha-shu-lcof| 275 | |剑指 Offer 55 - I. 二叉树的深度|1|https://leetcode-cn.com/problems/er-cha-shu-de-shen-du-lcof| 276 | |面试题 08.05. 递归乘法|1|https://leetcode-cn.com/problems/recursive-mulitply-lcci| 277 | |179. 最大数|1|https://leetcode-cn.com/problems/largest-number| 278 | |1107. 每日新用户统计|1|https://leetcode-cn.com/problems/new-users-daily-count| 279 | |剑指 Offer 10- I. 斐波那契数列|1|https://leetcode-cn.com/problems/fei-bo-na-qi-shu-lie-lcof| 280 | |63. 不同路径 II|1|https://leetcode-cn.com/problems/unique-paths-ii| 281 | |397. 整数替换|1|https://leetcode-cn.com/problems/integer-replacement| 282 | |564. 寻找最近的回文数|1|https://leetcode-cn.com/problems/find-the-closest-palindrome| 283 | |765. 情侣牵手|1|https://leetcode-cn.com/problems/couples-holding-hands| 284 | |80. 删除排序数组中的重复项 II|1|https://leetcode-cn.com/problems/remove-duplicates-from-sorted-array-ii| 285 | |77. 组合|1|https://leetcode-cn.com/problems/combinations| 286 | |378. 有序矩阵中第K小的元素|1|https://leetcode-cn.com/problems/kth-smallest-element-in-a-sorted-matrix| 287 | |384. 打乱数组|1|https://leetcode-cn.com/problems/shuffle-an-array| 288 | |剑指 Offer 56 - I. 数组中数字出现的次数|1|https://leetcode-cn.com/problems/shu-zu-zhong-shu-zi-chu-xian-de-ci-shu-lcof| 289 | |28. 实现 strStr()|1|https://leetcode-cn.com/problems/implement-strstr| 290 | |剑指 Offer 32 - III. 从上到下打印二叉树 III|1|https://leetcode-cn.com/problems/cong-shang-dao-xia-da-yin-er-cha-shu-iii-lcof| 291 | |207. 课程表|1|https://leetcode-cn.com/problems/course-schedule| 292 | |253. 会议室 II|1|https://leetcode-cn.com/problems/meeting-rooms-ii| 293 | |386. 字典序排数|1|https://leetcode-cn.com/problems/lexicographical-numbers| 294 | |面试题 03.03. 堆盘子|1|https://leetcode-cn.com/problems/stack-of-plates-lcci| 295 | |331. 验证二叉树的前序序列化|1|https://leetcode-cn.com/problems/verify-preorder-serialization-of-a-binary-tree| 296 | |剑指 Offer 28. 对称的二叉树|1|https://leetcode-cn.com/problems/dui-cheng-de-er-cha-shu-lcof| 297 | |剑指 Offer 68 - II. 二叉树的最近公共祖先|1|https://leetcode-cn.com/problems/er-cha-shu-de-zui-jin-gong-gong-zu-xian-lcof| 298 | |47. 全排列 II|1|https://leetcode-cn.com/problems/permutations-ii| 299 | |848. 字母移位|1|https://leetcode-cn.com/problems/shifting-letters| 300 | |6. Z 字形变换|1|https://leetcode-cn.com/problems/zigzag-conversion| 301 | |990. 等式方程的可满足性|1|https://leetcode-cn.com/problems/satisfiability-of-equality-equations| 302 | |567. 字符串的排列|1|https://leetcode-cn.com/problems/permutation-in-string| 303 | |496. 下一个更大元素 I|1|https://leetcode-cn.com/problems/next-greater-element-i| 304 | |967. 连续差相同的数字|1|https://leetcode-cn.com/problems/numbers-with-same-consecutive-differences| 305 | |1405. 最长快乐字符串|1|https://leetcode-cn.com/problems/longest-happy-string| 306 | |85. 最大矩形|1|https://leetcode-cn.com/problems/maximal-rectangle| 307 | |1353. 最多可以参加的会议数目|1|https://leetcode-cn.com/problems/maximum-number-of-events-that-can-be-attended| 308 | |81. 搜索旋转排序数组 II|1|https://leetcode-cn.com/problems/search-in-rotated-sorted-array-ii| 309 | |1574. 删除最短的子数组使剩余数组有序|1|https://leetcode-cn.com/problems/shortest-subarray-to-be-removed-to-make-array-sorted| 310 | |44. 通配符匹配|1|https://leetcode-cn.com/problems/wildcard-matching| 311 | |949. 给定数字能组成的最大时间|1|https://leetcode-cn.com/problems/largest-time-for-given-digits| 312 | |703. 数据流中的第K大元素|1|https://leetcode-cn.com/problems/kth-largest-element-in-a-stream| 313 | |剑指 Offer 31. 栈的压入、弹出序列|1|https://leetcode-cn.com/problems/zhan-de-ya-ru-dan-chu-xu-lie-lcof| 314 | |213. 打家劫舍 II|1|https://leetcode-cn.com/problems/house-robber-ii| --------------------------------------------------------------------------------