Skip to content

Commit

Permalink
新增美团面经(8.15~3.5号)
Browse files Browse the repository at this point in the history
  • Loading branch information
afatcoder committed Mar 9, 2021
1 parent b602201 commit bacad06
Show file tree
Hide file tree
Showing 9 changed files with 303 additions and 5 deletions.
32 changes: 27 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,17 +1,39 @@
# LeetcodeTop
本仓库用于汇总互联网公司技术岗考察leetcode题目的热度:fire:,帮助同学们更加有针对性地准备面试。
本仓库用于汇总互联网公司技术岗考察Leetcode题目的热度:fire:,帮助同学们更加有针对性地准备面试。

**为方便大家高效检索题目,推出CodeTop网站,支持公司+部门+岗位自由组合查询**[https://codetop.cc](https://codetop.cc)

:loudspeaker: [2021.02.20] 我的好友龙哥目前建了个开源免费的内推项目[AwesomeJob](https://github.com/Dikea/AwesomeJob),致力于帮助学生找到实习、校招内推机会,帮助企业员工找到合适的实习生、校招生,减少信息隔阂,欢迎Star⭐
相对于力扣官方企业题库,CodeTop有以下优点

:speech_balloon:面试交流:想加入面试交流群的可以扫码加入。若群满员或二维码过期,请在「一个搬砖的胖子」公众号点击「加交流群」,添加我的微信后即被拉群
1. 免费开放:汇总的高频题目免费分享给大家
2. 分类精细:按公司、部门<sup>1</sup>、岗位进行分类,方便大家更针对性地准备面试
3. 题源可靠:全网收录题目考察情况<sup>2</sup>,渠道不限于牛客、CSDN博客、热心网友分享等
4. 本土特色:汇总办公地位于中国大陆的互联网企业

![互联网求职交流群](https://i.ibb.co/6tcJJ7p/1612232327-1.png)
注1:若想按部门查询题目,请在[CodeTop网站](http://codetop.cc)或CodeTop小程序查看<br>
注2:为保证数据真实可信,[issues](https://github.com/afatcoder/LeetcodeTop/issues)中会声名了所有涉及的原文链接

:speech_balloon:面试交流:若想加大厂面试交流群,请在「一个搬砖的胖子」公众号点击「加交流群」,添加我的微信后即被拉群

![公众号:一个搬砖的胖子](https://github.com/afatcoder/LeetcodeTop/blob/master/img/wechat.png)

:link:友情链接:我的好友龙哥目前建了个开源免费的内推项目[AwesomeJob](https://github.com/Dikea/AwesomeJob),致力于帮助学生找到实习、校招内推机会,帮助企业员工找到合适的实习生、校招生,减少信息隔阂,欢迎Star⭐

:information_source:数据来源:牛客网笔经面经,题目的原始文章链接已放在[issues](https://github.com/afatcoder/LeetcodeTop/issues)

:warning:若转载本文章,需注明本仓库地址哦
:warning:若转载文章,需注明本仓库地址

## 美团(牛客2020.8.15~牛客2021.3.5号面经)
<details>
<summary>按岗位分类</summary>

- [后端](https://github.com/afatcoder/LeetcodeTop/blob/master/meituan/backend.md)
- [算法](https://github.com/afatcoder/LeetcodeTop/blob/master/meituan/algorithm.md)
- [客户端](https://github.com/afatcoder/LeetcodeTop/blob/master/meituan/client.md)
- [前端](https://github.com/afatcoder/LeetcodeTop/blob/master/meituan/frontend.md)
- [测试](https://github.com/afatcoder/LeetcodeTop/blob/master/meituan/test.md)
- [数据开发](https://github.com/afatcoder/LeetcodeTop/blob/master/meituan/data.md)
</details>

## 猿辅导(更新至牛客3.5日的面经)
<details>
Expand Down
Binary file removed img/leetcodetop.png
Binary file not shown.
Binary file added img/wechat.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
21 changes: 21 additions & 0 deletions meituan/algorithm.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# 算法
若想按部门/难度/题型筛选题目,请进入[CodeTop](https://codetop.cc)查询
|题目|出现次数|链接|
|-|-|-|
|121. 买卖股票的最佳时机|2|https://leetcode-cn.com/problems/best-time-to-buy-and-sell-stock|
|128. 最长连续序列|2|https://leetcode-cn.com/problems/longest-consecutive-sequence|
|补充题4. 手撕快速排序|2||
|剑指 Offer 65. 不用加减乘除做加法|2|https://leetcode-cn.com/problems/bu-yong-jia-jian-cheng-chu-zuo-jia-fa-lcof|
|15. 三数之和|1|https://leetcode-cn.com/problems/3sum|
|39. 组合总和|1|https://leetcode-cn.com/problems/combination-sum|
|73. 矩阵置零|1|https://leetcode-cn.com/problems/set-matrix-zeroes|
|718. 最长重复子数组|1|https://leetcode-cn.com/problems/maximum-length-of-repeated-subarray|
|剑指 Offer 22. 链表中倒数第k个节点|1|https://leetcode-cn.com/problems/lian-biao-zhong-dao-shu-di-kge-jie-dian-lcof|
|695. 岛屿的最大面积|1|https://leetcode-cn.com/problems/max-area-of-island|
|2. 两数相加|1|https://leetcode-cn.com/problems/add-two-numbers|
|面试题 17.24. 最大子矩阵|1|https://leetcode-cn.com/problems/max-submatrix-lcci|
|226. 翻转二叉树|1|https://leetcode-cn.com/problems/invert-binary-tree|
|146. LRU缓存机制|1|https://leetcode-cn.com/problems/lru-cache|
|300. 最长上升子序列|1|https://leetcode-cn.com/problems/longest-increasing-subsequence|
|剑指 Offer 40. 最小的k个数|1|https://leetcode-cn.com/problems/zui-xiao-de-kge-shu-lcof|
|215. 数组中的第K个最大元素|1|https://leetcode-cn.com/problems/kth-largest-element-in-an-array|
113 changes: 113 additions & 0 deletions meituan/backend.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,113 @@
# 后端
若想按部门/难度/题型筛选题目,请进入[CodeTop](https://codetop.cc)查询
|题目|出现次数|链接|
|-|-|-|
|206. 反转链表|10|https://leetcode-cn.com/problems/reverse-linked-list|
|补充题4. 手撕快速排序|6||
|8. 字符串转换整数 (atoi)|5|https://leetcode-cn.com/problems/string-to-integer-atoi|
|剑指 Offer 22. 链表中倒数第k个节点|4|https://leetcode-cn.com/problems/lian-biao-zhong-dao-shu-di-kge-jie-dian-lcof|
|144. 二叉树的前序遍历|4|https://leetcode-cn.com/problems/binary-tree-preorder-traversal|
|88. 合并两个有序数组|4|https://leetcode-cn.com/problems/merge-sorted-array|
|5. 最长回文子串|3|https://leetcode-cn.com/problems/longest-palindromic-substring|
|110. 平衡二叉树|3|https://leetcode-cn.com/problems/balanced-binary-tree|
|25. K 个一组翻转链表|3|https://leetcode-cn.com/problems/reverse-nodes-in-k-group|
|415. 字符串相加|3|https://leetcode-cn.com/problems/add-strings|
|102. 二叉树的层序遍历|3|https://leetcode-cn.com/problems/binary-tree-level-order-traversal|
|718. 最长重复子数组|3|https://leetcode-cn.com/problems/maximum-length-of-repeated-subarray|
|236. 二叉树的最近公共祖先|3|https://leetcode-cn.com/problems/lowest-common-ancestor-of-a-binary-tree|
|232. 用栈实现队列|3|https://leetcode-cn.com/problems/implement-queue-using-stacks|
|146. LRU缓存机制|3|https://leetcode-cn.com/problems/lru-cache|
|498. 对角线遍历|2|https://leetcode-cn.com/problems/diagonal-traverse|
|160. 相交链表|2|https://leetcode-cn.com/problems/intersection-of-two-linked-lists|
|剑指 Offer 62. 圆圈中最后剩下的数字|2|https://leetcode-cn.com/problems/yuan-quan-zhong-zui-hou-sheng-xia-de-shu-zi-lcof|
|687. 最长同值路径|2|https://leetcode-cn.com/problems/longest-univalue-path|
|142. 环形链表 II|2|https://leetcode-cn.com/problems/linked-list-cycle-ii|
|69. x 的平方根|2|https://leetcode-cn.com/problems/sqrtx|
|234. 回文链表|2|https://leetcode-cn.com/problems/palindrome-linked-list|
|7. 整数反转|2|https://leetcode-cn.com/problems/reverse-integer|
|199. 二叉树的右视图|2|https://leetcode-cn.com/problems/binary-tree-right-side-view|
|53. 最大子序和|2|https://leetcode-cn.com/problems/maximum-subarray|
|226. 翻转二叉树|2|https://leetcode-cn.com/problems/invert-binary-tree|
|82. 删除排序链表中的重复元素 II|2|https://leetcode-cn.com/problems/remove-duplicates-from-sorted-list-ii|
|143. 重排链表|2|https://leetcode-cn.com/problems/reorder-list|
|468. 验证IP地址|2|https://leetcode-cn.com/problems/validate-ip-address|
|33. 搜索旋转排序数组|2|https://leetcode-cn.com/problems/search-in-rotated-sorted-array|
|704. 二分查找|2|https://leetcode-cn.com/problems/binary-search|
|92. 反转链表 II|2|https://leetcode-cn.com/problems/reverse-linked-list-ii|
|补充题5. 手撕归并排序|2||
|34. 在排序数组中查找元素的第一个和最后一个位置|2|https://leetcode-cn.com/problems/find-first-and-last-position-of-element-in-sorted-array|
|93. 复原IP地址|2|https://leetcode-cn.com/problems/restore-ip-addresses|
|剑指 Offer 36. 二叉搜索树与双向链表|2|https://leetcode-cn.com/problems/er-cha-sou-suo-shu-yu-shuang-xiang-lian-biao-lcof|
|2. 两数相加|2|https://leetcode-cn.com/problems/add-two-numbers|
|215. 数组中的第K个最大元素|2|https://leetcode-cn.com/problems/kth-largest-element-in-an-array|
|384. 打乱数组|2|https://leetcode-cn.com/problems/shuffle-an-array|
|300. 最长上升子序列|2|https://leetcode-cn.com/problems/longest-increasing-subsequence|
|1. 两数之和|2|https://leetcode-cn.com/problems/two-sum|
|141. 环形链表|1|https://leetcode-cn.com/problems/linked-list-cycle|
|155. 最小栈|1|https://leetcode-cn.com/problems/min-stack|
|1044. 最长重复子串|1|https://leetcode-cn.com/problems/longest-duplicate-substring|
|105. 从前序与中序遍历序列构造二叉树|1|https://leetcode-cn.com/problems/construct-binary-tree-from-preorder-and-inorder-traversal|
|113. 路径总和 II|1|https://leetcode-cn.com/problems/path-sum-ii|
|450. 删除二叉搜索树中的节点|1|https://leetcode-cn.com/problems/delete-node-in-a-bst|
|1095. 山脉数组中查找目标值|1|https://leetcode-cn.com/problems/find-in-mountain-array|
|剑指 Offer 09. 用两个栈实现队列|1|https://leetcode-cn.com/problems/yong-liang-ge-zhan-shi-xian-dui-lie-lcof|
|138. 复制带随机指针的链表|1|https://leetcode-cn.com/problems/copy-list-with-random-pointer|
|60. 第k个排列|1|https://leetcode-cn.com/problems/permutation-sequence|
|补充题6. 手撕堆排序|1||
|268. 缺失数字|1|https://leetcode-cn.com/problems/missing-number|
|55. 跳跃游戏|1|https://leetcode-cn.com/problems/jump-game|
|518. 零钱兑换 II|1|https://leetcode-cn.com/problems/coin-change-2|
|43. 字符串相乘|1|https://leetcode-cn.com/problems/multiply-strings|
|94. 二叉树的中序遍历|1|https://leetcode-cn.com/problems/binary-tree-inorder-traversal|
|62. 不同路径|1|https://leetcode-cn.com/problems/unique-paths|
|54. 螺旋矩阵|1|https://leetcode-cn.com/problems/spiral-matrix|
|198. 打家劫舍|1|https://leetcode-cn.com/problems/house-robber|
|191. 位1的个数|1|https://leetcode-cn.com/problems/number-of-1-bits|
|169. 多数元素|1|https://leetcode-cn.com/problems/majority-element|
|64. 最小路径和|1|https://leetcode-cn.com/problems/minimum-path-sum|
|179. 最大数|1|https://leetcode-cn.com/problems/largest-number|
|679. 24 点游戏|1|https://leetcode-cn.com/problems/24-game|
|42. 接雨水|1|https://leetcode-cn.com/problems/trapping-rain-water|
|203. 移除链表元素|1|https://leetcode-cn.com/problems/remove-linked-list-elements|
|19. 删除链表的倒数第N个节点|1|https://leetcode-cn.com/problems/remove-nth-node-from-end-of-list|
|153. 寻找旋转排序数组中的最小值|1|https://leetcode-cn.com/problems/find-minimum-in-rotated-sorted-array|
|137. 只出现一次的数字 II|1|https://leetcode-cn.com/problems/single-number-ii|
|26. 删除排序数组中的重复项|1|https://leetcode-cn.com/problems/remove-duplicates-from-sorted-array|
|1245. 树的直径|1|https://leetcode-cn.com/problems/tree-diameter|
|78. 子集|1|https://leetcode-cn.com/problems/subsets|
|958. 二叉树的完全性检验|1|https://leetcode-cn.com/problems/check-completeness-of-a-binary-tree|
|240. 搜索二维矩阵 II|1|https://leetcode-cn.com/problems/search-a-2d-matrix-ii|
|剑指 Offer 58 - I. 翻转单词顺序|1|https://leetcode-cn.com/problems/fan-zhuan-dan-ci-shun-xu-lcof|
|剑指 Offer 53 - I. 在排序数组中查找数字 I|1|https://leetcode-cn.com/problems/zai-pai-xu-shu-zu-zhong-cha-zhao-shu-zi-lcof|
|387. 字符串中的第一个唯一字符|1|https://leetcode-cn.com/problems/first-unique-character-in-a-string|
|剑指 Offer 11. 旋转数组的最小数字|1|https://leetcode-cn.com/problems/xuan-zhuan-shu-zu-de-zui-xiao-shu-zi-lcof|
|132. 分割回文串 II|1|https://leetcode-cn.com/problems/palindrome-partitioning-ii|
|20. 有效的括号|1|https://leetcode-cn.com/problems/valid-parentheses|
|41. 缺失的第一个正数|1|https://leetcode-cn.com/problems/first-missing-positive|
|剑指 Offer 58 - II. 左旋转字符串|1|https://leetcode-cn.com/problems/zuo-xuan-zhuan-zi-fu-chuan-lcof|
|104. 二叉树的最大深度|1|https://leetcode-cn.com/problems/maximum-depth-of-binary-tree|
|124. 二叉树中的最大路径和|1|https://leetcode-cn.com/problems/binary-tree-maximum-path-sum|
|4. 寻找两个正序数组的中位数|1|https://leetcode-cn.com/problems/median-of-two-sorted-arrays|
|9. 回文数|1|https://leetcode-cn.com/problems/palindrome-number|
|617. 合并二叉树|1|https://leetcode-cn.com/problems/merge-two-binary-trees|
|1143. 最长公共子序列|1|https://leetcode-cn.com/problems/longest-common-subsequence|
|剑指 Offer 40. 最小的k个数|1|https://leetcode-cn.com/problems/zui-xiao-de-kge-shu-lcof|
|15. 三数之和|1|https://leetcode-cn.com/problems/3sum|
|剑指 Offer 14- I. 剪绳子|1|https://leetcode-cn.com/problems/jian-sheng-zi-lcof|
|21. 合并两个有序链表|1|https://leetcode-cn.com/problems/merge-two-sorted-lists|
|509. 斐波那契数|1|https://leetcode-cn.com/problems/fibonacci-number|
|108. 将有序数组转换为二叉搜索树|1|https://leetcode-cn.com/problems/convert-sorted-array-to-binary-search-tree|
|31. 下一个排列|1|https://leetcode-cn.com/problems/next-permutation|
|补充题8. 计算数组的小和|1|https://mp.weixin.qq.com/s/0ih4W6nawzFUPSj3GOnYTQ|
|83. 删除排序链表中的重复元素|1|https://leetcode-cn.com/problems/remove-duplicates-from-sorted-list|
|剑指 Offer 45. 把数组排成最小的数|1|https://leetcode-cn.com/problems/ba-shu-zu-pai-cheng-zui-xiao-de-shu-lcof|
|70. 爬楼梯|1|https://leetcode-cn.com/problems/climbing-stairs|
|117. 填充每个节点的下一个右侧节点指针 II|1|https://leetcode-cn.com/problems/populating-next-right-pointers-in-each-node-ii|
|剑指 Offer 10- II. 青蛙跳台阶问题|1|https://leetcode-cn.com/problems/qing-wa-tiao-tai-jie-wen-ti-lcof|
|354. 俄罗斯套娃信封问题|1|https://leetcode-cn.com/problems/russian-doll-envelopes|
|162. 寻找峰值|1|https://leetcode-cn.com/problems/find-peak-element|
|543. 二叉树的直径|1|https://leetcode-cn.com/problems/diameter-of-binary-tree|
|面试题 16.03. 交点|1|https://leetcode-cn.com/problems/intersection-lcci|
|227. 基本计算器 II|1|https://leetcode-cn.com/problems/basic-calculator-ii|
|剑指 Offer 10- I. 斐波那契数列|1|https://leetcode-cn.com/problems/fei-bo-na-qi-shu-lie-lcof|
|59. 螺旋矩阵 II|1|https://leetcode-cn.com/problems/spiral-matrix-ii|
49 changes: 49 additions & 0 deletions meituan/client.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
# 客户端
若想按部门/难度/题型筛选题目,请进入[CodeTop](https://codetop.cc)查询
|题目|出现次数|链接|
|-|-|-|
|142. 环形链表 II|4|https://leetcode-cn.com/problems/linked-list-cycle-ii|
|剑指 Offer 10- I. 斐波那契数列|3|https://leetcode-cn.com/problems/fei-bo-na-qi-shu-lie-lcof|
|补充题4. 手撕快速排序|3||
|206. 反转链表|3|https://leetcode-cn.com/problems/reverse-linked-list|
|剑指 Offer 52. 两个链表的第一个公共节点|2|https://leetcode-cn.com/problems/liang-ge-lian-biao-de-di-yi-ge-gong-gong-jie-dian-lcof|
|46. 全排列|2|https://leetcode-cn.com/problems/permutations|
|236. 二叉树的最近公共祖先|2|https://leetcode-cn.com/problems/lowest-common-ancestor-of-a-binary-tree|
|19. 删除链表的倒数第N个节点|2|https://leetcode-cn.com/problems/remove-nth-node-from-end-of-list|
|141. 环形链表|2|https://leetcode-cn.com/problems/linked-list-cycle|
|155. 最小栈|2|https://leetcode-cn.com/problems/min-stack|
|102. 二叉树的层序遍历|1|https://leetcode-cn.com/problems/binary-tree-level-order-traversal|
|70. 爬楼梯|1|https://leetcode-cn.com/problems/climbing-stairs|
|25. K 个一组翻转链表|1|https://leetcode-cn.com/problems/reverse-nodes-in-k-group|
|199. 二叉树的右视图|1|https://leetcode-cn.com/problems/binary-tree-right-side-view|
|78. 子集|1|https://leetcode-cn.com/problems/subsets|
|4. 寻找两个正序数组的中位数|1|https://leetcode-cn.com/problems/median-of-two-sorted-arrays|
|144. 二叉树的前序遍历|1|https://leetcode-cn.com/problems/binary-tree-preorder-traversal|
|63. 不同路径 II|1|https://leetcode-cn.com/problems/unique-paths-ii|
|225. 用队列实现栈|1|https://leetcode-cn.com/problems/implement-stack-using-queues|
|468. 验证IP地址|1|https://leetcode-cn.com/problems/validate-ip-address|
|151. 翻转字符串里的单词|1|https://leetcode-cn.com/problems/reverse-words-in-a-string|
|121. 买卖股票的最佳时机|1|https://leetcode-cn.com/problems/best-time-to-buy-and-sell-stock|
|21. 合并两个有序链表|1|https://leetcode-cn.com/problems/merge-two-sorted-lists|
|516. 最长回文子序列|1|https://leetcode-cn.com/problems/longest-palindromic-subsequence|
|剑指 Offer 10- II. 青蛙跳台阶问题|1|https://leetcode-cn.com/problems/qing-wa-tiao-tai-jie-wen-ti-lcof|
|7. 整数反转|1|https://leetcode-cn.com/problems/reverse-integer|
|54. 螺旋矩阵|1|https://leetcode-cn.com/problems/spiral-matrix|
|889. 根据前序和后序遍历构造二叉树|1|https://leetcode-cn.com/problems/construct-binary-tree-from-preorder-and-postorder-traversal|
|20. 有效的括号|1|https://leetcode-cn.com/problems/valid-parentheses|
|718. 最长重复子数组|1|https://leetcode-cn.com/problems/maximum-length-of-repeated-subarray|
|1143. 最长公共子序列|1|https://leetcode-cn.com/problems/longest-common-subsequence|
|34. 在排序数组中查找元素的第一个和最后一个位置|1|https://leetcode-cn.com/problems/find-first-and-last-position-of-element-in-sorted-array|
|113. 路径总和 II|1|https://leetcode-cn.com/problems/path-sum-ii|
|剑指 Offer 40. 最小的k个数|1|https://leetcode-cn.com/problems/zui-xiao-de-kge-shu-lcof|
|53. 最大子序和|1|https://leetcode-cn.com/problems/maximum-subarray|
|62. 不同路径|1|https://leetcode-cn.com/problems/unique-paths|
|312. 戳气球|1|https://leetcode-cn.com/problems/burst-balloons|
|234. 回文链表|1|https://leetcode-cn.com/problems/palindrome-linked-list|
|69. x 的平方根|1|https://leetcode-cn.com/problems/sqrtx|
|559. N叉树的最大深度|1|https://leetcode-cn.com/problems/maximum-depth-of-n-ary-tree|
|300. 最长上升子序列|1|https://leetcode-cn.com/problems/longest-increasing-subsequence|
|232. 用栈实现队列|1|https://leetcode-cn.com/problems/implement-queue-using-stacks|
|146. LRU缓存机制|1|https://leetcode-cn.com/problems/lru-cache|
|88. 合并两个有序数组|1|https://leetcode-cn.com/problems/merge-sorted-array|
|160. 相交链表|1|https://leetcode-cn.com/problems/intersection-of-two-linked-lists|
14 changes: 14 additions & 0 deletions meituan/data.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# 数据研发
若想按部门/难度/题型筛选题目,请进入[CodeTop](https://codetop.cc)查询
|题目|出现次数|链接|
|-|-|-|
|补充题4. 手撕快速排序|2||
|剑指 Offer 22. 链表中倒数第k个节点|1|https://leetcode-cn.com/problems/lian-biao-zhong-dao-shu-di-kge-jie-dian-lcof|
|15. 三数之和|1|https://leetcode-cn.com/problems/3sum|
|239. 滑动窗口最大值|1|https://leetcode-cn.com/problems/sliding-window-maximum|
|20. 有效的括号|1|https://leetcode-cn.com/problems/valid-parentheses|
|155. 最小栈|1|https://leetcode-cn.com/problems/min-stack|
|54. 螺旋矩阵|1|https://leetcode-cn.com/problems/spiral-matrix|
|21. 合并两个有序链表|1|https://leetcode-cn.com/problems/merge-two-sorted-lists|
|215. 数组中的第K个最大元素|1|https://leetcode-cn.com/problems/kth-largest-element-in-an-array|
|53. 最大子序和|1|https://leetcode-cn.com/problems/maximum-subarray|
Loading

0 comments on commit bacad06

Please sign in to comment.