├── README.md ├── alibaba ├── algorithm.md ├── backend.md ├── client.md ├── data.md ├── frontend.md └── test.md ├── amazon └── SDE.md ├── baidu ├── algorithm.md ├── backend.md ├── client.md ├── frontend.md └── test.md ├── bytedance ├── algorithm.md ├── backend.md ├── client.md ├── data.md ├── frontend.md ├── latest │ ├── algorithm.md │ ├── backend.md │ ├── client.md │ ├── frontend.md │ └── test.md └── test.md ├── img ├── logo.jpg └── wechat.png ├── kuaishou ├── algorithm.md ├── backend.md ├── client.md ├── data.md ├── frontend.md └── test.md ├── meituan ├── algorithm.md ├── backend.md ├── client.md ├── data.md ├── frontend.md └── test.md ├── microsoft └── SDE.md ├── shopee ├── algorithm.md ├── backend.md ├── client.md ├── data.md ├── frontend.md └── test.md ├── tencent ├── algorithm.md ├── backend.md ├── client.md ├── frontend.md └── test.md └── yuanfudao ├── algorithm.md ├── backend.md ├── client.md ├── data.md ├── frontend.md └── test.md /README.md: -------------------------------------------------------------------------------- 1 | # LeetcodeTop 2 | 本仓库用于汇总互联网公司技术岗考察Leetcode题目的热度:fire:,帮助同学们更加有针对性地准备面试。 3 | 4 | 频度数据都是我人工整理面经而得,这耗费我非常多的精力。希望你可以点个star⭐,给我一点坚持下去的动力,感激不尽! 5 | 6 | 我开发的**CodeTop网站**([https://codetop.cc](https://codetop.cc)),支持按**公司**、**部门**、**岗位**组合查询仓库中的数据,方便大家高效检索。 7 | 8 | > 点击下载[大厂面经导航.xlsx](https://pan.baidu.com/s/1yCCeNMb0FNCJKDIE6EASYA),提取码【lrp3】。面经导航包括我汇总过的几千篇面经,支持按部门、岗位定位面经链接,覆盖字节跳动、腾讯、美团、快手、虾皮等公司。 9 | 10 | 相对于力扣官方企业题库,本仓库有以下优点 11 | 12 | 1. 免费开放:汇总的高频题目免费分享给大家 13 | 2. 分类精细:按公司、部门1、岗位进行分类,方便大家更针对性地准备面试 14 | 3. 题源可靠:全网收录题目考察情况2,渠道不限于牛客、CSDN博客、热心网友分享等 15 | 4. 本土特色:汇总办公地位于中国大陆的互联网企业 16 | 17 | 注1:若想按部门查询题目,请在[CodeTop网站](http://codetop.cc)或CodeTop小程序查看
18 | 注2:为保证数据真实可信,[issues](https://github.com/afatcoder/LeetcodeTop/issues)中会声名了所有涉及的原文链接 19 | 20 | :speech_balloon:面试交流:若想加入大厂面试真题交流群,请在公众号「一个搬砖的胖子」后台回复「加群」,添加我的微信后即被拉群 21 | 22 | ![公众号:一个搬砖的胖子](https://github.com/afatcoder/LeetcodeTop/blob/master/img/wechat.png) 23 | 24 | :information_source:数据来源:牛客网笔经面经,题目的原始文章链接已放在[issues](https://github.com/afatcoder/LeetcodeTop/issues)中 25 | 26 | :warning:使用本仓库的频度数据或转载文章,需注明本仓库地址!侵权必究! 27 | 28 | 29 | ## 微软中国(更新至牛客2021.8.20的面经) 30 | - [SDE](https://github.com/afatcoder/LeetcodeTop/blob/master/microsoft/SDE.md) 31 | 32 | ## 虾皮shopee(更新至虾皮2021.7.28的面经) 33 |
34 | 按岗位分类 35 | 36 | - [后端](https://github.com/afatcoder/LeetcodeTop/blob/master/shopee/backend.md) 37 | - [算法](https://github.com/afatcoder/LeetcodeTop/blob/master/shopee/algorithm.md) 38 | - [客户端](https://github.com/afatcoder/LeetcodeTop/blob/master/shopee/client.md) 39 | - [前端](https://github.com/afatcoder/LeetcodeTop/blob/master/shopee/frontend.md) 40 | - [测试](https://github.com/afatcoder/LeetcodeTop/blob/master/shopee/test.md) 41 | - [数据开发](https://github.com/afatcoder/LeetcodeTop/blob/master/shopee/data.md) 42 |
43 | 44 | 45 | ## 字节跳动(更新至牛客2021.7.19的面经) 46 |
47 | 按岗位分类 48 | 49 | - [后端](https://github.com/afatcoder/LeetcodeTop/blob/master/bytedance/backend.md) 50 | - [算法](https://github.com/afatcoder/LeetcodeTop/blob/master/bytedance/algorithm.md) 51 | - [客户端](https://github.com/afatcoder/LeetcodeTop/blob/master/bytedance/client.md) 52 | - [前端](https://github.com/afatcoder/LeetcodeTop/blob/master/bytedance/frontend.md) 53 | - [测试](https://github.com/afatcoder/LeetcodeTop/blob/master/bytedance/test.md) 54 | - [数据开发](https://github.com/afatcoder/LeetcodeTop/blob/master/bytedance/data.md) 55 |
56 | 57 | ## 亚马逊中国(更新至牛客2021.6.9的面经) 58 | - [SDE](https://github.com/afatcoder/LeetcodeTop/blob/master/amazon/SDE.md) 59 | 60 | ## 美团(更新至牛客2021.4.23面经) 61 |
62 | 按岗位分类 63 | 64 | - [后端](https://github.com/afatcoder/LeetcodeTop/blob/master/meituan/backend.md) 65 | - [算法](https://github.com/afatcoder/LeetcodeTop/blob/master/meituan/algorithm.md) 66 | - [客户端](https://github.com/afatcoder/LeetcodeTop/blob/master/meituan/client.md) 67 | - [前端](https://github.com/afatcoder/LeetcodeTop/blob/master/meituan/frontend.md) 68 | - [测试](https://github.com/afatcoder/LeetcodeTop/blob/master/meituan/test.md) 69 | - [数据开发](https://github.com/afatcoder/LeetcodeTop/blob/master/meituan/data.md) 70 |
71 | 72 | ## 腾讯(更新至牛客2021.4.12的面经) 73 |
74 | 按岗位分类 75 | 76 | - [后端](https://github.com/afatcoder/LeetcodeTop/blob/master/tencent/backend.md) 77 | - [算法](https://github.com/afatcoder/LeetcodeTop/blob/master/tencent/algorithm.md) 78 | - [客户端](https://github.com/afatcoder/LeetcodeTop/blob/master/tencent/client.md) 79 | - [前端](https://github.com/afatcoder/LeetcodeTop/blob/master/tencent/frontend.md) 80 | - [测试](https://github.com/afatcoder/LeetcodeTop/blob/master/tencent/test.md) 81 |
82 | 83 | ## 猿辅导(更新至牛客3.5日的面经) 84 |
85 | 按岗位分类 86 | 87 | - [后端](https://github.com/afatcoder/LeetcodeTop/blob/master/yuanfudao/backend.md) 88 | - [算法](https://github.com/afatcoder/LeetcodeTop/blob/master/yuanfudao/algorithm.md) 89 | - [客户端](https://github.com/afatcoder/LeetcodeTop/blob/master/yuanfudao/client.md) 90 | - [前端](https://github.com/afatcoder/LeetcodeTop/blob/master/yuanfudao/frontend.md) 91 | - [测试](https://github.com/afatcoder/LeetcodeTop/blob/master/yuanfudao/test.md) 92 | - [数据开发](https://github.com/afatcoder/LeetcodeTop/blob/master/yuanfudao/data.md) 93 |
94 | 95 | ## 快手(更新至牛客3.5日的面经) 96 |
97 | 按岗位分类 98 | 99 | - [后端](https://github.com/afatcoder/LeetcodeTop/blob/master/kuaishou/backend.md) 100 | - [算法](https://github.com/afatcoder/LeetcodeTop/blob/master/kuaishou/algorithm.md) 101 | - [客户端](https://github.com/afatcoder/LeetcodeTop/blob/master/kuaishou/client.md) 102 | - [前端](https://github.com/afatcoder/LeetcodeTop/blob/master/kuaishou/frontend.md) 103 | - [测试](https://github.com/afatcoder/LeetcodeTop/blob/master/kuaishou/test.md) 104 | - [数据开发](https://github.com/afatcoder/LeetcodeTop/blob/master/kuaishou/data.md) 105 |
106 | 107 | 108 | ## 百度(更新至牛客8.7日的面经) 109 |
110 | 按岗位分类 111 | 112 | - [后端](https://github.com/afatcoder/LeetcodeTop/blob/master/baidu/backend.md) 113 | - [算法](https://github.com/afatcoder/LeetcodeTop/blob/master/baidu/algorithm.md) 114 | - [客户端](https://github.com/afatcoder/LeetcodeTop/blob/master/baidu/client.md) 115 | - [前端](https://github.com/afatcoder/LeetcodeTop/blob/master/baidu/frontend.md) 116 | - [测试](https://github.com/afatcoder/LeetcodeTop/blob/master/baidu/test.md) 117 |
118 | 119 | 120 | ## 阿里巴巴 121 |
122 | 按岗位分类 123 | 124 | - [后端](https://github.com/afatcoder/LeetcodeTop/blob/master/alibaba/backend.md) 125 | - [算法](https://github.com/afatcoder/LeetcodeTop/blob/master/alibaba/algorithm.md) 126 | - [客户端](https://github.com/afatcoder/LeetcodeTop/blob/master/alibaba/client.md) 127 | - [前端](https://github.com/afatcoder/LeetcodeTop/blob/master/alibaba/frontend.md) 128 | - [数据相关岗位](https://github.com/afatcoder/LeetcodeTop/blob/master/alibaba/data.md) 129 | - [测试](https://github.com/afatcoder/LeetcodeTop/blob/master/alibaba/test.md) 130 |
131 | 132 | ## 捐赠 133 | 如果你觉得本项目帮助到了你,你可以帮作者买一杯果汁表示鼓励🍹 134 | ![donate](https://i.ibb.co/n1f1ZfG/donate.png) 135 | 136 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /alibaba/client.md: -------------------------------------------------------------------------------- 1 | | 算法题 | 次数 | 2 | |-------------------------|----| 3 | | 557\. 反转字符串中的单词 III | 1 | 4 | | 剑指 Offer 42\. 连续子数组的最大和 | 1 | 5 | | 剑指 Offer 27\. 二叉树的镜像 | 1 | 6 | | | | 7 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /amazon/SDE.md: -------------------------------------------------------------------------------- 1 | - 题目原文链接见[issues](https://github.com/afatcoder/LeetcodeTop/issues) 2 | - 若想按部门/难度/题型筛选题目,可以在[CodeTop](https://codetop.cc) 查询 3 | 4 | |题目|出现次数|链接| 5 | |-|-|-| 6 | |3. 无重复字符的最长子串|2|https://leetcode-cn.com/problems/longest-substring-without-repeating-characters| 7 | |146. LRU缓存机制|2|https://leetcode-cn.com/problems/lru-cache| 8 | |120. 三角形最小路径和|2|https://leetcode-cn.com/problems/triangle| 9 | |102. 二叉树的层序遍历|2|https://leetcode-cn.com/problems/binary-tree-level-order-traversal| 10 | |110. 平衡二叉树|2|https://leetcode-cn.com/problems/balanced-binary-tree| 11 | |200. 岛屿数量|1|https://leetcode-cn.com/problems/number-of-islands| 12 | |10. 正则表达式匹配|1|https://leetcode-cn.com/problems/regular-expression-matching| 13 | |129. 求根到叶子节点数字之和|1|https://leetcode-cn.com/problems/sum-root-to-leaf-numbers| 14 | |227. 基本计算器 II|1|https://leetcode-cn.com/problems/basic-calculator-ii| 15 | |343. 整数拆分|1|https://leetcode-cn.com/problems/integer-break| 16 | |215. 数组中的第K个最大元素|1|https://leetcode-cn.com/problems/kth-largest-element-in-an-array| 17 | |121. 买卖股票的最佳时机|1|https://leetcode-cn.com/problems/best-time-to-buy-and-sell-stock| 18 | |剑指 Offer 53 - II. 0~n-1中缺失的数字|1|https://leetcode-cn.com/problems/que-shi-de-shu-zi-lcof| 19 | |378. 有序矩阵中第K小的元素|1|https://leetcode-cn.com/problems/kth-smallest-element-in-a-sorted-matrix| 20 | |8. 字符串转换整数 (atoi)|1|https://leetcode-cn.com/problems/string-to-integer-atoi| 21 | |486. 预测赢家|1|https://leetcode-cn.com/problems/predict-the-winner| 22 | |15. 三数之和|1|https://leetcode-cn.com/problems/3sum| 23 | |781. 森林中的兔子|1|https://leetcode-cn.com/problems/rabbits-in-forest| 24 | |剑指 Offer 36. 二叉搜索树与双向链表|1|https://leetcode-cn.com/problems/er-cha-sou-suo-shu-yu-shuang-xiang-lian-biao-lcof| 25 | |46. 全排列|1|https://leetcode-cn.com/problems/permutations| 26 | |23. 合并K个排序链表|1|https://leetcode-cn.com/problems/merge-k-sorted-lists| 27 | |460. LFU缓存|1|https://leetcode-cn.com/problems/lfu-cache| 28 | |2. 两数相加|1|https://leetcode-cn.com/problems/add-two-numbers| 29 | |4. 寻找两个正序数组的中位数|1|https://leetcode-cn.com/problems/median-of-two-sorted-arrays| 30 | |611. 有效三角形的个数|1|https://leetcode-cn.com/problems/valid-triangle-number| 31 | |面试题 08.05. 递归乘法|1|https://leetcode-cn.com/problems/recursive-mulitply-lcci| 32 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /bytedance/algorithm.md: -------------------------------------------------------------------------------- 1 | # 算法 2 | 我最近开发的[CodeTop网站](https://codetop.cc)可以按照**部门**、**难度**筛选,比markdown更方便检索 3 | 4 | |题目|出现次数|链接| 5 | |-|-|-| 6 | |72. 编辑距离|8|https://leetcode-cn.com/problems/edit-distance| 7 | |103. 二叉树的锯齿形层次遍历|7|https://leetcode-cn.com/problems/binary-tree-zigzag-level-order-traversal| 8 | |215. 数组中的第K个最大元素|6|https://leetcode-cn.com/problems/kth-largest-element-in-an-array| 9 | |236. 二叉树的最近公共祖先|6|https://leetcode-cn.com/problems/lowest-common-ancestor-of-a-binary-tree| 10 | |300. 最长上升子序列|6|https://leetcode-cn.com/problems/longest-increasing-subsequence| 11 | |200. 岛屿数量|5|https://leetcode-cn.com/problems/number-of-islands| 12 | |33. 搜索旋转排序数组|4|https://leetcode-cn.com/problems/search-in-rotated-sorted-array| 13 | |69. x 的平方根|4|https://leetcode-cn.com/problems/sqrtx| 14 | |3. 无重复字符的最长子串|3|https://leetcode-cn.com/problems/longest-substring-without-repeating-characters| 15 | |23. 合并K个排序链表|3|https://leetcode-cn.com/problems/merge-k-sorted-lists| 16 | |4. 寻找两个正序数组的中位数|3|https://leetcode-cn.com/problems/median-of-two-sorted-arrays| 17 | |剑指 Offer 29. 顺时针打印矩阵|3|https://leetcode-cn.com/problems/shun-shi-zhen-da-yin-ju-zhen-lcof| 18 | |695. 岛屿的最大面积|3|https://leetcode-cn.com/problems/max-area-of-island| 19 | |240. 搜索二维矩阵 II|3|https://leetcode-cn.com/problems/search-a-2d-matrix-ii| 20 | |102. 二叉树的层序遍历|3|https://leetcode-cn.com/problems/binary-tree-level-order-traversal| 21 | |49. 字母异位词分组|3|https://leetcode-cn.com/problems/group-anagrams| 22 | |209. 长度最小的子数组|3|https://leetcode-cn.com/problems/minimum-size-subarray-sum| 23 | |85. 最大矩形|3|https://leetcode-cn.com/problems/maximal-rectangle| 24 | |287. 寻找重复数|3|https://leetcode-cn.com/problems/find-the-duplicate-number| 25 | |64. 最小路径和|3|https://leetcode-cn.com/problems/minimum-path-sum| 26 | |5. 最长回文子串|3|https://leetcode-cn.com/problems/longest-palindromic-substring| 27 | |46. 全排列|3|https://leetcode-cn.com/problems/permutations| 28 | |121. 买卖股票的最佳时机|3|https://leetcode-cn.com/problems/best-time-to-buy-and-sell-stock| 29 | |15. 三数之和|3|https://leetcode-cn.com/problems/3sum| 30 | |394. 字符串解码|3|https://leetcode-cn.com/problems/decode-string| 31 | |110. 平衡二叉树|2|https://leetcode-cn.com/problems/balanced-binary-tree| 32 | |572. 另一个树的子树|2|https://leetcode-cn.com/problems/subtree-of-another-tree| 33 | |1. 两数之和|2|https://leetcode-cn.com/problems/two-sum| 34 | |105. 从前序与中序遍历序列构造二叉树|2|https://leetcode-cn.com/problems/construct-binary-tree-from-preorder-and-inorder-traversal| 35 | |206. 反转链表|2|https://leetcode-cn.com/problems/reverse-linked-list| 36 | |88. 合并两个有序数组|2|https://leetcode-cn.com/problems/merge-sorted-array| 37 | |152. 乘积最大子数组|2|https://leetcode-cn.com/problems/maximum-product-subarray| 38 | |70. 爬楼梯|2|https://leetcode-cn.com/problems/climbing-stairs| 39 | |48. 旋转图像|2|https://leetcode-cn.com/problems/rotate-image| 40 | |剑指 Offer 36. 二叉搜索树与双向链表|2|https://leetcode-cn.com/problems/er-cha-sou-suo-shu-yu-shuang-xiang-lian-biao-lcof| 41 | |179. 最大数|2|https://leetcode-cn.com/problems/largest-number| 42 | |剑指 Offer 51. 数组中的逆序对|2|https://leetcode-cn.com/problems/shu-zu-zhong-de-ni-xu-dui-lcof| 43 | |143. 重排链表|2|https://leetcode-cn.com/problems/reorder-list| 44 | |239. 滑动窗口最大值|2|https://leetcode-cn.com/problems/sliding-window-maximum| 45 | |238. 除自身以外数组的乘积|2|https://leetcode-cn.com/problems/product-of-array-except-self| 46 | |25. K 个一组翻转链表|2|https://leetcode-cn.com/problems/reverse-nodes-in-k-group| 47 | |129. 求根到叶子节点数字之和|2|https://leetcode-cn.com/problems/sum-root-to-leaf-numbers| 48 | |补充题4. 手撕快速排序|2|https://leetcode-cn.com/problems/sort-an-array| 49 | |42. 接雨水|2|https://leetcode-cn.com/problems/trapping-rain-water| 50 | |415. 字符串相加|2|https://leetcode-cn.com/problems/add-strings| 51 | |221. 最大正方形|2|https://leetcode-cn.com/problems/maximal-square| 52 | |400. 第N个数字|2|https://leetcode-cn.com/problems/nth-digit| 53 | |54. 螺旋矩阵|2|https://leetcode-cn.com/problems/spiral-matrix| 54 | |104. 二叉树的最大深度|1|https://leetcode-cn.com/problems/maximum-depth-of-binary-tree| 55 | |160. 相交链表|1|https://leetcode-cn.com/problems/intersection-of-two-linked-lists| 56 | |636. 函数的独占时间|1|https://leetcode-cn.com/problems/exclusive-time-of-functions| 57 | |297. 二叉树的序列化与反序列化|1|https://leetcode-cn.com/problems/serialize-and-deserialize-binary-tree| 58 | |814. 二叉树剪枝|1|https://leetcode-cn.com/problems/binary-tree-pruning| 59 | |445. 两数相加 II|1|https://leetcode-cn.com/problems/add-two-numbers-ii| 60 | |2. 两数相加|1|https://leetcode-cn.com/problems/add-two-numbers| 61 | |62. 不同路径|1|https://leetcode-cn.com/problems/unique-paths| 62 | |63. 不同路径 II|1|https://leetcode-cn.com/problems/unique-paths-ii| 63 | |509. 斐波那契数|1|https://leetcode-cn.com/problems/fibonacci-number| 64 | |128. 最长连续序列|1|https://leetcode-cn.com/problems/longest-consecutive-sequence| 65 | |20. 有效的括号|1|https://leetcode-cn.com/problems/valid-parentheses| 66 | |264. 丑数 II|1|https://leetcode-cn.com/problems/ugly-number-ii| 67 | |437. 路径总和 III|1|https://leetcode-cn.com/problems/path-sum-iii| 68 | |560. 和为K的子数组|1|https://leetcode-cn.com/problems/subarray-sum-equals-k| 69 | |169. 多数元素|1|https://leetcode-cn.com/problems/majority-element| 70 | |142. 环形链表 II|1|https://leetcode-cn.com/problems/linked-list-cycle-ii| 71 | |255. 验证前序遍历序列二叉搜索树|1|https://leetcode-cn.com/problems/verify-preorder-sequence-in-binary-search-tree| 72 | |剑指 Offer 09. 用两个栈实现队列|1|https://leetcode-cn.com/problems/yong-liang-ge-zhan-shi-xian-dui-lie-lcof| 73 | |124. 二叉树中的最大路径和|1|https://leetcode-cn.com/problems/binary-tree-maximum-path-sum| 74 | |剑指 Offer 54. 二叉搜索树的第k大节点|1|https://leetcode-cn.com/problems/er-cha-sou-suo-shu-de-di-kda-jie-dian-lcof| 75 | |518. 零钱兑换 II|1|https://leetcode-cn.com/problems/coin-change-2| 76 | |50. Pow(x, n)|1|https://leetcode-cn.com/problems/powx-n| 77 | |122. 买卖股票的最佳时机 II|1|https://leetcode-cn.com/problems/best-time-to-buy-and-sell-stock-ii| 78 | |807. 保持城市天际线|1|https://leetcode-cn.com/problems/max-increase-to-keep-city-skyline| 79 | |123. 买卖股票的最佳时机 III|1|https://leetcode-cn.com/problems/best-time-to-buy-and-sell-stock-iii| 80 | |315. 计算右侧小于当前元素的个数|1|https://leetcode-cn.com/problems/count-of-smaller-numbers-after-self| 81 | |1363. 形成三的最大倍数|1|https://leetcode-cn.com/problems/largest-multiple-of-three| 82 | |376. 摆动序列|1|https://leetcode-cn.com/problems/wiggle-subsequence| 83 | |1143. 最长公共子序列|1|https://leetcode-cn.com/problems/longest-common-subsequence| 84 | |32. 最长有效括号|1|https://leetcode-cn.com/problems/longest-valid-parentheses| 85 | |718. 最长重复子数组|1|https://leetcode-cn.com/problems/maximum-length-of-repeated-subarray| 86 | |440. 字典序的第K小数字|1|https://leetcode-cn.com/problems/k-th-smallest-in-lexicographical-order| 87 | |334. 递增的三元子序列|1|https://leetcode-cn.com/problems/increasing-triplet-subsequence| 88 | |582. 杀死进程|1|https://leetcode-cn.com/problems/kill-process| 89 | |面试题 16.03. 交点|1|https://leetcode-cn.com/problems/intersection-lcci| 90 | |96. 不同的二叉搜索树|1|https://leetcode-cn.com/problems/unique-binary-search-trees| 91 | |41. 缺失的第一个正数|1|https://leetcode-cn.com/problems/first-missing-positive| 92 | |403. 青蛙过河|1|https://leetcode-cn.com/problems/frog-jump| 93 | |726. 原子的数量|1|https://leetcode-cn.com/problems/number-of-atoms| 94 | |剑指 Offer 10- I. 斐波那契数列|1|https://leetcode-cn.com/problems/fei-bo-na-qi-shu-lie-lcof| 95 | |405. 数字转换为十六进制数|1|https://leetcode-cn.com/problems/convert-a-number-to-hexadecimal| 96 | |1420. 生成数组|1|https://leetcode-cn.com/problems/build-array-where-you-can-find-the-maximum-exactly-k-comparisons| 97 | |306. 累加数|1|https://leetcode-cn.com/problems/additive-number| 98 | |98. 验证二叉搜索树|1|https://leetcode-cn.com/problems/validate-binary-search-tree| 99 | |227. 基本计算器 II|1|https://leetcode-cn.com/problems/basic-calculator-ii| 100 | |1505. 最多 K 次交换相邻数位后得到的最小整数|1|https://leetcode-cn.com/problems/minimum-possible-integer-after-at-most-k-adjacent-swaps-on-digits| 101 | |632. 最小区间|1|https://leetcode-cn.com/problems/smallest-range-covering-elements-from-k-lists| 102 | |871. 最低加油次数|1|https://leetcode-cn.com/problems/minimum-number-of-refueling-stops| 103 | |107. 二叉树的层次遍历 II|1|https://leetcode-cn.com/problems/binary-tree-level-order-traversal-ii| 104 | |407. 接雨水 II|1|https://leetcode-cn.com/problems/trapping-rain-water-ii| 105 | |199. 二叉树的右视图|1|https://leetcode-cn.com/problems/binary-tree-right-side-view| 106 | |84. 柱状图中最大的矩形|1|https://leetcode-cn.com/problems/largest-rectangle-in-histogram| 107 | |74. 搜索二维矩阵|1|https://leetcode-cn.com/problems/search-a-2d-matrix| 108 | |329. 矩阵中的最长递增路径|1|https://leetcode-cn.com/problems/longest-increasing-path-in-a-matrix| 109 | |172. 阶乘后的零|1|https://leetcode-cn.com/problems/factorial-trailing-zeroes| 110 | |153. 寻找旋转排序数组中的最小值|1|https://leetcode-cn.com/problems/find-minimum-in-rotated-sorted-array| 111 | |432. 全 O(1) 的数据结构|1|https://leetcode-cn.com/problems/all-oone-data-structure| 112 | |470. 用 Rand7() 实现 Rand10()|1|https://leetcode-cn.com/problems/implement-rand10-using-rand7| 113 | |164. 最大间距|1|https://leetcode-cn.com/problems/maximum-gap| 114 | |94. 二叉树的中序遍历|1|https://leetcode-cn.com/problems/binary-tree-inorder-traversal| 115 | |剑指 Offer 62. 圆圈中最后剩下的数字|1|https://leetcode-cn.com/problems/yuan-quan-zhong-zui-hou-sheng-xia-de-shu-zi-lcof| 116 | |658. 找到 K 个最接近的元素|1|https://leetcode-cn.com/problems/find-k-closest-elements| 117 | |704. 二分查找|1|https://leetcode-cn.com/problems/binary-search| 118 | |355. 设计推特|1|https://leetcode-cn.com/problems/design-twitter| 119 | |剑指 Offer 11. 旋转数组的最小数字|1|https://leetcode-cn.com/problems/xuan-zhuan-shu-zu-de-zui-xiao-shu-zi-lcof| 120 | |698. 划分为k个相等的子集|1|https://leetcode-cn.com/problems/partition-to-k-equal-sum-subsets| 121 | |224. 基本计算器|1|https://leetcode-cn.com/problems/basic-calculator| 122 | |剑指 Offer 22. 链表中倒数第k个节点|1|https://leetcode-cn.com/problems/lian-biao-zhong-dao-shu-di-kge-jie-dian-lcof| 123 | |31. 下一个排列|1|https://leetcode-cn.com/problems/next-permutation| 124 | |875. 爱吃香蕉的珂珂|1|https://leetcode-cn.com/problems/koko-eating-bananas| 125 | |145. 二叉树的后序遍历|1|https://leetcode-cn.com/problems/binary-tree-postorder-traversal| 126 | |19. 删除链表的倒数第N个节点|1|https://leetcode-cn.com/problems/remove-nth-node-from-end-of-list| 127 | |673. 最长递增子序列的个数|1|https://leetcode-cn.com/problems/number-of-longest-increasing-subsequence| 128 | |剑指 Offer 34. 二叉树中和为某一值的路径|1|https://leetcode-cn.com/problems/er-cha-shu-zhong-he-wei-mou-yi-zhi-de-lu-jing-lcof| 129 | |670. 最大交换|1|https://leetcode-cn.com/problems/maximum-swap| 130 | |141. 环形链表|1|https://leetcode-cn.com/problems/linked-list-cycle| 131 | |897. 递增顺序查找树|1|https://leetcode-cn.com/problems/increasing-order-search-tree| 132 | |653. 两数之和 IV - 输入 BST|1|https://leetcode-cn.com/problems/two-sum-iv-input-is-a-bst| 133 | |310. 最小高度树|1|https://leetcode-cn.com/problems/minimum-height-trees| 134 | |167. 两数之和 II - 输入有序数组|1|https://leetcode-cn.com/problems/two-sum-ii-input-array-is-sorted| 135 | |611. 有效三角形的个数|1|https://leetcode-cn.com/problems/valid-triangle-number| 136 | |92. 反转链表 II|1|https://leetcode-cn.com/problems/reverse-linked-list-ii| 137 | |剑指 Offer 07. 重建二叉树|1|https://leetcode-cn.com/problems/zhong-jian-er-cha-shu-lcof| 138 | |525. 连续数组|1|https://leetcode-cn.com/problems/contiguous-array| 139 | |144. 二叉树的前序遍历|1|https://leetcode-cn.com/problems/binary-tree-preorder-traversal| 140 | |378. 有序矩阵中第K小的元素|1|https://leetcode-cn.com/problems/kth-smallest-element-in-a-sorted-matrix| -------------------------------------------------------------------------------- /bytedance/client.md: -------------------------------------------------------------------------------- 1 | # 客户端 2 | 我开发的[CodeTop题库](https://codetop.cc)可以按照部门、难度筛选,比markdown更方便查询高频题 3 | 4 | |题目|出现次数|链接| 5 | |-|-|-| 6 | |206. 反转链表|21|https://leetcode-cn.com/problems/reverse-linked-list| 7 | |25. K 个一组翻转链表|18|https://leetcode-cn.com/problems/reverse-nodes-in-k-group| 8 | |160. 相交链表|18|https://leetcode-cn.com/problems/intersection-of-two-linked-lists| 9 | |215. 数组中的第K个最大元素|17|https://leetcode-cn.com/problems/kth-largest-element-in-an-array| 10 | |53. 最大子序和|17|https://leetcode-cn.com/problems/maximum-subarray| 11 | |146. LRU缓存机制|16|https://leetcode-cn.com/problems/lru-cache| 12 | |15. 三数之和|13|https://leetcode-cn.com/problems/3sum| 13 | |1. 两数之和|13|https://leetcode-cn.com/problems/two-sum| 14 | |3. 无重复字符的最长子串|12|https://leetcode-cn.com/problems/longest-substring-without-repeating-characters| 15 | |121. 买卖股票的最佳时机|10|https://leetcode-cn.com/problems/best-time-to-buy-and-sell-stock| 16 | |21. 合并两个有序链表|10|https://leetcode-cn.com/problems/merge-two-sorted-lists| 17 | |113. 路径总和 II|10|https://leetcode-cn.com/problems/path-sum-ii| 18 | |102. 二叉树的层序遍历|10|https://leetcode-cn.com/problems/binary-tree-level-order-traversal| 19 | |103. 二叉树的锯齿形层次遍历|10|https://leetcode-cn.com/problems/binary-tree-zigzag-level-order-traversal| 20 | |236. 二叉树的最近公共祖先|9|https://leetcode-cn.com/problems/lowest-common-ancestor-of-a-binary-tree| 21 | |958. 二叉树的完全性检验|9|https://leetcode-cn.com/problems/check-completeness-of-a-binary-tree| 22 | |105. 从前序与中序遍历序列构造二叉树|9|https://leetcode-cn.com/problems/construct-binary-tree-from-preorder-and-inorder-traversal| 23 | |41. 缺失的第一个正数|8|https://leetcode-cn.com/problems/first-missing-positive| 24 | |199. 二叉树的右视图|8|https://leetcode-cn.com/problems/binary-tree-right-side-view| 25 | |54. 螺旋矩阵|8|https://leetcode-cn.com/problems/spiral-matrix| 26 | |101. 对称二叉树|8|https://leetcode-cn.com/problems/symmetric-tree| 27 | |415. 字符串相加|8|https://leetcode-cn.com/problems/add-strings| 28 | |232. 用栈实现队列|7|https://leetcode-cn.com/problems/implement-queue-using-stacks| 29 | |112. 路径总和|7|https://leetcode-cn.com/problems/path-sum| 30 | |剑指 Offer 09. 用两个栈实现队列|7|https://leetcode-cn.com/problems/yong-liang-ge-zhan-shi-xian-dui-lie-lcof| 31 | |56. 合并区间|7|https://leetcode-cn.com/problems/merge-intervals| 32 | |42. 接雨水|7|https://leetcode-cn.com/problems/trapping-rain-water| 33 | |34. 在排序数组中查找元素的第一个和最后一个位置|7|https://leetcode-cn.com/problems/find-first-and-last-position-of-element-in-sorted-array| 34 | |19. 删除链表的倒数第N个节点|7|https://leetcode-cn.com/problems/remove-nth-node-from-end-of-list| 35 | |151. 翻转字符串里的单词|6|https://leetcode-cn.com/problems/reverse-words-in-a-string| 36 | |141. 环形链表|6|https://leetcode-cn.com/problems/linked-list-cycle| 37 | |142. 环形链表 II|6|https://leetcode-cn.com/problems/linked-list-cycle-ii| 38 | |94. 二叉树的中序遍历|6|https://leetcode-cn.com/problems/binary-tree-inorder-traversal| 39 | |144. 二叉树的前序遍历|6|https://leetcode-cn.com/problems/binary-tree-preorder-traversal| 40 | |543. 二叉树的直径|6|https://leetcode-cn.com/problems/diameter-of-binary-tree| 41 | |104. 二叉树的最大深度|6|https://leetcode-cn.com/problems/maximum-depth-of-binary-tree| 42 | |2. 两数相加|6|https://leetcode-cn.com/problems/add-two-numbers| 43 | |4. 寻找两个正序数组的中位数|6|https://leetcode-cn.com/problems/median-of-two-sorted-arrays| 44 | |82. 删除排序链表中的重复元素 II|6|https://leetcode-cn.com/problems/remove-duplicates-from-sorted-list-ii| 45 | |394. 字符串解码|5|https://leetcode-cn.com/problems/decode-string| 46 | |200. 岛屿数量|5|https://leetcode-cn.com/problems/number-of-islands| 47 | |165. 比较版本号|5|https://leetcode-cn.com/problems/compare-version-numbers| 48 | |补充题9. 36进制加法|5|https://mp.weixin.qq.com/s/XcKQwnwCh5nZsz-DLHJwzQ| 49 | |344. 反转字符串|4|https://leetcode-cn.com/problems/reverse-string| 50 | |88. 合并两个有序数组|4|https://leetcode-cn.com/problems/merge-sorted-array| 51 | |136. 只出现一次的数字|4|https://leetcode-cn.com/problems/single-number| 52 | |226. 翻转二叉树|4|https://leetcode-cn.com/problems/invert-binary-tree| 53 | |剑指 Offer 36. 二叉搜索树与双向链表|4|https://leetcode-cn.com/problems/er-cha-sou-suo-shu-yu-shuang-xiang-lian-biao-lcof| 54 | |240. 搜索二维矩阵 II|4|https://leetcode-cn.com/problems/search-a-2d-matrix-ii| 55 | |剑指 Offer 21. 调整数组顺序使奇数位于偶数前面|4|https://leetcode-cn.com/problems/diao-zheng-shu-zu-shun-xu-shi-qi-shu-wei-yu-ou-shu-qian-mian-lcof| 56 | |460. LFU缓存|4|https://leetcode-cn.com/problems/lfu-cache| 57 | |69. x 的平方根|4|https://leetcode-cn.com/problems/sqrtx| 58 | |322. 零钱兑换|4|https://leetcode-cn.com/problems/coin-change| 59 | |46. 全排列|4|https://leetcode-cn.com/problems/permutations| 60 | |189. 旋转数组|4|https://leetcode-cn.com/problems/rotate-array| 61 | |剑指 Offer 27. 二叉树的镜像|4|https://leetcode-cn.com/problems/er-cha-shu-de-jing-xiang-lcof| 62 | |225. 用队列实现栈|4|https://leetcode-cn.com/problems/implement-stack-using-queues| 63 | |59. 螺旋矩阵 II|4|https://leetcode-cn.com/problems/spiral-matrix-ii| 64 | |剑指 Offer 22. 链表中倒数第k个节点|4|https://leetcode-cn.com/problems/lian-biao-zhong-dao-shu-di-kge-jie-dian-lcof| 65 | |补充题4. 手撕快速排序|4|https://leetcode-cn.com/problems/sort-an-array| 66 | |剑指 Offer 33. 二叉搜索树的后序遍历序列|4|https://leetcode-cn.com/problems/er-cha-sou-suo-shu-de-hou-xu-bian-li-xu-lie-lcof| 67 | |518. 零钱兑换 II|3|https://leetcode-cn.com/problems/coin-change-2| 68 | |300. 最长上升子序列|3|https://leetcode-cn.com/problems/longest-increasing-subsequence| 69 | |145. 二叉树的后序遍历|3|https://leetcode-cn.com/problems/binary-tree-postorder-traversal| 70 | |33. 搜索旋转排序数组|3|https://leetcode-cn.com/problems/search-in-rotated-sorted-array| 71 | |162. 寻找峰值|3|https://leetcode-cn.com/problems/find-peak-element| 72 | |124. 二叉树中的最大路径和|3|https://leetcode-cn.com/problems/binary-tree-maximum-path-sum| 73 | |70. 爬楼梯|3|https://leetcode-cn.com/problems/climbing-stairs| 74 | |61. 旋转链表|3|https://leetcode-cn.com/problems/rotate-list| 75 | |110. 平衡二叉树|3|https://leetcode-cn.com/problems/balanced-binary-tree| 76 | |16. 最接近的三数之和|3|https://leetcode-cn.com/problems/3sum-closest| 77 | |20. 有效的括号|3|https://leetcode-cn.com/problems/valid-parentheses| 78 | |5. 最长回文子串|3|https://leetcode-cn.com/problems/longest-palindromic-substring| 79 | |443. 压缩字符串|3|https://leetcode-cn.com/problems/string-compression| 80 | |1143. 最长公共子序列|3|https://leetcode-cn.com/problems/longest-common-subsequence| 81 | |75. 颜色分类|3|https://leetcode-cn.com/problems/sort-colors| 82 | |24. 两两交换链表中的节点|3|https://leetcode-cn.com/problems/swap-nodes-in-pairs| 83 | |315. 计算右侧小于当前元素的个数|3|https://leetcode-cn.com/problems/count-of-smaller-numbers-after-self| 84 | |129. 求根到叶子节点数字之和|3|https://leetcode-cn.com/problems/sum-root-to-leaf-numbers| 85 | |76. 最小覆盖子串|3|https://leetcode-cn.com/problems/minimum-window-substring| 86 | |补充题1. 排序奇升偶降链表|3|https://mp.weixin.qq.com/s/0WVa2wIAeG0nYnVndZiEXQ| 87 | |剑指 Offer 38. 字符串的排列|3|https://leetcode-cn.com/problems/zi-fu-chuan-de-pai-lie-lcof| 88 | |114. 二叉树展开为链表|3|https://leetcode-cn.com/problems/flatten-binary-tree-to-linked-list| 89 | |剑指 Offer 52. 两个链表的第一个公共节点|2|https://leetcode-cn.com/problems/liang-ge-lian-biao-de-di-yi-ge-gong-gong-jie-dian-lcof| 90 | |剑指 Offer 45. 把数组排成最小的数|2|https://leetcode-cn.com/problems/ba-shu-zu-pai-cheng-zui-xiao-de-shu-lcof| 91 | |234. 回文链表|2|https://leetcode-cn.com/problems/palindrome-linked-list| 92 | |283. 移动零|2|https://leetcode-cn.com/problems/move-zeroes| 93 | |190. 颠倒二进制位|2|https://leetcode-cn.com/problems/reverse-bits| 94 | |122. 买卖股票的最佳时机 II|2|https://leetcode-cn.com/problems/best-time-to-buy-and-sell-stock-ii| 95 | |7. 整数反转|2|https://leetcode-cn.com/problems/reverse-integer| 96 | |662. 二叉树最大宽度|2|https://leetcode-cn.com/problems/maximum-width-of-binary-tree| 97 | |62. 不同路径|2|https://leetcode-cn.com/problems/unique-paths| 98 | |191. 位1的个数|2|https://leetcode-cn.com/problems/number-of-1-bits| 99 | |48. 旋转图像|2|https://leetcode-cn.com/problems/rotate-image| 100 | |739. 每日温度|2|https://leetcode-cn.com/problems/daily-temperatures| 101 | |92. 反转链表 II|2|https://leetcode-cn.com/problems/reverse-linked-list-ii| 102 | |剑指 Offer 62. 圆圈中最后剩下的数字|2|https://leetcode-cn.com/problems/yuan-quan-zhong-zui-hou-sheng-xia-de-shu-zi-lcof| 103 | |164. 最大间距|2|https://leetcode-cn.com/problems/maximum-gap| 104 | |71. 简化路径|2|https://leetcode-cn.com/problems/simplify-path| 105 | |98. 验证二叉搜索树|2|https://leetcode-cn.com/problems/validate-binary-search-tree| 106 | |55. 跳跃游戏|2|https://leetcode-cn.com/problems/jump-game| 107 | |17. 电话号码的字母组合|2|https://leetcode-cn.com/problems/letter-combinations-of-a-phone-number| 108 | |72. 编辑距离|2|https://leetcode-cn.com/problems/edit-distance| 109 | |347. 前 K 个高频元素|2|https://leetcode-cn.com/problems/top-k-frequent-elements| 110 | |977. 有序数组的平方|2|https://leetcode-cn.com/problems/squares-of-a-sorted-array| 111 | |155. 最小栈|2|https://leetcode-cn.com/problems/min-stack| 112 | |32. 最长有效括号|2|https://leetcode-cn.com/problems/longest-valid-parentheses| 113 | |438. 找到字符串中所有字母异位词|2|https://leetcode-cn.com/problems/find-all-anagrams-in-a-string| 114 | |93. 复原IP地址|2|https://leetcode-cn.com/problems/restore-ip-addresses| 115 | |260. 只出现一次的数字 III|2|https://leetcode-cn.com/problems/single-number-iii| 116 | |334. 递增的三元子序列|2|https://leetcode-cn.com/problems/increasing-triplet-subsequence| 117 | |8. 字符串转换整数 (atoi)|2|https://leetcode-cn.com/problems/string-to-integer-atoi| 118 | |39. 组合总和|2|https://leetcode-cn.com/problems/combination-sum| 119 | |224. 基本计算器|2|https://leetcode-cn.com/problems/basic-calculator| 120 | |680. 验证回文字符串 Ⅱ|2|https://leetcode-cn.com/problems/valid-palindrome-ii| 121 | |470. 用 Rand7() 实现 Rand10()|2|https://leetcode-cn.com/problems/implement-rand10-using-rand7| 122 | |530. 二叉搜索树的最小绝对差|2|https://leetcode-cn.com/problems/minimum-absolute-difference-in-bst| 123 | |31. 下一个排列|2|https://leetcode-cn.com/problems/next-permutation| 124 | |143. 重排链表|2|https://leetcode-cn.com/problems/reorder-list| 125 | |128. 最长连续序列|1|https://leetcode-cn.com/problems/longest-consecutive-sequence| 126 | |480. 滑动窗口中位数|1|https://leetcode-cn.com/problems/sliding-window-median| 127 | |23. 合并K个排序链表|1|https://leetcode-cn.com/problems/merge-k-sorted-lists| 128 | |86. 分隔链表|1|https://leetcode-cn.com/problems/partition-list| 129 | |140. 单词拆分 II|1|https://leetcode-cn.com/problems/word-break-ii| 130 | |剑指 Offer 07. 重建二叉树|1|https://leetcode-cn.com/problems/zhong-jian-er-cha-shu-lcof| 131 | |257. 二叉树的所有路径|1|https://leetcode-cn.com/problems/binary-tree-paths| 132 | |剑指 Offer 32 - III. 从上到下打印二叉树 III|1|https://leetcode-cn.com/problems/cong-shang-dao-xia-da-yin-er-cha-shu-iii-lcof| 133 | |209. 长度最小的子数组|1|https://leetcode-cn.com/problems/minimum-size-subarray-sum| 134 | |328. 奇偶链表|1|https://leetcode-cn.com/problems/odd-even-linked-list| 135 | |557. 反转字符串中的单词 III|1|https://leetcode-cn.com/problems/reverse-words-in-a-string-iii| 136 | |445. 两数相加 II|1|https://leetcode-cn.com/problems/add-two-numbers-ii| 137 | |1233. 删除子文件夹|1|https://leetcode-cn.com/problems/remove-sub-folders-from-the-filesystem| 138 | |701. 二叉搜索树中的插入操作|1|https://leetcode-cn.com/problems/insert-into-a-binary-search-tree| 139 | |148. 排序链表|1|https://leetcode-cn.com/problems/sort-list| 140 | |138. 复制带随机指针的链表|1|https://leetcode-cn.com/problems/copy-list-with-random-pointer| 141 | |503. 下一个更大元素 II|1|https://leetcode-cn.com/problems/next-greater-element-ii| 142 | |329. 矩阵中的最长递增路径|1|https://leetcode-cn.com/problems/longest-increasing-path-in-a-matrix| 143 | |1047. 删除字符串中的所有相邻重复项|1|https://leetcode-cn.com/problems/remove-all-adjacent-duplicates-in-string| 144 | |670. 最大交换|1|https://leetcode-cn.com/problems/maximum-swap| 145 | |863. 二叉树中所有距离为 K 的结点|1|https://leetcode-cn.com/problems/all-nodes-distance-k-in-binary-tree| 146 | |238. 除自身以外数组的乘积|1|https://leetcode-cn.com/problems/product-of-array-except-self| 147 | |44. 通配符匹配|1|https://leetcode-cn.com/problems/wildcard-matching| 148 | |79. 单词搜索|1|https://leetcode-cn.com/problems/word-search| 149 | |767. 重构字符串|1|https://leetcode-cn.com/problems/reorganize-string| 150 | |242. 有效的字母异位词|1|https://leetcode-cn.com/problems/valid-anagram| 151 | |剑指 Offer 56 - II. 数组中数字出现的次数 II|1|https://leetcode-cn.com/problems/shu-zu-zhong-shu-zi-chu-xian-de-ci-shu-ii-lcof| 152 | |97. 交错字符串|1|https://leetcode-cn.com/problems/interleaving-string| 153 | |77. 组合|1|https://leetcode-cn.com/problems/combinations| 154 | |230. 二叉搜索树中第K小的元素|1|https://leetcode-cn.com/problems/kth-smallest-element-in-a-bst| 155 | |179. 最大数|1|https://leetcode-cn.com/problems/largest-number| 156 | |120. 三角形最小路径和|1|https://leetcode-cn.com/problems/triangle| 157 | |26. 删除排序数组中的重复项|1|https://leetcode-cn.com/problems/remove-duplicates-from-sorted-array| 158 | |80. 删除排序数组中的重复项 II|1|https://leetcode-cn.com/problems/remove-duplicates-from-sorted-array-ii| 159 | |402. 移掉K位数字|1|https://leetcode-cn.com/problems/remove-k-digits| 160 | |剑指 Offer 48. 最长不含重复字符的子字符串|1|https://leetcode-cn.com/problems/zui-chang-bu-han-zhong-fu-zi-fu-de-zi-zi-fu-chuan-lcof| 161 | |83. 删除排序链表中的重复元素|1|https://leetcode-cn.com/problems/remove-duplicates-from-sorted-list| 162 | |剑指 Offer 17. 打印从1到最大的n位数|1|https://leetcode-cn.com/problems/da-yin-cong-1dao-zui-da-de-nwei-shu-lcof| 163 | |125. 验证回文串|1|https://leetcode-cn.com/problems/valid-palindrome| 164 | |139. 单词拆分|1|https://leetcode-cn.com/problems/word-break| 165 | |239. 滑动窗口最大值|1|https://leetcode-cn.com/problems/sliding-window-maximum| 166 | |221. 最大正方形|1|https://leetcode-cn.com/problems/maximal-square| 167 | |617. 合并二叉树|1|https://leetcode-cn.com/problems/merge-two-binary-trees| 168 | |556. 下一个更大元素 III|1|https://leetcode-cn.com/problems/next-greater-element-iii| 169 | |11. 盛最多水的容器|1|https://leetcode-cn.com/problems/container-with-most-water| 170 | |927. 三等分|1|https://leetcode-cn.com/problems/three-equal-parts| 171 | |剑指 Offer 03. 数组中重复的数字|1|https://leetcode-cn.com/problems/shu-zu-zhong-zhong-fu-de-shu-zi-lcof| 172 | |564. 寻找最近的回文数|1|https://leetcode-cn.com/problems/find-the-closest-palindrome| 173 | |498. 对角线遍历|1|https://leetcode-cn.com/problems/diagonal-traverse| 174 | |297. 二叉树的序列化与反序列化|1|https://leetcode-cn.com/problems/serialize-and-deserialize-binary-tree| 175 | |171. Excel表列序号|1|https://leetcode-cn.com/problems/excel-sheet-column-number| 176 | |976. 三角形的最大周长|1|https://leetcode-cn.com/problems/largest-perimeter-triangle| 177 | |补充题23. 检测循环依赖|1|https://mp.weixin.qq.com/s/pCRscwKqQdYYN7M1Sia7xA| 178 | |351. 安卓系统手势解锁|1|https://leetcode-cn.com/problems/android-unlock-patterns| 179 | |面试题 02.01. 移除重复节点|1|https://leetcode-cn.com/problems/remove-duplicate-node-lcci| 180 | |10. 正则表达式匹配|1|https://leetcode-cn.com/problems/regular-expression-matching| 181 | |剑指 Offer 51. 数组中的逆序对|1|https://leetcode-cn.com/problems/shu-zu-zhong-de-ni-xu-dui-lcof| 182 | |999. 可以被一步捕获的棋子数|1|https://leetcode-cn.com/problems/available-captures-for-rook| 183 | |100. 相同的树|1|https://leetcode-cn.com/problems/same-tree| 184 | |718. 最长重复子数组|1|https://leetcode-cn.com/problems/maximum-length-of-repeated-subarray| 185 | |1328. 破坏回文串|1|https://leetcode-cn.com/problems/break-a-palindrome| 186 | |12. 整数转罗马数字|1|https://leetcode-cn.com/problems/integer-to-roman| 187 | |611. 有效三角形的个数|1|https://leetcode-cn.com/problems/valid-triangle-number| 188 | |22. 括号生成|1|https://leetcode-cn.com/problems/generate-parentheses| 189 | |219. 存在重复元素 II|1|https://leetcode-cn.com/problems/contains-duplicate-ii| -------------------------------------------------------------------------------- /bytedance/data.md: -------------------------------------------------------------------------------- 1 | # 数据研发 2 | 我开发的[CodeTop题库](https://codetop.cc)可以按照部门、难度筛选,比markdown更方便查询高频题 3 | 4 | |题目|出现次数|链接| 5 | |-|-|-| 6 | |232. 用栈实现队列|4|https://leetcode-cn.com/problems/implement-queue-using-stacks| 7 | |146. LRU缓存机制|3|https://leetcode-cn.com/problems/lru-cache| 8 | |121. 买卖股票的最佳时机|3|https://leetcode-cn.com/problems/best-time-to-buy-and-sell-stock| 9 | |101. 对称二叉树|3|https://leetcode-cn.com/problems/symmetric-tree| 10 | |25. K 个一组翻转链表|3|https://leetcode-cn.com/problems/reverse-nodes-in-k-group| 11 | |98. 验证二叉搜索树|2|https://leetcode-cn.com/problems/validate-binary-search-tree| 12 | |103. 二叉树的锯齿形层次遍历|2|https://leetcode-cn.com/problems/binary-tree-zigzag-level-order-traversal| 13 | |141. 环形链表|2|https://leetcode-cn.com/problems/linked-list-cycle| 14 | |53. 最大子序和|2|https://leetcode-cn.com/problems/maximum-subarray| 15 | |64. 最小路径和|2|https://leetcode-cn.com/problems/minimum-path-sum| 16 | |200. 岛屿数量|2|https://leetcode-cn.com/problems/number-of-islands| 17 | |补充题1. 排序奇升偶降链表|2|https://mp.weixin.qq.com/s/0WVa2wIAeG0nYnVndZiEXQ| 18 | |94. 二叉树的中序遍历|1|https://leetcode-cn.com/problems/binary-tree-inorder-traversal| 19 | |补充题6. 手撕堆排序|1|https://leetcode-cn.com/problems/sort-an-array| 20 | |剑指 Offer 53 - I. 在排序数组中查找数字 I|1|https://leetcode-cn.com/problems/zai-pai-xu-shu-zu-zhong-cha-zhao-shu-zi-lcof| 21 | |122. 买卖股票的最佳时机 II|1|https://leetcode-cn.com/problems/best-time-to-buy-and-sell-stock-ii| 22 | |230. 二叉搜索树中第K小的元素|1|https://leetcode-cn.com/problems/kth-smallest-element-in-a-bst| 23 | |142. 环形链表 II|1|https://leetcode-cn.com/problems/linked-list-cycle-ii| 24 | |69. x 的平方根|1|https://leetcode-cn.com/problems/sqrtx| 25 | |611. 有效三角形的个数|1|https://leetcode-cn.com/problems/valid-triangle-number| 26 | |221. 最大正方形|1|https://leetcode-cn.com/problems/maximal-square| 27 | |剑指 Offer 51. 数组中的逆序对|1|https://leetcode-cn.com/problems/shu-zu-zhong-de-ni-xu-dui-lcof| 28 | |43. 字符串相乘|1|https://leetcode-cn.com/problems/multiply-strings| 29 | |补充题14. 阿拉伯数字转中文数字|1|| 30 | |16. 最接近的三数之和|1|https://leetcode-cn.com/problems/3sum-closest| 31 | |102. 二叉树的层序遍历|1|https://leetcode-cn.com/problems/binary-tree-level-order-traversal| 32 | |215. 数组中的第K个最大元素|1|https://leetcode-cn.com/problems/kth-largest-element-in-an-array| 33 | |1201. 丑数 III|1|https://leetcode-cn.com/problems/ugly-number-iii| 34 | |240. 搜索二维矩阵 II|1|https://leetcode-cn.com/problems/search-a-2d-matrix-ii| 35 | |剑指 Offer 41. 数据流中的中位数|1|https://leetcode-cn.com/problems/shu-ju-liu-zhong-de-zhong-wei-shu-lcof| 36 | |112. 路径总和|1|https://leetcode-cn.com/problems/path-sum| 37 | |3. 无重复字符的最长子串|1|https://leetcode-cn.com/problems/longest-substring-without-repeating-characters| 38 | |剑指 Offer 59 - II. 队列的最大值|1|https://leetcode-cn.com/problems/dui-lie-de-zui-da-zhi-lcof| 39 | |297. 二叉树的序列化与反序列化|1|https://leetcode-cn.com/problems/serialize-and-deserialize-binary-tree| 40 | |92. 反转链表 II|1|https://leetcode-cn.com/problems/reverse-linked-list-ii| 41 | |226. 翻转二叉树|1|https://leetcode-cn.com/problems/invert-binary-tree| 42 | |440. 字典序的第K小数字|1|https://leetcode-cn.com/problems/k-th-smallest-in-lexicographical-order| 43 | |206. 反转链表|1|https://leetcode-cn.com/problems/reverse-linked-list| 44 | |42. 接雨水|1|https://leetcode-cn.com/problems/trapping-rain-water| 45 | |704. 二分查找|1|https://leetcode-cn.com/problems/binary-search| 46 | |60. 第k个排列|1|https://leetcode-cn.com/problems/permutation-sequence| 47 | |516. 最长回文子序列|1|https://leetcode-cn.com/problems/longest-palindromic-subsequence| 48 | |718. 最长重复子数组|1|https://leetcode-cn.com/problems/maximum-length-of-repeated-subarray| 49 | |5. 最长回文子串|1|https://leetcode-cn.com/problems/longest-palindromic-substring| 50 | |155. 最小栈|1|https://leetcode-cn.com/problems/min-stack| 51 | |33. 搜索旋转排序数组|1|https://leetcode-cn.com/problems/search-in-rotated-sorted-array| 52 | |113. 路径总和 II|1|https://leetcode-cn.com/problems/path-sum-ii| 53 | |143. 重排链表|1|https://leetcode-cn.com/problems/reorder-list| 54 | |148. 排序链表|1|https://leetcode-cn.com/problems/sort-list| 55 | |138. 复制带随机指针的链表|1|https://leetcode-cn.com/problems/copy-list-with-random-pointer| -------------------------------------------------------------------------------- /bytedance/frontend.md: -------------------------------------------------------------------------------- 1 | # 前端 2 | 我开发的[CodeTop题库](https://codetop.cc)可以按照部门、难度筛选,比markdown更方便查询高频题 3 | 4 | |题目|出现次数|链接| 5 | |-|-|-| 6 | |3. 无重复字符的最长子串|18|https://leetcode-cn.com/problems/longest-substring-without-repeating-characters| 7 | |88. 合并两个有序数组|17|https://leetcode-cn.com/problems/merge-sorted-array| 8 | |129. 求根到叶子节点数字之和|15|https://leetcode-cn.com/problems/sum-root-to-leaf-numbers| 9 | |112. 路径总和|13|https://leetcode-cn.com/problems/path-sum| 10 | |53. 最大子序和|12|https://leetcode-cn.com/problems/maximum-subarray| 11 | |1. 两数之和|11|https://leetcode-cn.com/problems/two-sum| 12 | |165. 比较版本号|11|https://leetcode-cn.com/problems/compare-version-numbers| 13 | |215. 数组中的第K个最大元素|10|https://leetcode-cn.com/problems/kth-largest-element-in-an-array| 14 | |209. 长度最小的子数组|8|https://leetcode-cn.com/problems/minimum-size-subarray-sum| 15 | |剑指 Offer 22. 链表中倒数第k个节点|8|https://leetcode-cn.com/problems/lian-biao-zhong-dao-shu-di-kge-jie-dian-lcof| 16 | |415. 字符串相加|8|https://leetcode-cn.com/problems/add-strings| 17 | |46. 全排列|8|https://leetcode-cn.com/problems/permutations| 18 | |206. 反转链表|7|https://leetcode-cn.com/problems/reverse-linked-list| 19 | |102. 二叉树的层序遍历|6|https://leetcode-cn.com/problems/binary-tree-level-order-traversal| 20 | |70. 爬楼梯|6|https://leetcode-cn.com/problems/climbing-stairs| 21 | |54. 螺旋矩阵|6|https://leetcode-cn.com/problems/spiral-matrix| 22 | |93. 复原IP地址|5|https://leetcode-cn.com/problems/restore-ip-addresses| 23 | |200. 岛屿数量|5|https://leetcode-cn.com/problems/number-of-islands| 24 | |230. 二叉搜索树中第K小的元素|5|https://leetcode-cn.com/problems/kth-smallest-element-in-a-bst| 25 | |15. 三数之和|5|https://leetcode-cn.com/problems/3sum| 26 | |141. 环形链表|5|https://leetcode-cn.com/problems/linked-list-cycle| 27 | |429. N叉树的层序遍历|5|https://leetcode-cn.com/problems/n-ary-tree-level-order-traversal| 28 | |226. 翻转二叉树|4|https://leetcode-cn.com/problems/invert-binary-tree| 29 | |121. 买卖股票的最佳时机|4|https://leetcode-cn.com/problems/best-time-to-buy-and-sell-stock| 30 | |718. 最长重复子数组|4|https://leetcode-cn.com/problems/maximum-length-of-repeated-subarray| 31 | |160. 相交链表|4|https://leetcode-cn.com/problems/intersection-of-two-linked-lists| 32 | |695. 岛屿的最大面积|4|https://leetcode-cn.com/problems/max-area-of-island| 33 | |62. 不同路径|4|https://leetcode-cn.com/problems/unique-paths| 34 | |剑指 Offer 62. 圆圈中最后剩下的数字|4|https://leetcode-cn.com/problems/yuan-quan-zhong-zui-hou-sheng-xia-de-shu-zi-lcof| 35 | |94. 二叉树的中序遍历|3|https://leetcode-cn.com/problems/binary-tree-inorder-traversal| 36 | |104. 二叉树的最大深度|3|https://leetcode-cn.com/problems/maximum-depth-of-binary-tree| 37 | |21. 合并两个有序链表|3|https://leetcode-cn.com/problems/merge-two-sorted-lists| 38 | |509. 斐波那契数|3|https://leetcode-cn.com/problems/fibonacci-number| 39 | |113. 路径总和 II|3|https://leetcode-cn.com/problems/path-sum-ii| 40 | |468. 验证IP地址|3|https://leetcode-cn.com/problems/validate-ip-address| 41 | |31. 下一个排列|3|https://leetcode-cn.com/problems/next-permutation| 42 | |20. 有效的括号|3|https://leetcode-cn.com/problems/valid-parentheses| 43 | |349. 两个数组的交集|3|https://leetcode-cn.com/problems/intersection-of-two-arrays| 44 | |5. 最长回文子串|3|https://leetcode-cn.com/problems/longest-palindromic-substring| 45 | |236. 二叉树的最近公共祖先|3|https://leetcode-cn.com/problems/lowest-common-ancestor-of-a-binary-tree| 46 | |146. LRU缓存机制|3|https://leetcode-cn.com/problems/lru-cache| 47 | |322. 零钱兑换|2|https://leetcode-cn.com/problems/coin-change| 48 | |394. 字符串解码|2|https://leetcode-cn.com/problems/decode-string| 49 | |19. 删除链表的倒数第N个节点|2|https://leetcode-cn.com/problems/remove-nth-node-from-end-of-list| 50 | |剑指 Offer 24. 反转链表|2|https://leetcode-cn.com/problems/fan-zhuan-lian-biao-lcof| 51 | |42. 接雨水|2|https://leetcode-cn.com/problems/trapping-rain-water| 52 | |155. 最小栈|2|https://leetcode-cn.com/problems/min-stack| 53 | |169. 多数元素|2|https://leetcode-cn.com/problems/majority-element| 54 | |剑指 Offer 21. 调整数组顺序使奇数位于偶数前面|2|https://leetcode-cn.com/problems/diao-zheng-shu-zu-shun-xu-shi-qi-shu-wei-yu-ou-shu-qian-mian-lcof| 55 | |67. 二进制求和|2|https://leetcode-cn.com/problems/add-binary| 56 | |144. 二叉树的前序遍历|2|https://leetcode-cn.com/problems/binary-tree-preorder-traversal| 57 | |198. 打家劫舍|2|https://leetcode-cn.com/problems/house-robber| 58 | |14. 最长公共前缀|2|https://leetcode-cn.com/problems/longest-common-prefix| 59 | |补充题3. 求区间最小数乘区间和的最大值|2|https://mp.weixin.qq.com/s/UFv7pt_djjZoK_gzUBrRXA| 60 | |199. 二叉树的右视图|2|https://leetcode-cn.com/problems/binary-tree-right-side-view| 61 | |剑指 Offer 09. 用两个栈实现队列|2|https://leetcode-cn.com/problems/yong-liang-ge-zhan-shi-xian-dui-lie-lcof| 62 | |56. 合并区间|2|https://leetcode-cn.com/problems/merge-intervals| 63 | |300. 最长上升子序列|2|https://leetcode-cn.com/problems/longest-increasing-subsequence| 64 | |剑指 Offer 38. 字符串的排列|2|https://leetcode-cn.com/problems/zi-fu-chuan-de-pai-lie-lcof| 65 | |补充题14. 阿拉伯数字转中文数字|2|| 66 | |400. 第N个数字|2|https://leetcode-cn.com/problems/nth-digit| 67 | |101. 对称二叉树|2|https://leetcode-cn.com/problems/symmetric-tree| 68 | |剑指 Offer 48. 最长不含重复字符的子字符串|1|https://leetcode-cn.com/problems/zui-chang-bu-han-zhong-fu-zi-fu-de-zi-zi-fu-chuan-lcof| 69 | |680. 验证回文字符串 Ⅱ|1|https://leetcode-cn.com/problems/valid-palindrome-ii| 70 | |124. 二叉树中的最大路径和|1|https://leetcode-cn.com/problems/binary-tree-maximum-path-sum| 71 | |221. 最大正方形|1|https://leetcode-cn.com/problems/maximal-square| 72 | |98. 验证二叉搜索树|1|https://leetcode-cn.com/problems/validate-binary-search-tree| 73 | |1047. 删除字符串中的所有相邻重复项|1|https://leetcode-cn.com/problems/remove-all-adjacent-duplicates-in-string| 74 | |44. 通配符匹配|1|https://leetcode-cn.com/problems/wildcard-matching| 75 | |130. 被围绕的区域|1|https://leetcode-cn.com/problems/surrounded-regions| 76 | |16. 最接近的三数之和|1|https://leetcode-cn.com/problems/3sum-closest| 77 | |498. 对角线遍历|1|https://leetcode-cn.com/problems/diagonal-traverse| 78 | |224. 基本计算器|1|https://leetcode-cn.com/problems/basic-calculator| 79 | |227. 基本计算器 II|1|https://leetcode-cn.com/problems/basic-calculator-ii| 80 | |剑指 Offer 04. 二维数组中的查找|1|https://leetcode-cn.com/problems/er-wei-shu-zu-zhong-de-cha-zhao-lcof| 81 | |443. 压缩字符串|1|https://leetcode-cn.com/problems/string-compression| 82 | |142. 环形链表 II|1|https://leetcode-cn.com/problems/linked-list-cycle-ii| 83 | |984. 不含 AAA 或 BBB 的字符串|1|https://leetcode-cn.com/problems/string-without-aaa-or-bbb| 84 | |151. 翻转字符串里的单词|1|https://leetcode-cn.com/problems/reverse-words-in-a-string| 85 | |213. 打家劫舍 II|1|https://leetcode-cn.com/problems/house-robber-ii| 86 | |114. 二叉树展开为链表|1|https://leetcode-cn.com/problems/flatten-binary-tree-to-linked-list| 87 | |109. 有序链表转换二叉搜索树|1|https://leetcode-cn.com/problems/convert-sorted-list-to-binary-search-tree| 88 | |242. 有效的字母异位词|1|https://leetcode-cn.com/problems/valid-anagram| 89 | |862. 和至少为 K 的最短子数组|1|https://leetcode-cn.com/problems/shortest-subarray-with-sum-at-least-k| 90 | |1498. 满足条件的子序列数目|1|https://leetcode-cn.com/problems/number-of-subsequences-that-satisfy-the-given-sum-condition| 91 | |257. 二叉树的所有路径|1|https://leetcode-cn.com/problems/binary-tree-paths| 92 | |63. 不同路径 II|1|https://leetcode-cn.com/problems/unique-paths-ii| 93 | |609. 在系统中查找重复文件|1|https://leetcode-cn.com/problems/find-duplicate-file-in-system| 94 | |232. 用栈实现队列|1|https://leetcode-cn.com/problems/implement-queue-using-stacks| 95 | |39. 组合总和|1|https://leetcode-cn.com/problems/combination-sum| 96 | |剑指 Offer 10- I. 斐波那契数列|1|https://leetcode-cn.com/problems/fei-bo-na-qi-shu-lie-lcof| 97 | |361. 轰炸敌人|1|https://leetcode-cn.com/problems/bomb-enemy| 98 | |525. 连续数组|1|https://leetcode-cn.com/problems/contiguous-array| 99 | |96. 不同的二叉搜索树|1|https://leetcode-cn.com/problems/unique-binary-search-trees| 100 | |103. 二叉树的锯齿形层次遍历|1|https://leetcode-cn.com/problems/binary-tree-zigzag-level-order-traversal| 101 | |717. 1比特与2比特字符|1|https://leetcode-cn.com/problems/1-bit-and-2-bit-characters| 102 | |1353. 最多可以参加的会议数目|1|https://leetcode-cn.com/problems/maximum-number-of-events-that-can-be-attended| 103 | |剑指 Offer 63. 股票的最大利润|1|https://leetcode-cn.com/problems/gu-piao-de-zui-da-li-run-lcof| 104 | |剑指 Offer 27. 二叉树的镜像|1|https://leetcode-cn.com/problems/er-cha-shu-de-jing-xiang-lcof| 105 | |LCP 04. 覆盖|1|https://leetcode-cn.com/problems/broken-board-dominoes| 106 | |剑指 Offer 39. 数组中出现次数超过一半的数字|1|https://leetcode-cn.com/problems/shu-zu-zhong-chu-xian-ci-shu-chao-guo-yi-ban-de-shu-zi-lcof| 107 | |剑指 Offer 07. 重建二叉树|1|https://leetcode-cn.com/problems/zhong-jian-er-cha-shu-lcof| 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| 114 | |783. 二叉搜索树节点最小距离|1|https://leetcode-cn.com/problems/minimum-distance-between-bst-nodes| 115 | |剑指 Offer 42. 连续子数组的最大和|1|https://leetcode-cn.com/problems/lian-xu-zi-shu-zu-de-zui-da-he-lcof| 116 | |55. 跳跃游戏|1|https://leetcode-cn.com/problems/jump-game| 117 | |2. 两数相加|1|https://leetcode-cn.com/problems/add-two-numbers| 118 | |1410. HTML 实体解析器|1|https://leetcode-cn.com/problems/html-entity-parser| 119 | |125. 验证回文串|1|https://leetcode-cn.com/problems/valid-palindrome| 120 | |12. 整数转罗马数字|1|https://leetcode-cn.com/problems/integer-to-roman| 121 | |45. 跳跃游戏 II|1|https://leetcode-cn.com/problems/jump-game-ii| 122 | |43. 字符串相乘|1|https://leetcode-cn.com/problems/multiply-strings| -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /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) -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /bytedance/test.md: -------------------------------------------------------------------------------- 1 | # 测试 2 | 我开发的[CodeTop题库](https://codetop.cc)可以按照部门、难度筛选,比markdown更方便查询高频题 3 | 4 | |题目|出现次数|链接| 5 | |-|-|-| 6 | |3. 无重复字符的最长子串|28|https://leetcode-cn.com/problems/longest-substring-without-repeating-characters| 7 | |160. 相交链表|11|https://leetcode-cn.com/problems/intersection-of-two-linked-lists| 8 | |206. 反转链表|11|https://leetcode-cn.com/problems/reverse-linked-list| 9 | |169. 多数元素|11|https://leetcode-cn.com/problems/majority-element| 10 | |1. 两数之和|10|https://leetcode-cn.com/problems/two-sum| 11 | |20. 有效的括号|10|https://leetcode-cn.com/problems/valid-parentheses| 12 | |415. 字符串相加|8|https://leetcode-cn.com/problems/add-strings| 13 | |239. 滑动窗口最大值|7|https://leetcode-cn.com/problems/sliding-window-maximum| 14 | |179. 最大数|6|https://leetcode-cn.com/problems/largest-number| 15 | |25. K 个一组翻转链表|6|https://leetcode-cn.com/problems/reverse-nodes-in-k-group| 16 | |121. 买卖股票的最佳时机|6|https://leetcode-cn.com/problems/best-time-to-buy-and-sell-stock| 17 | |5. 最长回文子串|6|https://leetcode-cn.com/problems/longest-palindromic-substring| 18 | |83. 删除排序链表中的重复元素|6|https://leetcode-cn.com/problems/remove-duplicates-from-sorted-list| 19 | |78. 子集|5|https://leetcode-cn.com/problems/subsets| 20 | |94. 二叉树的中序遍历|5|https://leetcode-cn.com/problems/binary-tree-inorder-traversal| 21 | |468. 验证IP地址|5|https://leetcode-cn.com/problems/validate-ip-address| 22 | |15. 三数之和|5|https://leetcode-cn.com/problems/3sum| 23 | |141. 环形链表|5|https://leetcode-cn.com/problems/linked-list-cycle| 24 | |718. 最长重复子数组|5|https://leetcode-cn.com/problems/maximum-length-of-repeated-subarray| 25 | |64. 最小路径和|4|https://leetcode-cn.com/problems/minimum-path-sum| 26 | |142. 环形链表 II|4|https://leetcode-cn.com/problems/linked-list-cycle-ii| 27 | |剑指 Offer 61. 扑克牌中的顺子|4|https://leetcode-cn.com/problems/bu-ke-pai-zhong-de-shun-zi-lcof| 28 | |62. 不同路径|4|https://leetcode-cn.com/problems/unique-paths| 29 | |70. 爬楼梯|4|https://leetcode-cn.com/problems/climbing-stairs| 30 | |110. 平衡二叉树|4|https://leetcode-cn.com/problems/balanced-binary-tree| 31 | |32. 最长有效括号|4|https://leetcode-cn.com/problems/longest-valid-parentheses| 32 | |1143. 最长公共子序列|4|https://leetcode-cn.com/problems/longest-common-subsequence| 33 | |21. 合并两个有序链表|4|https://leetcode-cn.com/problems/merge-two-sorted-lists| 34 | |39. 组合总和|4|https://leetcode-cn.com/problems/combination-sum| 35 | |56. 合并区间|4|https://leetcode-cn.com/problems/merge-intervals| 36 | |14. 最长公共前缀|3|https://leetcode-cn.com/problems/longest-common-prefix| 37 | |剑指 Offer 21. 调整数组顺序使奇数位于偶数前面|3|https://leetcode-cn.com/problems/diao-zheng-shu-zu-shun-xu-shi-qi-shu-wei-yu-ou-shu-qian-mian-lcof| 38 | |215. 数组中的第K个最大元素|3|https://leetcode-cn.com/problems/kth-largest-element-in-an-array| 39 | |704. 二分查找|3|https://leetcode-cn.com/problems/binary-search| 40 | |26. 删除排序数组中的重复项|3|https://leetcode-cn.com/problems/remove-duplicates-from-sorted-array| 41 | |88. 合并两个有序数组|3|https://leetcode-cn.com/problems/merge-sorted-array| 42 | |124. 二叉树中的最大路径和|3|https://leetcode-cn.com/problems/binary-tree-maximum-path-sum| 43 | |8. 字符串转换整数 (atoi)|3|https://leetcode-cn.com/problems/string-to-integer-atoi| 44 | |76. 最小覆盖子串|2|https://leetcode-cn.com/problems/minimum-window-substring| 45 | |剑指 Offer 39. 数组中出现次数超过一半的数字|2|https://leetcode-cn.com/problems/shu-zu-zhong-chu-xian-ci-shu-chao-guo-yi-ban-de-shu-zi-lcof| 46 | |146. LRU缓存机制|2|https://leetcode-cn.com/problems/lru-cache| 47 | |19. 删除链表的倒数第N个节点|2|https://leetcode-cn.com/problems/remove-nth-node-from-end-of-list| 48 | |543. 二叉树的直径|2|https://leetcode-cn.com/problems/diameter-of-binary-tree| 49 | |240. 搜索二维矩阵 II|2|https://leetcode-cn.com/problems/search-a-2d-matrix-ii| 50 | |162. 寻找峰值|2|https://leetcode-cn.com/problems/find-peak-element| 51 | |125. 验证回文串|2|https://leetcode-cn.com/problems/valid-palindrome| 52 | |268. 缺失数字|2|https://leetcode-cn.com/problems/missing-number| 53 | |42. 接雨水|2|https://leetcode-cn.com/problems/trapping-rain-water| 54 | |198. 打家劫舍|2|https://leetcode-cn.com/problems/house-robber| 55 | |242. 有效的字母异位词|2|https://leetcode-cn.com/problems/valid-anagram| 56 | |151. 翻转字符串里的单词|2|https://leetcode-cn.com/problems/reverse-words-in-a-string| 57 | |103. 二叉树的锯齿形层次遍历|2|https://leetcode-cn.com/problems/binary-tree-zigzag-level-order-traversal| 58 | |剑指 Offer 10- II. 青蛙跳台阶问题|2|https://leetcode-cn.com/problems/qing-wa-tiao-tai-jie-wen-ti-lcof| 59 | |470. 用 Rand7() 实现 Rand10()|2|https://leetcode-cn.com/problems/implement-rand10-using-rand7| 60 | |93. 复原IP地址|2|https://leetcode-cn.com/problems/restore-ip-addresses| 61 | |283. 移动零|2|https://leetcode-cn.com/problems/move-zeroes| 62 | |补充题11. 翻转URL字符串里的单词|2|| 63 | |350. 两个数组的交集 II|1|https://leetcode-cn.com/problems/intersection-of-two-arrays-ii| 64 | |51. N皇后|1|https://leetcode-cn.com/problems/n-queens| 65 | |1201. 丑数 III|1|https://leetcode-cn.com/problems/ugly-number-iii| 66 | |344. 反转字符串|1|https://leetcode-cn.com/problems/reverse-string| 67 | |862. 和至少为 K 的最短子数组|1|https://leetcode-cn.com/problems/shortest-subarray-with-sum-at-least-k| 68 | |236. 二叉树的最近公共祖先|1|https://leetcode-cn.com/problems/lowest-common-ancestor-of-a-binary-tree| 69 | |9. 回文数|1|https://leetcode-cn.com/problems/palindrome-number| 70 | |405. 数字转换为十六进制数|1|https://leetcode-cn.com/problems/convert-a-number-to-hexadecimal| 71 | |200. 岛屿数量|1|https://leetcode-cn.com/problems/number-of-islands| 72 | |796. 旋转字符串|1|https://leetcode-cn.com/problems/rotate-string| 73 | |234. 回文链表|1|https://leetcode-cn.com/problems/palindrome-linked-list| 74 | |41. 缺失的第一个正数|1|https://leetcode-cn.com/problems/first-missing-positive| 75 | |498. 对角线遍历|1|https://leetcode-cn.com/problems/diagonal-traverse| 76 | |49. 字母异位词分组|1|https://leetcode-cn.com/problems/group-anagrams| 77 | |79. 单词搜索|1|https://leetcode-cn.com/problems/word-search| 78 | |232. 用栈实现队列|1|https://leetcode-cn.com/problems/implement-queue-using-stacks| 79 | |97. 交错字符串|1|https://leetcode-cn.com/problems/interleaving-string| 80 | |154. 寻找旋转排序数组中的最小值 II|1|https://leetcode-cn.com/problems/find-minimum-in-rotated-sorted-array-ii| 81 | |113. 路径总和 II|1|https://leetcode-cn.com/problems/path-sum-ii| 82 | |443. 压缩字符串|1|https://leetcode-cn.com/problems/string-compression| 83 | |680. 验证回文字符串 Ⅱ|1|https://leetcode-cn.com/problems/valid-palindrome-ii| 84 | |53. 最大子序和|1|https://leetcode-cn.com/problems/maximum-subarray| 85 | |300. 最长上升子序列|1|https://leetcode-cn.com/problems/longest-increasing-subsequence| 86 | |31. 下一个排列|1|https://leetcode-cn.com/problems/next-permutation| 87 | |剑指 Offer 22. 链表中倒数第k个节点|1|https://leetcode-cn.com/problems/lian-biao-zhong-dao-shu-di-kge-jie-dian-lcof| 88 | |224. 基本计算器|1|https://leetcode-cn.com/problems/basic-calculator| 89 | |122. 买卖股票的最佳时机 II|1|https://leetcode-cn.com/problems/best-time-to-buy-and-sell-stock-ii| 90 | |补充题1. 排序奇升偶降链表|1|https://mp.weixin.qq.com/s/0WVa2wIAeG0nYnVndZiEXQ| 91 | |958. 二叉树的完全性检验|1|https://leetcode-cn.com/problems/check-completeness-of-a-binary-tree| 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| 112 | |136. 只出现一次的数字|1|https://leetcode-cn.com/problems/single-number| 113 | |101. 对称二叉树|1|https://leetcode-cn.com/problems/symmetric-tree| 114 | |570. 至少有5名直接下属的经理|1|https://leetcode-cn.com/problems/managers-with-at-least-5-direct-reports| 115 | |82. 删除排序链表中的重复元素 II|1|https://leetcode-cn.com/problems/remove-duplicates-from-sorted-list-ii| 116 | |950. 按递增顺序显示卡牌|1|https://leetcode-cn.com/problems/reveal-cards-in-increasing-order| 117 | |剑指 Offer 11. 旋转数组的最小数字|1|https://leetcode-cn.com/problems/xuan-zhuan-shu-zu-de-zui-xiao-shu-zi-lcof| 118 | |199. 二叉树的右视图|1|https://leetcode-cn.com/problems/binary-tree-right-side-view| 119 | |补充题6. 手撕堆排序|1|https://leetcode-cn.com/problems/sort-an-array| 120 | |738. 单调递增的数字|1|https://leetcode-cn.com/problems/monotone-increasing-digits| 121 | |745. 前缀和后缀搜索|1|https://leetcode-cn.com/problems/prefix-and-suffix-search| 122 | Software Engineer 123 | |题目|出现次数|链接| 124 | |-|-|-| 125 | |146. LRU缓存机制|2|https://leetcode-cn.com/problems/lru-cache| 126 | |80. 删除排序数组中的重复项 II|1|https://leetcode-cn.com/problems/remove-duplicates-from-sorted-array-ii| 127 | |76. 最小覆盖子串|1|https://leetcode-cn.com/problems/minimum-window-substring| 128 | |215. 数组中的第K个最大元素|1|https://leetcode-cn.com/problems/kth-largest-element-in-an-array| 129 | |1. 两数之和|1|https://leetcode-cn.com/problems/two-sum| 130 | |704. 二分查找|1|https://leetcode-cn.com/problems/binary-search| 131 | |232. 用栈实现队列|1|https://leetcode-cn.com/problems/implement-queue-using-stacks| 132 | |165. 比较版本号|1|https://leetcode-cn.com/problems/compare-version-numbers| 133 | |470. 用 Rand7() 实现 Rand10()|1|https://leetcode-cn.com/problems/implement-rand10-using-rand7| 134 | |149. 直线上最多的点数|1|https://leetcode-cn.com/problems/max-points-on-a-line| 135 | -------------------------------------------------------------------------------- /img/logo.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/afatcoder/LeetcodeTop/7105c17a4d3f61baa242f8a36a7056b5bbd0baf0/img/logo.jpg -------------------------------------------------------------------------------- /img/wechat.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/afatcoder/LeetcodeTop/7105c17a4d3f61baa242f8a36a7056b5bbd0baf0/img/wechat.png -------------------------------------------------------------------------------- /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| -------------------------------------------------------------------------------- /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| -------------------------------------------------------------------------------- /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|| -------------------------------------------------------------------------------- /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| -------------------------------------------------------------------------------- /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| -------------------------------------------------------------------------------- /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| -------------------------------------------------------------------------------- /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| -------------------------------------------------------------------------------- /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| -------------------------------------------------------------------------------- /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| -------------------------------------------------------------------------------- /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| -------------------------------------------------------------------------------- /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| -------------------------------------------------------------------------------- /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| -------------------------------------------------------------------------------- /microsoft/SDE.md: -------------------------------------------------------------------------------- 1 | - 题目原文链接见[issues](https://github.com/afatcoder/LeetcodeTop/issues) 2 | - 若想按部门/难度/题型筛选题目,可以在[CodeTop](https://codetop.cc) 查询 3 | 4 | |题目|出现次数|链接| 5 | |-|-|-| 6 | |215. 数组中的第K个最大元素|14|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. 反转链表|9|https://leetcode-cn.com/problems/reverse-linked-list| 9 | |48. 旋转图像|9|https://leetcode-cn.com/problems/rotate-image| 10 | |124. 二叉树中的最大路径和|7|https://leetcode-cn.com/problems/binary-tree-maximum-path-sum| 11 | |53. 最大子序和|7|https://leetcode-cn.com/problems/maximum-subarray| 12 | |91. 解码方法|6|https://leetcode-cn.com/problems/decode-ways| 13 | |151. 翻转字符串里的单词|6|https://leetcode-cn.com/problems/reverse-words-in-a-string| 14 | |543. 二叉树的直径|6|https://leetcode-cn.com/problems/diameter-of-binary-tree| 15 | |297. 二叉树的序列化与反序列化|6|https://leetcode-cn.com/problems/serialize-and-deserialize-binary-tree| 16 | |146. LRU缓存机制|5|https://leetcode-cn.com/problems/lru-cache| 17 | |450. 删除二叉搜索树中的节点|5|https://leetcode-cn.com/problems/delete-node-in-a-bst| 18 | |22. 括号生成|5|https://leetcode-cn.com/problems/generate-parentheses| 19 | |47. 全排列 II|5|https://leetcode-cn.com/problems/permutations-ii| 20 | |224. 基本计算器|5|https://leetcode-cn.com/problems/basic-calculator| 21 | |468. 验证IP地址|4|https://leetcode-cn.com/problems/validate-ip-address| 22 | |110. 平衡二叉树|4|https://leetcode-cn.com/problems/balanced-binary-tree| 23 | |94. 二叉树的中序遍历|4|https://leetcode-cn.com/problems/binary-tree-inorder-traversal| 24 | |15. 三数之和|4|https://leetcode-cn.com/problems/3sum| 25 | |121. 买卖股票的最佳时机|4|https://leetcode-cn.com/problems/best-time-to-buy-and-sell-stock| 26 | |39. 组合总和|4|https://leetcode-cn.com/problems/combination-sum| 27 | |1. 两数之和|4|https://leetcode-cn.com/problems/two-sum| 28 | |3. 无重复字符的最长子串|4|https://leetcode-cn.com/problems/longest-substring-without-repeating-characters| 29 | |207. 课程表|4|https://leetcode-cn.com/problems/course-schedule| 30 | |138. 复制带随机指针的链表|4|https://leetcode-cn.com/problems/copy-list-with-random-pointer| 31 | |69. x 的平方根|4|https://leetcode-cn.com/problems/sqrtx| 32 | |240. 搜索二维矩阵 II|4|https://leetcode-cn.com/problems/search-a-2d-matrix-ii| 33 | |4. 寻找两个正序数组的中位数|3|https://leetcode-cn.com/problems/median-of-two-sorted-arrays| 34 | |103. 二叉树的锯齿形层次遍历|3|https://leetcode-cn.com/problems/binary-tree-zigzag-level-order-traversal| 35 | |560. 和为K的子数组|3|https://leetcode-cn.com/problems/subarray-sum-equals-k| 36 | |162. 寻找峰值|3|https://leetcode-cn.com/problems/find-peak-element| 37 | |62. 不同路径|3|https://leetcode-cn.com/problems/unique-paths| 38 | |72. 编辑距离|3|https://leetcode-cn.com/problems/edit-distance| 39 | |200. 岛屿数量|3|https://leetcode-cn.com/problems/number-of-islands| 40 | |89. 格雷编码|3|https://leetcode-cn.com/problems/gray-code| 41 | |98. 验证二叉搜索树|3|https://leetcode-cn.com/problems/validate-binary-search-tree| 42 | |152. 乘积最大子数组|3|https://leetcode-cn.com/problems/maximum-product-subarray| 43 | |384. 打乱数组|3|https://leetcode-cn.com/problems/shuffle-an-array| 44 | |37. 解数独|3|https://leetcode-cn.com/problems/sudoku-solver| 45 | |36. 有效的数独|3|https://leetcode-cn.com/problems/valid-sudoku| 46 | |面试题 08.12. 八皇后|3|https://leetcode-cn.com/problems/eight-queens-lcci| 47 | |141. 环形链表|3|https://leetcode-cn.com/problems/linked-list-cycle| 48 | |153. 寻找旋转排序数组中的最小值|3|https://leetcode-cn.com/problems/find-minimum-in-rotated-sorted-array| 49 | |33. 搜索旋转排序数组|3|https://leetcode-cn.com/problems/search-in-rotated-sorted-array| 50 | |剑指 Offer 46. 把数字翻译成字符串|2|https://leetcode-cn.com/problems/ba-shu-zi-fan-yi-cheng-zi-fu-chuan-lcof| 51 | |415. 字符串相加|2|https://leetcode-cn.com/problems/add-strings| 52 | |986. 区间列表的交集|2|https://leetcode-cn.com/problems/interval-list-intersections| 53 | |547. 省份数量(原朋友圈)|2|https://leetcode-cn.com/problems/number-of-provinces| 54 | |34. 在排序数组中查找元素的第一个和最后一个位置|2|https://leetcode-cn.com/problems/find-first-and-last-position-of-element-in-sorted-array| 55 | |142. 环形链表 II|2|https://leetcode-cn.com/problems/linked-list-cycle-ii| 56 | |154. 寻找旋转排序数组中的最小值 II|2|https://leetcode-cn.com/problems/find-minimum-in-rotated-sorted-array-ii| 57 | |283. 移动零|2|https://leetcode-cn.com/problems/move-zeroes| 58 | |10. 正则表达式匹配|2|https://leetcode-cn.com/problems/regular-expression-matching| 59 | |79. 单词搜索|2|https://leetcode-cn.com/problems/word-search| 60 | |剑指 Offer 52. 两个链表的第一个公共节点|2|https://leetcode-cn.com/problems/liang-ge-lian-biao-de-di-yi-ge-gong-gong-jie-dian-lcof| 61 | |76. 最小覆盖子串|2|https://leetcode-cn.com/problems/minimum-window-substring| 62 | |449. 序列化和反序列化二叉搜索树|2|https://leetcode-cn.com/problems/serialize-and-deserialize-bst| 63 | |300. 最长上升子序列|2|https://leetcode-cn.com/problems/longest-increasing-subsequence| 64 | |剑指 Offer 33. 二叉搜索树的后序遍历序列|2|https://leetcode-cn.com/problems/er-cha-sou-suo-shu-de-hou-xu-bian-li-xu-lie-lcof| 65 | |剑指 Offer 04. 二维数组中的查找|2|https://leetcode-cn.com/problems/er-wei-shu-zu-zhong-de-cha-zhao-lcof| 66 | |剑指 Offer 51. 数组中的逆序对|2|https://leetcode-cn.com/problems/shu-zu-zhong-de-ni-xu-dui-lcof| 67 | |877. 石子游戏|2|https://leetcode-cn.com/problems/stone-game| 68 | |59. 螺旋矩阵 II|2|https://leetcode-cn.com/problems/spiral-matrix-ii| 69 | |25. K 个一组翻转链表|2|https://leetcode-cn.com/problems/reverse-nodes-in-k-group| 70 | |287. 寻找重复数|2|https://leetcode-cn.com/problems/find-the-duplicate-number| 71 | |362. 敲击计数器|2|https://leetcode-cn.com/problems/design-hit-counter| 72 | |119. 杨辉三角 II|2|https://leetcode-cn.com/problems/pascals-triangle-ii| 73 | |863. 二叉树中所有距离为 K 的结点|2|https://leetcode-cn.com/problems/all-nodes-distance-k-in-binary-tree| 74 | |1095. 山脉数组中查找目标值|2|https://leetcode-cn.com/problems/find-in-mountain-array| 75 | |295. 数据流的中位数|2|https://leetcode-cn.com/problems/find-median-from-data-stream| 76 | |8. 字符串转换整数 (atoi)|2|https://leetcode-cn.com/problems/string-to-integer-atoi| 77 | |129. 求根到叶子节点数字之和|2|https://leetcode-cn.com/problems/sum-root-to-leaf-numbers| 78 | |173. 二叉搜索树迭代器|2|https://leetcode-cn.com/problems/binary-search-tree-iterator| 79 | |73. 矩阵置零|2|https://leetcode-cn.com/problems/set-matrix-zeroes| 80 | |补充题12. 二叉树的下一个节点|2|https://mp.weixin.qq.com/s/yewlHvHSilMsrUMFIO8WAA| 81 | |补充题6. 手撕堆排序|2|https://leetcode-cn.com/problems/sort-an-array| 82 | |148. 排序链表|2|https://leetcode-cn.com/problems/sort-list| 83 | |208. 实现 Trie (前缀树)|2|https://leetcode-cn.com/problems/implement-trie-prefix-tree| 84 | |706. 设计哈希映射|2|https://leetcode-cn.com/problems/design-hashmap| 85 | |160. 相交链表|2|https://leetcode-cn.com/problems/intersection-of-two-linked-lists| 86 | |428. 序列化和反序列化 N 叉树|2|https://leetcode-cn.com/problems/serialize-and-deserialize-n-ary-tree| 87 | |64. 最小路径和|2|https://leetcode-cn.com/problems/minimum-path-sum| 88 | |116. 填充每个节点的下一个右侧节点指针|2|https://leetcode-cn.com/problems/populating-next-right-pointers-in-each-node| 89 | |105. 从前序与中序遍历序列构造二叉树|2|https://leetcode-cn.com/problems/construct-binary-tree-from-preorder-and-inorder-traversal| 90 | |40. 组合总和 II|2|https://leetcode-cn.com/problems/combination-sum-ii| 91 | |189. 旋转数组|2|https://leetcode-cn.com/problems/rotate-array| 92 | |84. 柱状图中最大的矩形|1|https://leetcode-cn.com/problems/largest-rectangle-in-histogram| 93 | |120. 三角形最小路径和|1|https://leetcode-cn.com/problems/triangle| 94 | |5. 最长回文子串|1|https://leetcode-cn.com/problems/longest-palindromic-substring| 95 | |867. 转置矩阵|1|https://leetcode-cn.com/problems/transpose-matrix| 96 | |78. 子集|1|https://leetcode-cn.com/problems/subsets| 97 | |907. 子数组的最小值之和|1|https://leetcode-cn.com/problems/sum-of-subarray-minimums| 98 | |1013. 将数组分成和相等的三个部分|1|https://leetcode-cn.com/problems/partition-array-into-three-parts-with-equal-sum| 99 | |572. 另一个树的子树|1|https://leetcode-cn.com/problems/subtree-of-another-tree| 100 | |704. 二分查找|1|https://leetcode-cn.com/problems/binary-search| 101 | |171. Excel表列序号|1|https://leetcode-cn.com/problems/excel-sheet-column-number| 102 | |150. 逆波兰表达式求值|1|https://leetcode-cn.com/problems/evaluate-reverse-polish-notation| 103 | |767. 重构字符串|1|https://leetcode-cn.com/problems/reorganize-string| 104 | |459. 重复的子字符串|1|https://leetcode-cn.com/problems/repeated-substring-pattern| 105 | |973. 最接近原点的 K 个点|1|https://leetcode-cn.com/problems/k-closest-points-to-origin| 106 | |剑指 Offer 21. 调整数组顺序使奇数位于偶数前面|1|https://leetcode-cn.com/problems/diao-zheng-shu-zu-shun-xu-shi-qi-shu-wei-yu-ou-shu-qian-mian-lcof| 107 | |剑指 Offer 36. 二叉搜索树与双向链表|1|https://leetcode-cn.com/problems/er-cha-sou-suo-shu-yu-shuang-xiang-lian-biao-lcof| 108 | |887. 鸡蛋掉落|1|https://leetcode-cn.com/problems/super-egg-drop| 109 | |剑指 Offer 26. 树的子结构|1|https://leetcode-cn.com/problems/shu-de-zi-jie-gou-lcof| 110 | |328. 奇偶链表|1|https://leetcode-cn.com/problems/odd-even-linked-list| 111 | |137. 只出现一次的数字 II|1|https://leetcode-cn.com/problems/single-number-ii| 112 | |155. 最小栈|1|https://leetcode-cn.com/problems/min-stack| 113 | |1375. 灯泡开关 III|1|https://leetcode-cn.com/problems/bulb-switcher-iii| 114 | |662. 二叉树最大宽度|1|https://leetcode-cn.com/problems/maximum-width-of-binary-tree| 115 | |44. 通配符匹配|1|https://leetcode-cn.com/problems/wildcard-matching| 116 | |739. 每日温度|1|https://leetcode-cn.com/problems/daily-temperatures| 117 | |122. 买卖股票的最佳时机 II|1|https://leetcode-cn.com/problems/best-time-to-buy-and-sell-stock-ii| 118 | |20. 有效的括号|1|https://leetcode-cn.com/problems/valid-parentheses| 119 | |700. 二叉搜索树中的搜索|1|https://leetcode-cn.com/problems/search-in-a-binary-search-tree| 120 | |701. 二叉搜索树中的插入操作|1|https://leetcode-cn.com/problems/insert-into-a-binary-search-tree| 121 | |1312. 让字符串成为回文串的最少插入次数|1|https://leetcode-cn.com/problems/minimum-insertion-steps-to-make-a-string-palindrome| 122 | |139. 单词拆分|1|https://leetcode-cn.com/problems/word-break| 123 | |557. 反转字符串中的单词 III|1|https://leetcode-cn.com/problems/reverse-words-in-a-string-iii| 124 | |60. 第k个排列|1|https://leetcode-cn.com/problems/permutation-sequence| 125 | |848. 字母移位|1|https://leetcode-cn.com/problems/shifting-letters| 126 | |569. 员工薪水中位数|1|https://leetcode-cn.com/problems/median-employee-salary| 127 | |88. 合并两个有序数组|1|https://leetcode-cn.com/problems/merge-sorted-array| 128 | |617. 合并二叉树|1|https://leetcode-cn.com/problems/merge-two-binary-trees| 129 | |349. 两个数组的交集|1|https://leetcode-cn.com/problems/intersection-of-two-arrays| 130 | |713. 乘积小于K的子数组|1|https://leetcode-cn.com/problems/subarray-product-less-than-k| 131 | |102. 二叉树的层序遍历|1|https://leetcode-cn.com/problems/binary-tree-level-order-traversal| 132 | |113. 路径总和 II|1|https://leetcode-cn.com/problems/path-sum-ii| 133 | |692. 前K个高频单词|1|https://leetcode-cn.com/problems/top-k-frequent-words| 134 | |394. 字符串解码|1|https://leetcode-cn.com/problems/decode-string| 135 | |1155. 掷骰子的N种方法|1|https://leetcode-cn.com/problems/number-of-dice-rolls-with-target-sum| 136 | |694. 不同岛屿的数量|1|https://leetcode-cn.com/problems/number-of-distinct-islands| 137 | |1314. 矩阵区域和|1|https://leetcode-cn.com/problems/matrix-block-sum| 138 | |82. 删除排序链表中的重复元素 II|1|https://leetcode-cn.com/problems/remove-duplicates-from-sorted-list-ii| 139 | |123. 买卖股票的最佳时机 III|1|https://leetcode-cn.com/problems/best-time-to-buy-and-sell-stock-iii| 140 | |114. 二叉树展开为链表|1|https://leetcode-cn.com/problems/flatten-binary-tree-to-linked-list| 141 | |104. 二叉树的最大深度|1|https://leetcode-cn.com/problems/maximum-depth-of-binary-tree| 142 | |407. 接雨水 II|1|https://leetcode-cn.com/problems/trapping-rain-water-ii| 143 | |剑指 Offer 40. 最小的k个数|1|https://leetcode-cn.com/problems/zui-xiao-de-kge-shu-lcof| 144 | |347. 前 K 个高频元素|1|https://leetcode-cn.com/problems/top-k-frequent-elements| 145 | |剑指 Offer 31. 栈的压入、弹出序列|1|https://leetcode-cn.com/problems/zhan-de-ya-ru-dan-chu-xu-lie-lcof| 146 | |29. 两数相除|1|https://leetcode-cn.com/problems/divide-two-integers| 147 | |1356. 根据数字二进制下 1 的数目排序|1|https://leetcode-cn.com/problems/sort-integers-by-the-number-of-1-bits| 148 | |386. 字典序排数|1|https://leetcode-cn.com/problems/lexicographical-numbers| 149 | |311. 稀疏矩阵的乘法|1|https://leetcode-cn.com/problems/sparse-matrix-multiplication| 150 | |166. 分数到小数|1|https://leetcode-cn.com/problems/fraction-to-recurring-decimal| 151 | |补充题14. 阿拉伯数字转中文数字|1|| 152 | |21. 合并两个有序链表|1|https://leetcode-cn.com/problems/merge-two-sorted-lists| 153 | |1358. 包含所有三种字符的子字符串数目|1|https://leetcode-cn.com/problems/number-of-substrings-containing-all-three-characters| 154 | |剑指 Offer 53 - II. 0~n-1中缺失的数字|1|https://leetcode-cn.com/problems/que-shi-de-shu-zi-lcof| 155 | |补充题17. 两个有序数组第k小的数|1|| 156 | |209. 长度最小的子数组|1|https://leetcode-cn.com/problems/minimum-size-subarray-sum| 157 | |227. 基本计算器 II|1|https://leetcode-cn.com/problems/basic-calculator-ii| 158 | |470. 用 Rand7() 实现 Rand10()|1|https://leetcode-cn.com/problems/implement-rand10-using-rand7| 159 | |13. 罗马数字转整数|1|https://leetcode-cn.com/problems/roman-to-integer| 160 | |643. 子数组最大平均数 I|1|https://leetcode-cn.com/problems/maximum-average-subarray-i| 161 | |871. 最低加油次数|1|https://leetcode-cn.com/problems/minimum-number-of-refueling-stops| 162 | |1615. 最大网络秩|1|https://leetcode-cn.com/problems/maximal-network-rank| 163 | |剑指 Offer 56 - II. 数组中数字出现的次数 II|1|https://leetcode-cn.com/problems/shu-zu-zhong-shu-zi-chu-xian-de-ci-shu-ii-lcof| 164 | |1483. 树节点的第 K 个祖先|1|https://leetcode-cn.com/problems/kth-ancestor-of-a-tree-node| 165 | |1570. 两个稀疏向量的点积|1|https://leetcode-cn.com/problems/dot-product-of-two-sparse-vectors| 166 | |628. 三个数的最大乘积|1|https://leetcode-cn.com/problems/maximum-product-of-three-numbers| 167 | |145. 二叉树的后序遍历|1|https://leetcode-cn.com/problems/binary-tree-postorder-traversal| 168 | |46. 全排列|1|https://leetcode-cn.com/problems/permutations| 169 | |460. LFU缓存|1|https://leetcode-cn.com/problems/lfu-cache| 170 | |785. 判断二分图|1|https://leetcode-cn.com/problems/is-graph-bipartite| 171 | |718. 最长重复子数组|1|https://leetcode-cn.com/problems/maximum-length-of-repeated-subarray| 172 | |242. 有效的字母异位词|1|https://leetcode-cn.com/problems/valid-anagram| 173 | |307. 区域和检索 - 数组可修改|1|https://leetcode-cn.com/problems/range-sum-query-mutable| 174 | |442. 数组中重复的数据|1|https://leetcode-cn.com/problems/find-all-duplicates-in-an-array| 175 | |补充题13. 中文数字转阿拉伯数字|1|| 176 | |56. 合并区间|1|https://leetcode-cn.com/problems/merge-intervals| 177 | |17. 电话号码的字母组合|1|https://leetcode-cn.com/problems/letter-combinations-of-a-phone-number| 178 | |1143. 最长公共子序列|1|https://leetcode-cn.com/problems/longest-common-subsequence| 179 | |179. 最大数|1|https://leetcode-cn.com/problems/largest-number| 180 | |513. 找树左下角的值|1|https://leetcode-cn.com/problems/find-bottom-left-tree-value| 181 | |133. 克隆图|1|https://leetcode-cn.com/problems/clone-graph| 182 | |99. 恢复二叉搜索树|1|https://leetcode-cn.com/problems/recover-binary-search-tree| 183 | |剑指 Offer 48. 最长不含重复字符的子字符串|1|https://leetcode-cn.com/problems/zui-chang-bu-han-zhong-fu-zi-fu-de-zi-zi-fu-chuan-lcof| 184 | |168. Excel表列名称|1|https://leetcode-cn.com/problems/excel-sheet-column-title| 185 | |2. 两数相加|1|https://leetcode-cn.com/problems/add-two-numbers| 186 | |337. 打家劫舍 III|1|https://leetcode-cn.com/problems/house-robber-iii| 187 | |518. 零钱兑换 II|1|https://leetcode-cn.com/problems/coin-change-2| 188 | |844. 比较含退格的字符串|1|https://leetcode-cn.com/problems/backspace-string-compare| 189 | |353. 贪吃蛇|1|https://leetcode-cn.com/problems/design-snake-game| 190 | |198. 打家劫舍|1|https://leetcode-cn.com/problems/house-robber| 191 | |109. 有序链表转换二叉搜索树|1|https://leetcode-cn.com/problems/convert-sorted-list-to-binary-search-tree| 192 | |70. 爬楼梯|1|https://leetcode-cn.com/problems/climbing-stairs| 193 | |面试题 17.24. 最大子矩阵|1|https://leetcode-cn.com/problems/max-submatrix-lcci| 194 | |268. 缺失数字|1|https://leetcode-cn.com/problems/missing-number| 195 | |1497. 检查数组对是否可以被 k 整除|1|https://leetcode-cn.com/problems/check-if-array-pairs-are-divisible-by-k| 196 | |239. 滑动窗口最大值|1|https://leetcode-cn.com/problems/sliding-window-maximum| 197 | |354. 俄罗斯套娃信封问题|1|https://leetcode-cn.com/problems/russian-doll-envelopes| 198 | |752. 打开转盘锁|1|https://leetcode-cn.com/problems/open-the-lock| 199 | |797. 所有可能的路径|1|https://leetcode-cn.com/problems/all-paths-from-source-to-target| 200 | |222. 完全二叉树的节点个数|1|https://leetcode-cn.com/problems/count-complete-tree-nodes| 201 | |322. 零钱兑换|1|https://leetcode-cn.com/problems/coin-change| 202 | |743. 网络延迟时间|1|https://leetcode-cn.com/problems/network-delay-time| 203 | |199. 二叉树的右视图|1|https://leetcode-cn.com/problems/binary-tree-right-side-view| 204 | |135. 分发糖果|1|https://leetcode-cn.com/problems/candy| 205 | |41. 缺失的第一个正数|1|https://leetcode-cn.com/problems/first-missing-positive| 206 | |剑指 Offer 15. 二进制中1的个数|1|https://leetcode-cn.com/problems/er-jin-zhi-zhong-1de-ge-shu-lcof| 207 | |剑指 Offer 22. 链表中倒数第k个节点|1|https://leetcode-cn.com/problems/lian-biao-zhong-dao-shu-di-kge-jie-dian-lcof| 208 | -------------------------------------------------------------------------------- /shopee/algorithm.md: -------------------------------------------------------------------------------- 1 | 我最近开发的[CodeTop网站](https://codetop.cc)可以按照**部门**、**难度**筛选,比markdown更方便检索 2 | 3 | |题目|出现次数|链接| 4 | |-|-|-| 5 | |5. 最长回文子串|2|https://leetcode-cn.com/problems/longest-palindromic-substring| 6 | |915. 分割数组|1|https://leetcode-cn.com/problems/partition-array-into-disjoint-intervals| 7 | |3. 无重复字符的最长子串|1|https://leetcode-cn.com/problems/longest-substring-without-repeating-characters| 8 | |724. 寻找数组的中心索引|1|https://leetcode-cn.com/problems/find-pivot-index| -------------------------------------------------------------------------------- /shopee/backend.md: -------------------------------------------------------------------------------- 1 | 我最近开发的[CodeTop网站](https://codetop.cc)可以按照**部门**、**难度**筛选,比markdown更方便检索 2 | 3 | |题目|出现次数|链接| 4 | |-|-|-| 5 | |232. 用栈实现队列|10|https://leetcode-cn.com/problems/implement-queue-using-stacks| 6 | |160. 相交链表|8|https://leetcode-cn.com/problems/intersection-of-two-linked-lists| 7 | |1. 两数之和|7|https://leetcode-cn.com/problems/two-sum| 8 | |21. 合并两个有序链表|7|https://leetcode-cn.com/problems/merge-two-sorted-lists| 9 | |179. 最大数|5|https://leetcode-cn.com/problems/largest-number| 10 | |704. 二分查找|5|https://leetcode-cn.com/problems/binary-search| 11 | |146. LRU缓存机制|5|https://leetcode-cn.com/problems/lru-cache| 12 | |226. 翻转二叉树|4|https://leetcode-cn.com/problems/invert-binary-tree| 13 | |206. 反转链表|4|https://leetcode-cn.com/problems/reverse-linked-list| 14 | |2. 两数相加|4|https://leetcode-cn.com/problems/add-two-numbers| 15 | |82. 删除排序链表中的重复元素 II|4|https://leetcode-cn.com/problems/remove-duplicates-from-sorted-list-ii| 16 | |72. 编辑距离|3|https://leetcode-cn.com/problems/edit-distance| 17 | |15. 三数之和|3|https://leetcode-cn.com/problems/3sum| 18 | |94. 二叉树的中序遍历|3|https://leetcode-cn.com/problems/binary-tree-inorder-traversal| 19 | |34. 在排序数组中查找元素的第一个和最后一个位置|3|https://leetcode-cn.com/problems/find-first-and-last-position-of-element-in-sorted-array| 20 | |102. 二叉树的层序遍历|3|https://leetcode-cn.com/problems/binary-tree-level-order-traversal| 21 | |3. 无重复字符的最长子串|3|https://leetcode-cn.com/problems/longest-substring-without-repeating-characters| 22 | |117. 填充每个节点的下一个右侧节点指针 II|3|https://leetcode-cn.com/problems/populating-next-right-pointers-in-each-node-ii| 23 | |76. 最小覆盖子串|3|https://leetcode-cn.com/problems/minimum-window-substring| 24 | |445. 两数相加 II|3|https://leetcode-cn.com/problems/add-two-numbers-ii| 25 | |19. 删除链表的倒数第N个节点|2|https://leetcode-cn.com/problems/remove-nth-node-from-end-of-list| 26 | |补充题5. 手撕归并排序|2|https://leetcode-cn.com/problems/sort-an-array| 27 | |105. 从前序与中序遍历序列构造二叉树|2|https://leetcode-cn.com/problems/construct-binary-tree-from-preorder-and-inorder-traversal| 28 | |199. 二叉树的右视图|2|https://leetcode-cn.com/problems/binary-tree-right-side-view| 29 | |141. 环形链表|2|https://leetcode-cn.com/problems/linked-list-cycle| 30 | |136. 只出现一次的数字|2|https://leetcode-cn.com/problems/single-number| 31 | |剑指 Offer 51. 数组中的逆序对|2|https://leetcode-cn.com/problems/shu-zu-zhong-de-ni-xu-dui-lcof| 32 | |113. 路径总和 II|2|https://leetcode-cn.com/problems/path-sum-ii| 33 | |405. 数字转换为十六进制数|2|https://leetcode-cn.com/problems/convert-a-number-to-hexadecimal| 34 | |215. 数组中的第K个最大元素|2|https://leetcode-cn.com/problems/kth-largest-element-in-an-array| 35 | |110. 平衡二叉树|2|https://leetcode-cn.com/problems/balanced-binary-tree| 36 | |剑指 Offer 22. 链表中倒数第k个节点|2|https://leetcode-cn.com/problems/lian-biao-zhong-dao-shu-di-kge-jie-dian-lcof| 37 | |239. 滑动窗口最大值|2|https://leetcode-cn.com/problems/sliding-window-maximum| 38 | |145. 二叉树的后序遍历|2|https://leetcode-cn.com/problems/binary-tree-postorder-traversal| 39 | |25. K 个一组翻转链表|2|https://leetcode-cn.com/problems/reverse-nodes-in-k-group| 40 | |236. 二叉树的最近公共祖先|2|https://leetcode-cn.com/problems/lowest-common-ancestor-of-a-binary-tree| 41 | |23. 合并K个排序链表|1|https://leetcode-cn.com/problems/merge-k-sorted-lists| 42 | |53. 最大子序和|1|https://leetcode-cn.com/problems/maximum-subarray| 43 | |718. 最长重复子数组|1|https://leetcode-cn.com/problems/maximum-length-of-repeated-subarray| 44 | |378. 有序矩阵中第K小的元素|1|https://leetcode-cn.com/problems/kth-smallest-element-in-a-sorted-matrix| 45 | |154. 寻找旋转排序数组中的最小值 II|1|https://leetcode-cn.com/problems/find-minimum-in-rotated-sorted-array-ii| 46 | |295. 数据流的中位数|1|https://leetcode-cn.com/problems/find-median-from-data-stream| 47 | |142. 环形链表 II|1|https://leetcode-cn.com/problems/linked-list-cycle-ii| 48 | |144. 二叉树的前序遍历|1|https://leetcode-cn.com/problems/binary-tree-preorder-traversal| 49 | |42. 接雨水|1|https://leetcode-cn.com/problems/trapping-rain-water| 50 | |167. 两数之和 II - 输入有序数组|1|https://leetcode-cn.com/problems/two-sum-ii-input-array-is-sorted| 51 | |54. 螺旋矩阵|1|https://leetcode-cn.com/problems/spiral-matrix| 52 | |114. 二叉树展开为链表|1|https://leetcode-cn.com/problems/flatten-binary-tree-to-linked-list| 53 | |153. 寻找旋转排序数组中的最小值|1|https://leetcode-cn.com/problems/find-minimum-in-rotated-sorted-array| 54 | |剑指 Offer 10- I. 斐波那契数列|1|https://leetcode-cn.com/problems/fei-bo-na-qi-shu-lie-lcof| 55 | |88. 合并两个有序数组|1|https://leetcode-cn.com/problems/merge-sorted-array| 56 | |5. 最长回文子串|1|https://leetcode-cn.com/problems/longest-palindromic-substring| 57 | |230. 二叉搜索树中第K小的元素|1|https://leetcode-cn.com/problems/kth-smallest-element-in-a-bst| 58 | |300. 最长上升子序列|1|https://leetcode-cn.com/problems/longest-increasing-subsequence| 59 | |415. 字符串相加|1|https://leetcode-cn.com/problems/add-strings| 60 | |138. 复制带随机指针的链表|1|https://leetcode-cn.com/problems/copy-list-with-random-pointer| 61 | |剑指 Offer 62. 圆圈中最后剩下的数字|1|https://leetcode-cn.com/problems/yuan-quan-zhong-zui-hou-sheng-xia-de-shu-zi-lcof| 62 | |98. 验证二叉搜索树|1|https://leetcode-cn.com/problems/validate-binary-search-tree| 63 | |402. 移掉K位数字|1|https://leetcode-cn.com/problems/remove-k-digits| 64 | |208. 实现 Trie (前缀树)|1|https://leetcode-cn.com/problems/implement-trie-prefix-tree| 65 | |528. 按权重随机选择|1|https://leetcode-cn.com/problems/random-pick-with-weight| 66 | |680. 验证回文字符串 Ⅱ|1|https://leetcode-cn.com/problems/valid-palindrome-ii| 67 | |349. 两个数组的交集|1|https://leetcode-cn.com/problems/intersection-of-two-arrays| 68 | |443. 压缩字符串|1|https://leetcode-cn.com/problems/string-compression| 69 | |225. 用队列实现栈|1|https://leetcode-cn.com/problems/implement-stack-using-queues| 70 | |83. 删除排序链表中的重复元素|1|https://leetcode-cn.com/problems/remove-duplicates-from-sorted-list| 71 | |92. 反转链表 II|1|https://leetcode-cn.com/problems/reverse-linked-list-ii| 72 | |97. 交错字符串|1|https://leetcode-cn.com/problems/interleaving-string| 73 | |227. 基本计算器 II|1|https://leetcode-cn.com/problems/basic-calculator-ii| 74 | |169. 多数元素|1|https://leetcode-cn.com/problems/majority-element| 75 | |20. 有效的括号|1|https://leetcode-cn.com/problems/valid-parentheses| 76 | |139. 单词拆分|1|https://leetcode-cn.com/problems/word-break| 77 | |547. 省份数量(原朋友圈)|1|https://leetcode-cn.com/problems/number-of-provinces| 78 | |26. 删除排序数组中的重复项|1|https://leetcode-cn.com/problems/remove-duplicates-from-sorted-array| 79 | |369. 给单链表加一|1|https://leetcode-cn.com/problems/plus-one-linked-list| 80 | |补充题4. 手撕快速排序|1|https://leetcode-cn.com/problems/sort-an-array| 81 | |101. 对称二叉树|1|https://leetcode-cn.com/problems/symmetric-tree| 82 | |62. 不同路径|1|https://leetcode-cn.com/problems/unique-paths| 83 | |513. 找树左下角的值|1|https://leetcode-cn.com/problems/find-bottom-left-tree-value| 84 | |79. 单词搜索|1|https://leetcode-cn.com/problems/word-search| 85 | |283. 移动零|1|https://leetcode-cn.com/problems/move-zeroes| 86 | |48. 旋转图像|1|https://leetcode-cn.com/problems/rotate-image| 87 | |670. 最大交换|1|https://leetcode-cn.com/problems/maximum-swap| 88 | |703. 数据流中的第K大元素|1|https://leetcode-cn.com/problems/kth-largest-element-in-a-stream| 89 | |剑指 Offer 27. 二叉树的镜像|1|https://leetcode-cn.com/problems/er-cha-shu-de-jing-xiang-lcof| 90 | |241. 为运算表达式设计优先级|1|https://leetcode-cn.com/problems/different-ways-to-add-parentheses| 91 | |746. 使用最小花费爬楼梯|1|https://leetcode-cn.com/problems/min-cost-climbing-stairs| 92 | |187. 重复的DNA序列|1|https://leetcode-cn.com/problems/repeated-dna-sequences| 93 | |面试题 01.06. 字符串压缩|1|https://leetcode-cn.com/problems/compress-string-lcci| 94 | |958. 二叉树的完全性检验|1|https://leetcode-cn.com/problems/check-completeness-of-a-binary-tree| 95 | |剑指 Offer 33. 二叉搜索树的后序遍历序列|1|https://leetcode-cn.com/problems/er-cha-sou-suo-shu-de-hou-xu-bian-li-xu-lie-lcof| 96 | |727. 最小窗口子序列|1|https://leetcode-cn.com/problems/minimum-window-subsequence| 97 | |118. 杨辉三角|1|https://leetcode-cn.com/problems/pascals-triangle| 98 | |392. 判断子序列|1|https://leetcode-cn.com/problems/is-subsequence| 99 | |73. 矩阵置零|1|https://leetcode-cn.com/problems/set-matrix-zeroes| 100 | |47. 全排列 II|1|https://leetcode-cn.com/problems/permutations-ii| 101 | |31. 下一个排列|1|https://leetcode-cn.com/problems/next-permutation| 102 | |151. 翻转字符串里的单词|1|https://leetcode-cn.com/problems/reverse-words-in-a-string| 103 | |200. 岛屿数量|1|https://leetcode-cn.com/problems/number-of-islands| 104 | |剑指 Offer 48. 最长不含重复字符的子字符串|1|https://leetcode-cn.com/problems/zui-chang-bu-han-zhong-fu-zi-fu-de-zi-zi-fu-chuan-lcof| 105 | |1038. 从二叉搜索树到更大和树|1|https://leetcode-cn.com/problems/binary-search-tree-to-greater-sum-tree| 106 | |123. 买卖股票的最佳时机 III|1|https://leetcode-cn.com/problems/best-time-to-buy-and-sell-stock-iii| 107 | |257. 二叉树的所有路径|1|https://leetcode-cn.com/problems/binary-tree-paths| 108 | |75. 颜色分类|1|https://leetcode-cn.com/problems/sort-colors| 109 | |628. 三个数的最大乘积|1|https://leetcode-cn.com/problems/maximum-product-of-three-numbers| -------------------------------------------------------------------------------- /shopee/client.md: -------------------------------------------------------------------------------- 1 | 我最近开发的[CodeTop网站](https://codetop.cc)可以按照**部门**、**难度**筛选,比markdown更方便检索 2 | |题目|出现次数|链接| 3 | |-|-|-| 4 | |53. 最大子序和|5|https://leetcode-cn.com/problems/maximum-subarray| 5 | |206. 反转链表|3|https://leetcode-cn.com/problems/reverse-linked-list| 6 | |110. 平衡二叉树|2|https://leetcode-cn.com/problems/balanced-binary-tree| 7 | |144. 二叉树的前序遍历|2|https://leetcode-cn.com/problems/binary-tree-preorder-traversal| 8 | |54. 螺旋矩阵|2|https://leetcode-cn.com/problems/spiral-matrix| 9 | |剑指 Offer 22. 链表中倒数第k个节点|2|https://leetcode-cn.com/problems/lian-biao-zhong-dao-shu-di-kge-jie-dian-lcof| 10 | |215. 数组中的第K个最大元素|1|https://leetcode-cn.com/problems/kth-largest-element-in-an-array| 11 | |300. 最长上升子序列|1|https://leetcode-cn.com/problems/longest-increasing-subsequence| 12 | |146. LRU缓存机制|1|https://leetcode-cn.com/problems/lru-cache| 13 | |88. 合并两个有序数组|1|https://leetcode-cn.com/problems/merge-sorted-array| 14 | |94. 二叉树的中序遍历|1|https://leetcode-cn.com/problems/binary-tree-inorder-traversal| 15 | |补充题4. 手撕快速排序|1|https://leetcode-cn.com/problems/sort-an-array| 16 | |224. 基本计算器|1|https://leetcode-cn.com/problems/basic-calculator| 17 | |152. 乘积最大子数组|1|https://leetcode-cn.com/problems/maximum-product-subarray| 18 | |232. 用栈实现队列|1|https://leetcode-cn.com/problems/implement-queue-using-stacks| 19 | |102. 二叉树的层序遍历|1|https://leetcode-cn.com/problems/binary-tree-level-order-traversal| 20 | |69. x 的平方根|1|https://leetcode-cn.com/problems/sqrtx| 21 | |补充题5. 手撕归并排序|1|https://leetcode-cn.com/problems/sort-an-array| 22 | |41. 缺失的第一个正数|1|https://leetcode-cn.com/problems/first-missing-positive| 23 | |14. 最长公共前缀|1|https://leetcode-cn.com/problems/longest-common-prefix| 24 | |160. 相交链表|1|https://leetcode-cn.com/problems/intersection-of-two-linked-lists| 25 | |剑指 Offer 31. 栈的压入、弹出序列|1|https://leetcode-cn.com/problems/zhan-de-ya-ru-dan-chu-xu-lie-lcof| 26 | |141. 环形链表|1|https://leetcode-cn.com/problems/linked-list-cycle| 27 | |226. 翻转二叉树|1|https://leetcode-cn.com/problems/invert-binary-tree| 28 | |704. 二分查找|1|https://leetcode-cn.com/problems/binary-search| 29 | |2. 两数相加|1|https://leetcode-cn.com/problems/add-two-numbers| 30 | |剑指 Offer 54. 二叉搜索树的第k大节点|1|https://leetcode-cn.com/problems/er-cha-sou-suo-shu-de-di-kda-jie-dian-lcof| 31 | |142. 环形链表 II|1|https://leetcode-cn.com/problems/linked-list-cycle-ii| 32 | |3. 无重复字符的最长子串|1|https://leetcode-cn.com/problems/longest-substring-without-repeating-characters| -------------------------------------------------------------------------------- /shopee/data.md: -------------------------------------------------------------------------------- 1 | 我最近开发的[CodeTop网站](https://codetop.cc)可以按照**部门**、**难度**筛选,比markdown更方便检索 2 | 3 | |题目|出现次数|链接| 4 | |-|-|-| 5 | |283. 移动零|2|https://leetcode-cn.com/problems/move-zeroes| 6 | |160. 相交链表|1|https://leetcode-cn.com/problems/intersection-of-two-linked-lists| 7 | |补充题4. 手撕快速排序|1|https://leetcode-cn.com/problems/sort-an-array| 8 | |剑指 Offer 27. 二叉树的镜像|1|https://leetcode-cn.com/problems/er-cha-shu-de-jing-xiang-lcof| 9 | |剑指 Offer 09. 用两个栈实现队列|1|https://leetcode-cn.com/problems/yong-liang-ge-zhan-shi-xian-dui-lie-lcof| -------------------------------------------------------------------------------- /shopee/frontend.md: -------------------------------------------------------------------------------- 1 | 我最近开发的[CodeTop网站](https://codetop.cc)可以按照**部门**、**难度**筛选,比markdown更方便检索 2 | 3 | |题目|出现次数|链接| 4 | |-|-|-| 5 | |剑指 Offer 10- I. 斐波那契数列|2|https://leetcode-cn.com/problems/fei-bo-na-qi-shu-lie-lcof| 6 | |415. 字符串相加|2|https://leetcode-cn.com/problems/add-strings| 7 | |补充题4. 手撕快速排序|2|https://leetcode-cn.com/problems/sort-an-array| 8 | |94. 二叉树的中序遍历|2|https://leetcode-cn.com/problems/binary-tree-inorder-traversal| 9 | |102. 二叉树的层序遍历|1|https://leetcode-cn.com/problems/binary-tree-level-order-traversal| 10 | |349. 两个数组的交集|1|https://leetcode-cn.com/problems/intersection-of-two-arrays| 11 | |704. 二分查找|1|https://leetcode-cn.com/problems/binary-search| 12 | |145. 二叉树的后序遍历|1|https://leetcode-cn.com/problems/binary-tree-postorder-traversal| 13 | |151. 翻转字符串里的单词|1|https://leetcode-cn.com/problems/reverse-words-in-a-string| 14 | |1. 两数之和|1|https://leetcode-cn.com/problems/two-sum| 15 | |141. 环形链表|1|https://leetcode-cn.com/problems/linked-list-cycle| -------------------------------------------------------------------------------- /shopee/test.md: -------------------------------------------------------------------------------- 1 | 我最近开发的[CodeTop网站](https://codetop.cc)可以按照**部门**、**难度**筛选,比markdown更方便检索 2 | 3 | |题目|出现次数|链接| 4 | |-|-|-| 5 | |88. 合并两个有序数组|3|https://leetcode-cn.com/problems/merge-sorted-array| 6 | |70. 爬楼梯|3|https://leetcode-cn.com/problems/climbing-stairs| 7 | |14. 最长公共前缀|3|https://leetcode-cn.com/problems/longest-common-prefix| 8 | |136. 只出现一次的数字|3|https://leetcode-cn.com/problems/single-number| 9 | |141. 环形链表|2|https://leetcode-cn.com/problems/linked-list-cycle| 10 | |8. 字符串转换整数 (atoi)|2|https://leetcode-cn.com/problems/string-to-integer-atoi| 11 | |121. 买卖股票的最佳时机|2|https://leetcode-cn.com/problems/best-time-to-buy-and-sell-stock| 12 | |278. 第一个错误的版本|2|https://leetcode-cn.com/problems/first-bad-version| 13 | |59. 螺旋矩阵 II|2|https://leetcode-cn.com/problems/spiral-matrix-ii| 14 | |剑指 Offer 10- I. 斐波那契数列|2|https://leetcode-cn.com/problems/fei-bo-na-qi-shu-lie-lcof| 15 | |704. 二分查找|2|https://leetcode-cn.com/problems/binary-search| 16 | |160. 相交链表|2|https://leetcode-cn.com/problems/intersection-of-two-linked-lists| 17 | |34. 在排序数组中查找元素的第一个和最后一个位置|2|https://leetcode-cn.com/problems/find-first-and-last-position-of-element-in-sorted-array| 18 | |1. 两数之和|2|https://leetcode-cn.com/problems/two-sum| 19 | |15. 三数之和|2|https://leetcode-cn.com/problems/3sum| 20 | |5. 最长回文子串|2|https://leetcode-cn.com/problems/longest-palindromic-substring| 21 | |补充题13. 中文数字转阿拉伯数字|1|| 22 | |剑指 Offer 03. 数组中重复的数字|1|https://leetcode-cn.com/problems/shu-zu-zhong-zhong-fu-de-shu-zi-lcof| 23 | |145. 二叉树的后序遍历|1|https://leetcode-cn.com/problems/binary-tree-postorder-traversal| 24 | |102. 二叉树的层序遍历|1|https://leetcode-cn.com/problems/binary-tree-level-order-traversal| 25 | |350. 两个数组的交集 II|1|https://leetcode-cn.com/problems/intersection-of-two-arrays-ii| 26 | |268. 缺失数字|1|https://leetcode-cn.com/problems/missing-number| 27 | |206. 反转链表|1|https://leetcode-cn.com/problems/reverse-linked-list| 28 | |877. 石子游戏|1|https://leetcode-cn.com/problems/stone-game| 29 | |162. 寻找峰值|1|https://leetcode-cn.com/problems/find-peak-element| 30 | |232. 用栈实现队列|1|https://leetcode-cn.com/problems/implement-queue-using-stacks| 31 | |168. Excel表列名称|1|https://leetcode-cn.com/problems/excel-sheet-column-title| 32 | |191. 位1的个数|1|https://leetcode-cn.com/problems/number-of-1-bits| 33 | |647. 回文子串|1|https://leetcode-cn.com/problems/palindromic-substrings| 34 | |20. 有效的括号|1|https://leetcode-cn.com/problems/valid-parentheses| 35 | |剑指 Offer 22. 链表中倒数第k个节点|1|https://leetcode-cn.com/problems/lian-biao-zhong-dao-shu-di-kge-jie-dian-lcof| 36 | |125. 验证回文串|1|https://leetcode-cn.com/problems/valid-palindrome| 37 | |142. 环形链表 II|1|https://leetcode-cn.com/problems/linked-list-cycle-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| -------------------------------------------------------------------------------- /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| -------------------------------------------------------------------------------- /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| -------------------------------------------------------------------------------- /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/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| -------------------------------------------------------------------------------- /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/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| -------------------------------------------------------------------------------- /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| -------------------------------------------------------------------------------- /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| -------------------------------------------------------------------------------- /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| -------------------------------------------------------------------------------- /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| --------------------------------------------------------------------------------