diff --git a/README.md b/README.md index 4af21d8..6025274 100644 --- a/README.md +++ b/README.md @@ -13,6 +13,18 @@ :warning:若转载本文章,需注明本仓库地址哦 +## 猿辅导(更新至牛客3.5日的面经) +
+按岗位分类 + +- [后端](https://github.com/afatcoder/LeetcodeTop/blob/master/yuanfudao/backend.md) +- [算法](https://github.com/afatcoder/LeetcodeTop/blob/master/yuanfudao/algorithm.md) +- [客户端](https://github.com/afatcoder/LeetcodeTop/blob/master/yuanfudao/client.md) +- [前端](https://github.com/afatcoder/LeetcodeTop/blob/master/yuanfudao/frontend.md) +- [测试](https://github.com/afatcoder/LeetcodeTop/blob/master/yuanfudao/test.md) +- [数据开发](https://github.com/afatcoder/LeetcodeTop/blob/master/yuanfudao/data.md) +
+ ## 字节跳动(更新至牛客2.28日的面经)
按岗位分类 @@ -41,18 +53,6 @@ - [数据开发](https://github.com/afatcoder/LeetcodeTop/blob/master/kuaishou/data.md)
-## 猿辅导(更新至牛客8.31日的面经) -
-按岗位分类 - -[8.1~8.31面试考察的题目](https://github.com/afatcoder/LeetcodeTop/blob/master/yuanfudao/new.md) -- [后端](https://github.com/afatcoder/LeetcodeTop/blob/master/yuanfudao/backend.md) -- [算法](https://github.com/afatcoder/LeetcodeTop/blob/master/yuanfudao/algorithm.md) -- [客户端](https://github.com/afatcoder/LeetcodeTop/blob/master/yuanfudao/client.md) -- [前端](https://github.com/afatcoder/LeetcodeTop/blob/master/yuanfudao/frontend.md) -- [测试](https://github.com/afatcoder/LeetcodeTop/blob/master/yuanfudao/test.md) -- [数据开发](https://github.com/afatcoder/LeetcodeTop/blob/master/yuanfudao/data.md) -
## 百度(更新至牛客8.7日的面经)
diff --git a/yuanfudao/algorithm.md b/yuanfudao/algorithm.md index 2e4e845..e05f277 100644 --- a/yuanfudao/algorithm.md +++ b/yuanfudao/algorithm.md @@ -1,10 +1,22 @@ -| 题目 | 频次 | -|--------------------------|----| -| 445\. 两数相加 II | 1 | -| 543\. 二叉树的直径 | 1 | -| 83\. 删除排序链表中的重复元素 | 1 | -| 面试题 03\.05\. 栈排序 | 1 | -| 1254\. 统计封闭岛屿的数目 | 1 | -| 847\. 访问所有节点的最短路径 | 1 | -| 25\. K 个一组翻转链表 | 1 | -| 剑指 Offer 22\. 链表中倒数第k个节点 | 1 | \ No newline at end of file +# 算法 + +|题目|出现次数|链接| +|-|-|-| +|445. 两数相加 II|2|https://leetcode-cn.com/problems/add-two-numbers-ii| +|688. “马”在棋盘上的概率|1|https://leetcode-cn.com/problems/knight-probability-in-chessboard| +|847. 访问所有节点的最短路径|1|https://leetcode-cn.com/problems/shortest-path-visiting-all-nodes| +|340. 至多包含 K 个不同字符的最长子串|1|https://leetcode-cn.com/problems/longest-substring-with-at-most-k-distinct-characters| +|827. 最大人工岛|1|https://leetcode-cn.com/problems/making-a-large-island| +|1254. 统计封闭岛屿的数目|1|https://leetcode-cn.com/problems/number-of-closed-islands| +|582. 杀死进程|1|https://leetcode-cn.com/problems/kill-process| +|773. 滑动谜题|1|https://leetcode-cn.com/problems/sliding-puzzle| +|83. 删除排序链表中的重复元素|1|https://leetcode-cn.com/problems/remove-duplicates-from-sorted-list| +|207. 课程表|1|https://leetcode-cn.com/problems/course-schedule| +|33. 搜索旋转排序数组|1|https://leetcode-cn.com/problems/search-in-rotated-sorted-array| +|543. 二叉树的直径|1|https://leetcode-cn.com/problems/diameter-of-binary-tree| +|692. 前K个高频单词|1|https://leetcode-cn.com/problems/top-k-frequent-words| +|剑指 Offer 22. 链表中倒数第k个节点|1|https://leetcode-cn.com/problems/lian-biao-zhong-dao-shu-di-kge-jie-dian-lcof| +|424. 替换后的最长重复字符|1|https://leetcode-cn.com/problems/longest-repeating-character-replacement| +|200. 岛屿数量|1|https://leetcode-cn.com/problems/number-of-islands| +|25. K 个一组翻转链表|1|https://leetcode-cn.com/problems/reverse-nodes-in-k-group| +|225. 用队列实现栈|1|https://leetcode-cn.com/problems/implement-stack-using-queues| \ No newline at end of file diff --git a/yuanfudao/backend.md b/yuanfudao/backend.md index 2826d82..d81a65a 100644 --- a/yuanfudao/backend.md +++ b/yuanfudao/backend.md @@ -1,41 +1,145 @@ -| 题目 | 频次 | -|--------------------------|----| -| 189\. 旋转数组 | 3 | -| 剑指 Offer 27\. 二叉树的镜像 | 3 | -| 113\. 路径总和 II | 3 | -| 1\. 两数之和 | 2 | -| 面试题 03\.05\. 栈排序 | 2 | -| 74\. 搜索二维矩阵 | 2 | -| 110\. 平衡二叉树 | 2 | -| 222\. 完全二叉树的节点个数 | 2 | -| 25\. K 个一组翻转链表 | 2 | -| 剑指 Offer 36\. 二叉搜索树与双向链表 | 2 | -| 98\. 验证二叉搜索树 | 2 | -| 215\. 数组中的第K个最大元素 | 2 | -| 7\. 整数反转 | 1 | -| 102\. 二叉树的层序遍历 | 1 | -| 562\.矩阵中最长的连续1线段 | 1 | -| 41\. 缺失的第一个正数 | 1 | -| 448\. 找到所有数组中消失的数字 | 1 | -| 82\. 删除排序链表中的重复元素 II | 1 | -| 94\. 二叉树的中序遍历 | 1 | -| 257\. 二叉树的所有路径 | 1 | -| 124\. 二叉树中的最大路径和 | 1 | -| 450\. 删除二叉搜索树中的节点 | 1 | -| 40\. 组合总和 II | 1 | -| 658\. 找到 K 个最接近的元素 | 1 | -| 316\. 去除重复字母 | 1 | -| 86\. 分隔链表 | 1 | -| 226\. 翻转二叉树 | 1 | -| 剑指 Offer 22\. 链表中倒数第k个节点 | 1 | -| 560\. 和为K的子数组 | 1 | -| 442\. 数组中重复的数据 | 1 | -| 1325\. 删除给定值的叶子节点 | 1 | -| 剑指 Offer 25\. 合并两个排序的链表 | 1 | -| 240\. 搜索二维矩阵 II | 1 | -| 958\. 二叉树的完全性检验 | 1 | -| 239\. 滑动窗口最大值 | 1 | -| 208\. 实现 Trie \(前缀树\) | 1 | -| 99\. 恢复二叉搜索树 | 1 | -| 83\. 删除排序链表中的重复元素 | 1 | -| 301\. 删除无效的括号 | 1 | +# 后端 + +|题目|出现次数|链接| +|-|-|-| +|215. 数组中的第K个最大元素|10|https://leetcode-cn.com/problems/kth-largest-element-in-an-array| +|92. 反转链表 II|7|https://leetcode-cn.com/problems/reverse-linked-list-ii| +|剑指 Offer 36. 二叉搜索树与双向链表|7|https://leetcode-cn.com/problems/er-cha-sou-suo-shu-yu-shuang-xiang-lian-biao-lcof| +|98. 验证二叉搜索树|7|https://leetcode-cn.com/problems/validate-binary-search-tree| +|148. 排序链表|7|https://leetcode-cn.com/problems/sort-list| +|200. 岛屿数量|6|https://leetcode-cn.com/problems/number-of-islands| +|328. 奇偶链表|6|https://leetcode-cn.com/problems/odd-even-linked-list| +|23. 合并K个排序链表|5|https://leetcode-cn.com/problems/merge-k-sorted-lists| +|306. 累加数|5|https://leetcode-cn.com/problems/additive-number| +|110. 平衡二叉树|5|https://leetcode-cn.com/problems/balanced-binary-tree| +|剑指 Offer 54. 二叉搜索树的第k大节点|5|https://leetcode-cn.com/problems/er-cha-sou-suo-shu-de-di-kda-jie-dian-lcof| +|56. 合并区间|5|https://leetcode-cn.com/problems/merge-intervals| +|33. 搜索旋转排序数组|5|https://leetcode-cn.com/problems/search-in-rotated-sorted-array| +|2. 两数相加|5|https://leetcode-cn.com/problems/add-two-numbers| +|146. LRU缓存机制|4|https://leetcode-cn.com/problems/lru-cache| +|94. 二叉树的中序遍历|4|https://leetcode-cn.com/problems/binary-tree-inorder-traversal| +|93. 复原IP地址|4|https://leetcode-cn.com/problems/restore-ip-addresses| +|113. 路径总和 II|4|https://leetcode-cn.com/problems/path-sum-ii| +|239. 滑动窗口最大值|4|https://leetcode-cn.com/problems/sliding-window-maximum| +|958. 二叉树的完全性检验|4|https://leetcode-cn.com/problems/check-completeness-of-a-binary-tree| +|543. 二叉树的直径|4|https://leetcode-cn.com/problems/diameter-of-binary-tree| +|25. K 个一组翻转链表|4|https://leetcode-cn.com/problems/reverse-nodes-in-k-group| +|104. 二叉树的最大深度|4|https://leetcode-cn.com/problems/maximum-depth-of-binary-tree| +|222. 完全二叉树的节点个数|3|https://leetcode-cn.com/problems/count-complete-tree-nodes| +|83. 删除排序链表中的重复元素|3|https://leetcode-cn.com/problems/remove-duplicates-from-sorted-list| +|64. 最小路径和|3|https://leetcode-cn.com/problems/minimum-path-sum| +|695. 岛屿的最大面积|3|https://leetcode-cn.com/problems/max-area-of-island| +|剑指 Offer 27. 二叉树的镜像|3|https://leetcode-cn.com/problems/er-cha-shu-de-jing-xiang-lcof| +|74. 搜索二维矩阵|3|https://leetcode-cn.com/problems/search-a-2d-matrix| +|142. 环形链表 II|3|https://leetcode-cn.com/problems/linked-list-cycle-ii| +|369. 给单链表加一|3|https://leetcode-cn.com/problems/plus-one-linked-list| +|189. 旋转数组|3|https://leetcode-cn.com/problems/rotate-array| +|32. 最长有效括号|3|https://leetcode-cn.com/problems/longest-valid-parentheses| +|498. 对角线遍历|3|https://leetcode-cn.com/problems/diagonal-traverse| +|530. 二叉搜索树的最小绝对差|3|https://leetcode-cn.com/problems/minimum-absolute-difference-in-bst| +|814. 二叉树剪枝|2|https://leetcode-cn.com/problems/binary-tree-pruning| +|22. 括号生成|2|https://leetcode-cn.com/problems/generate-parentheses| +|1026. 节点与其祖先之间的最大差值|2|https://leetcode-cn.com/problems/maximum-difference-between-node-and-ancestor| +|199. 二叉树的右视图|2|https://leetcode-cn.com/problems/binary-tree-right-side-view| +|69. x 的平方根|2|https://leetcode-cn.com/problems/sqrtx| +|21. 合并两个有序链表|2|https://leetcode-cn.com/problems/merge-two-sorted-lists| +|86. 分隔链表|2|https://leetcode-cn.com/problems/partition-list| +|547. 省份数量(原朋友圈)|2|https://leetcode-cn.com/problems/number-of-provinces| +|662. 二叉树最大宽度|2|https://leetcode-cn.com/problems/maximum-width-of-binary-tree| +|34. 在排序数组中查找元素的第一个和最后一个位置|2|https://leetcode-cn.com/problems/find-first-and-last-position-of-element-in-sorted-array| +|674. 最长连续递增序列|2|https://leetcode-cn.com/problems/longest-continuous-increasing-subsequence| +|101. 对称二叉树|2|https://leetcode-cn.com/problems/symmetric-tree| +|986. 区间列表的交集|2|https://leetcode-cn.com/problems/interval-list-intersections| +|剑指 Offer 22. 链表中倒数第k个节点|2|https://leetcode-cn.com/problems/lian-biao-zhong-dao-shu-di-kge-jie-dian-lcof| +|54. 螺旋矩阵|2|https://leetcode-cn.com/problems/spiral-matrix| +|143. 重排链表|2|https://leetcode-cn.com/problems/reorder-list| +|7. 整数反转|2|https://leetcode-cn.com/problems/reverse-integer| +|386. 字典序排数|2|https://leetcode-cn.com/problems/lexicographical-numbers| +|82. 删除排序链表中的重复元素 II|2|https://leetcode-cn.com/problems/remove-duplicates-from-sorted-list-ii| +|232. 用栈实现队列|2|https://leetcode-cn.com/problems/implement-queue-using-stacks| +|1038. 从二叉搜索树到更大和树|2|https://leetcode-cn.com/problems/binary-search-tree-to-greater-sum-tree| +|206. 反转链表|2|https://leetcode-cn.com/problems/reverse-linked-list| +|400. 第N个数字|2|https://leetcode-cn.com/problems/nth-digit| +|221. 最大正方形|2|https://leetcode-cn.com/problems/maximal-square| +|1. 两数之和|2|https://leetcode-cn.com/problems/two-sum| +|5. 最长回文子串|2|https://leetcode-cn.com/problems/longest-palindromic-substring| +|402. 移掉K位数字|2|https://leetcode-cn.com/problems/remove-k-digits| +|52. N皇后 II|1|https://leetcode-cn.com/problems/n-queens-ii| +|103. 二叉树的锯齿形层次遍历|1|https://leetcode-cn.com/problems/binary-tree-zigzag-level-order-traversal| +|8. 字符串转换整数 (atoi)|1|https://leetcode-cn.com/problems/string-to-integer-atoi| +|145. 二叉树的后序遍历|1|https://leetcode-cn.com/problems/binary-tree-postorder-traversal| +|41. 缺失的第一个正数|1|https://leetcode-cn.com/problems/first-missing-positive| +|剑指 Offer 45. 把数组排成最小的数|1|https://leetcode-cn.com/problems/ba-shu-zu-pai-cheng-zui-xiao-de-shu-lcof| +|226. 翻转二叉树|1|https://leetcode-cn.com/problems/invert-binary-tree| +|补充题12. 二叉树的下一个节点|1|| +|394. 字符串解码|1|https://leetcode-cn.com/problems/decode-string| +|24. 两两交换链表中的节点|1|https://leetcode-cn.com/problems/swap-nodes-in-pairs| +|141. 环形链表|1|https://leetcode-cn.com/problems/linked-list-cycle| +|442. 数组中重复的数据|1|https://leetcode-cn.com/problems/find-all-duplicates-in-an-array| +|补充题4. 手撕快速排序|1|| +|14. 最长公共前缀|1|https://leetcode-cn.com/problems/longest-common-prefix| +|297. 二叉树的序列化与反序列化|1|https://leetcode-cn.com/problems/serialize-and-deserialize-binary-tree| +|242. 有效的字母异位词|1|https://leetcode-cn.com/problems/valid-anagram| +|235. 二叉搜索树的最近公共祖先|1|https://leetcode-cn.com/problems/lowest-common-ancestor-of-a-binary-search-tree| +|240. 搜索二维矩阵 II|1|https://leetcode-cn.com/problems/search-a-2d-matrix-ii| +|349. 两个数组的交集|1|https://leetcode-cn.com/problems/intersection-of-two-arrays| +|562. 矩阵中最长的连续1线段|1|https://leetcode-cn.com/problems/longest-line-of-consecutive-one-in-matrix| +|305. 岛屿数量 II|1|https://leetcode-cn.com/problems/number-of-islands-ii| +|99. 恢复二叉搜索树|1|https://leetcode-cn.com/problems/recover-binary-search-tree| +|108. 将有序数组转换为二叉搜索树|1|https://leetcode-cn.com/problems/convert-sorted-array-to-binary-search-tree| +|560. 和为K的子数组|1|https://leetcode-cn.com/problems/subarray-sum-equals-k| +|62. 不同路径|1|https://leetcode-cn.com/problems/unique-paths| +|26. 删除排序数组中的重复项|1|https://leetcode-cn.com/problems/remove-duplicates-from-sorted-array| +|435. 无重叠区间|1|https://leetcode-cn.com/problems/non-overlapping-intervals| +|136. 只出现一次的数字|1|https://leetcode-cn.com/problems/single-number| +|889. 根据前序和后序遍历构造二叉树|1|https://leetcode-cn.com/problems/construct-binary-tree-from-preorder-and-postorder-traversal| +|剑指 Offer 09. 用两个栈实现队列|1|https://leetcode-cn.com/problems/yong-liang-ge-zhan-shi-xian-dui-lie-lcof| +|236. 二叉树的最近公共祖先|1|https://leetcode-cn.com/problems/lowest-common-ancestor-of-a-binary-tree| +|329. 矩阵中的最长递增路径|1|https://leetcode-cn.com/problems/longest-increasing-path-in-a-matrix| +|102. 二叉树的层序遍历|1|https://leetcode-cn.com/problems/binary-tree-level-order-traversal| +|316. 去除重复字母|1|https://leetcode-cn.com/problems/remove-duplicate-letters| +|312. 戳气球|1|https://leetcode-cn.com/problems/burst-balloons| +|208. 实现 Trie (前缀树)|1|https://leetcode-cn.com/problems/implement-trie-prefix-tree| +|405. 数字转换为十六进制数|1|https://leetcode-cn.com/problems/convert-a-number-to-hexadecimal| +|704. 二分查找|1|https://leetcode-cn.com/problems/binary-search| +|20. 有效的括号|1|https://leetcode-cn.com/problems/valid-parentheses| +|516. 最长回文子序列|1|https://leetcode-cn.com/problems/longest-palindromic-subsequence| +|151. 翻转字符串里的单词|1|https://leetcode-cn.com/problems/reverse-words-in-a-string| +|416. 分割等和子集|1|https://leetcode-cn.com/problems/partition-equal-subset-sum| +|572. 另一个树的子树|1|https://leetcode-cn.com/problems/subtree-of-another-tree| +|450. 删除二叉搜索树中的节点|1|https://leetcode-cn.com/problems/delete-node-in-a-bst| +|48. 旋转图像|1|https://leetcode-cn.com/problems/rotate-image| +|剑指 Offer 25. 合并两个排序的链表|1|https://leetcode-cn.com/problems/he-bing-liang-ge-pai-xu-de-lian-biao-lcof| +|4. 寻找两个正序数组的中位数|1|https://leetcode-cn.com/problems/median-of-two-sorted-arrays| +|剑指 Offer 24. 反转链表|1|https://leetcode-cn.com/problems/fan-zhuan-lian-biao-lcof| +|556. 下一个更大元素 III|1|https://leetcode-cn.com/problems/next-greater-element-iii| +|658. 找到 K 个最接近的元素|1|https://leetcode-cn.com/problems/find-k-closest-elements| +|剑指 Offer 11. 旋转数组的最小数字|1|https://leetcode-cn.com/problems/xuan-zhuan-shu-zu-de-zui-xiao-shu-zi-lcof| +|17. 电话号码的字母组合|1|https://leetcode-cn.com/problems/letter-combinations-of-a-phone-number| +|168. Excel表列名称|1|https://leetcode-cn.com/problems/excel-sheet-column-title| +|43. 字符串相乘|1|https://leetcode-cn.com/problems/multiply-strings| +|31. 下一个排列|1|https://leetcode-cn.com/problems/next-permutation| +|105. 从前序与中序遍历序列构造二叉树|1|https://leetcode-cn.com/problems/construct-binary-tree-from-preorder-and-inorder-traversal| +|468. 验证IP地址|1|https://leetcode-cn.com/problems/validate-ip-address| +|109. 有序链表转换二叉搜索树|1|https://leetcode-cn.com/problems/convert-sorted-list-to-binary-search-tree| +|71. 简化路径|1|https://leetcode-cn.com/problems/simplify-path| +|124. 二叉树中的最大路径和|1|https://leetcode-cn.com/problems/binary-tree-maximum-path-sum| +|79. 单词搜索|1|https://leetcode-cn.com/problems/word-search| +|剑指 Offer 32 - I. 从上到下打印二叉树|1|https://leetcode-cn.com/problems/cong-shang-dao-xia-da-yin-er-cha-shu-lcof| +|60. 第k个排列|1|https://leetcode-cn.com/problems/permutation-sequence| +|130. 被围绕的区域|1|https://leetcode-cn.com/problems/surrounded-regions| +|40. 组合总和 II|1|https://leetcode-cn.com/problems/combination-sum-ii| +|59. 螺旋矩阵 II|1|https://leetcode-cn.com/problems/spiral-matrix-ii| +|225. 用队列实现栈|1|https://leetcode-cn.com/problems/implement-stack-using-queues| +|47. 全排列 II|1|https://leetcode-cn.com/problems/permutations-ii| +|343. 整数拆分|1|https://leetcode-cn.com/problems/integer-break| +|448. 找到所有数组中消失的数字|1|https://leetcode-cn.com/problems/find-all-numbers-disappeared-in-an-array| +|152. 乘积最大子数组|1|https://leetcode-cn.com/problems/maximum-product-subarray| +|259. 较小的三数之和|1|https://leetcode-cn.com/problems/3sum-smaller| +|415. 字符串相加|1|https://leetcode-cn.com/problems/add-strings| +|257. 二叉树的所有路径|1|https://leetcode-cn.com/problems/binary-tree-paths| +|540. 有序数组中的单一元素|1|https://leetcode-cn.com/problems/single-element-in-a-sorted-array| +|1325. 删除给定值的叶子节点|1|https://leetcode-cn.com/problems/delete-leaves-with-a-given-value| +|160. 相交链表|1|https://leetcode-cn.com/problems/intersection-of-two-linked-lists| +|42. 接雨水|1|https://leetcode-cn.com/problems/trapping-rain-water| +|剑指 Offer 12. 矩阵中的路径|1|https://leetcode-cn.com/problems/ju-zhen-zhong-de-lu-jing-lcof| \ No newline at end of file diff --git a/yuanfudao/client.md b/yuanfudao/client.md index d6369a1..974f715 100644 --- a/yuanfudao/client.md +++ b/yuanfudao/client.md @@ -1,9 +1,38 @@ -| 题目 | 频次 | -|---------------------------|----| -| 86\. 分隔链表 | 2 | -| 剑指 Offer 54\. 二叉搜索树的第k大节点 | 1 | -| 83\. 删除排序链表中的重复元素 | 1 | -| 80\. 删除排序数组中的重复项 II | 1 | -| 56\. 合并区间 | 1 | -| 25\. K 个一组翻转链表 | 1 | -| 236\. 二叉树的最近公共祖先 | 1 | \ No newline at end of file +# 客户端 + +|题目|出现次数|链接| +|-|-|-| +|236. 二叉树的最近公共祖先|4|https://leetcode-cn.com/problems/lowest-common-ancestor-of-a-binary-tree| +|92. 反转链表 II|3|https://leetcode-cn.com/problems/reverse-linked-list-ii| +|215. 数组中的第K个最大元素|2|https://leetcode-cn.com/problems/kth-largest-element-in-an-array| +|141. 环形链表|2|https://leetcode-cn.com/problems/linked-list-cycle| +|25. K 个一组翻转链表|2|https://leetcode-cn.com/problems/reverse-nodes-in-k-group| +|148. 排序链表|2|https://leetcode-cn.com/problems/sort-list| +|86. 分隔链表|2|https://leetcode-cn.com/problems/partition-list| +|128. 最长连续序列|2|https://leetcode-cn.com/problems/longest-consecutive-sequence| +|78. 子集|1|https://leetcode-cn.com/problems/subsets| +|剑指 Offer 54. 二叉搜索树的第k大节点|1|https://leetcode-cn.com/problems/er-cha-sou-suo-shu-de-di-kda-jie-dian-lcof| +|206. 反转链表|1|https://leetcode-cn.com/problems/reverse-linked-list| +|剑指 Offer 18. 删除链表的节点|1|https://leetcode-cn.com/problems/shan-chu-lian-biao-de-jie-dian-lcof| +|24. 两两交换链表中的节点|1|https://leetcode-cn.com/problems/swap-nodes-in-pairs| +|57. 插入区间|1|https://leetcode-cn.com/problems/insert-interval| +|200. 岛屿数量|1|https://leetcode-cn.com/problems/number-of-islands| +|42. 接雨水|1|https://leetcode-cn.com/problems/trapping-rain-water| +|695. 岛屿的最大面积|1|https://leetcode-cn.com/problems/max-area-of-island| +|915. 分割数组|1|https://leetcode-cn.com/problems/partition-array-into-disjoint-intervals| +|143. 重排链表|1|https://leetcode-cn.com/problems/reorder-list| +|540. 有序数组中的单一元素|1|https://leetcode-cn.com/problems/single-element-in-a-sorted-array| +|865. 具有所有最深结点的最小子树|1|https://leetcode-cn.com/problems/smallest-subtree-with-all-the-deepest-nodes| +|220. 存在重复元素 III|1|https://leetcode-cn.com/problems/contains-duplicate-iii| +|80. 删除排序数组中的重复项 II|1|https://leetcode-cn.com/problems/remove-duplicates-from-sorted-array-ii| +|701. 二叉搜索树中的插入操作|1|https://leetcode-cn.com/problems/insert-into-a-binary-search-tree| +|83. 删除排序链表中的重复元素|1|https://leetcode-cn.com/problems/remove-duplicates-from-sorted-list| +|319. 灯泡开关|1|https://leetcode-cn.com/problems/bulb-switcher| +|240. 搜索二维矩阵 II|1|https://leetcode-cn.com/problems/search-a-2d-matrix-ii| +|50. Pow(x, n)|1|https://leetcode-cn.com/problems/powx-n| +|56. 合并区间|1|https://leetcode-cn.com/problems/merge-intervals| +|73. 矩阵置零|1|https://leetcode-cn.com/problems/set-matrix-zeroes| +|530. 二叉搜索树的最小绝对差|1|https://leetcode-cn.com/problems/minimum-absolute-difference-in-bst| +|54. 螺旋矩阵|1|https://leetcode-cn.com/problems/spiral-matrix| +|72. 编辑距离|1|https://leetcode-cn.com/problems/edit-distance| +|1325. 删除给定值的叶子节点|1|https://leetcode-cn.com/problems/delete-leaves-with-a-given-value| \ No newline at end of file diff --git a/yuanfudao/data.md b/yuanfudao/data.md index 2c65083..d4fae38 100644 --- a/yuanfudao/data.md +++ b/yuanfudao/data.md @@ -1,4 +1,15 @@ -| 题目 | 频次 | -|----------------|----| -| 518\. 零钱兑换 II | 1 | -| 1143\. 最长公共子序列 | 1 | \ No newline at end of file +# 数据研发 + +|题目|出现次数|链接| +|-|-|-| +|54. 螺旋矩阵|2|https://leetcode-cn.com/problems/spiral-matrix| +|92. 反转链表 II|2|https://leetcode-cn.com/problems/reverse-linked-list-ii| +|437. 路径总和 III|1|https://leetcode-cn.com/problems/path-sum-iii| +|179. 最大数|1|https://leetcode-cn.com/problems/largest-number| +|162. 寻找峰值|1|https://leetcode-cn.com/problems/find-peak-element| +|56. 合并区间|1|https://leetcode-cn.com/problems/merge-intervals| +|21. 合并两个有序链表|1|https://leetcode-cn.com/problems/merge-two-sorted-lists| +|1143. 最长公共子序列|1|https://leetcode-cn.com/problems/longest-common-subsequence| +|673. 最长递增子序列的个数|1|https://leetcode-cn.com/problems/number-of-longest-increasing-subsequence| +|518. 零钱兑换 II|1|https://leetcode-cn.com/problems/coin-change-2| +|39. 组合总和|1|https://leetcode-cn.com/problems/combination-sum| \ No newline at end of file diff --git a/yuanfudao/frontend.md b/yuanfudao/frontend.md index be60127..a47ea13 100644 --- a/yuanfudao/frontend.md +++ b/yuanfudao/frontend.md @@ -1,17 +1,24 @@ -| 题目 | 频次 | -|------------------------------------|----| -| 102\. 二叉树的层序遍历 | 2 | -| 56\. 合并区间 | 2 | -| 199\. 二叉树的右视图 | 1 | -| 面试题 02\.05\. 链表求和 | 1 | -| 206\. 反转链表 | 1 | -| 105\. 从前序与中序遍历序列构造二叉树 | 1 | -| 674\. 最长连续递增序列 | 1 | -| 剑指 Offer 46\. 把数字翻译成字符串 | 1 | -| 557\. 反转字符串中的单词 III | 1 | -| 153\. 寻找旋转排序数组中的最小值 | 1 | -| 剑指 Offer 32 \- III\. 从上到下打印二叉树 III | 1 | -| 剑指 Offer 29\. 顺时针打印矩阵 | 1 | -| 179\. 最大数 | 1 | -| 628\. 三个数的最大乘积 | 1 | -| 328\. 奇偶链表 | 1 | \ No newline at end of file +# 前端 + +|题目|出现次数|链接| +|-|-|-| +|56. 合并区间|2|https://leetcode-cn.com/problems/merge-intervals| +|328. 奇偶链表|2|https://leetcode-cn.com/problems/odd-even-linked-list| +|102. 二叉树的层序遍历|2|https://leetcode-cn.com/problems/binary-tree-level-order-traversal| +|179. 最大数|2|https://leetcode-cn.com/problems/largest-number| +|674. 最长连续递增序列|2|https://leetcode-cn.com/problems/longest-continuous-increasing-subsequence| +|695. 岛屿的最大面积|1|https://leetcode-cn.com/problems/max-area-of-island| +|剑指 Offer 32 - III. 从上到下打印二叉树 III|1|https://leetcode-cn.com/problems/cong-shang-dao-xia-da-yin-er-cha-shu-iii-lcof| +|662. 二叉树最大宽度|1|https://leetcode-cn.com/problems/maximum-width-of-binary-tree| +|105. 从前序与中序遍历序列构造二叉树|1|https://leetcode-cn.com/problems/construct-binary-tree-from-preorder-and-inorder-traversal| +|21. 合并两个有序链表|1|https://leetcode-cn.com/problems/merge-two-sorted-lists| +|153. 寻找旋转排序数组中的最小值|1|https://leetcode-cn.com/problems/find-minimum-in-rotated-sorted-array| +|206. 反转链表|1|https://leetcode-cn.com/problems/reverse-linked-list| +|151. 翻转字符串里的单词|1|https://leetcode-cn.com/problems/reverse-words-in-a-string| +|557. 反转字符串中的单词 III|1|https://leetcode-cn.com/problems/reverse-words-in-a-string-iii| +|628. 三个数的最大乘积|1|https://leetcode-cn.com/problems/maximum-product-of-three-numbers| +|54. 螺旋矩阵|1|https://leetcode-cn.com/problems/spiral-matrix| +|剑指 Offer 46. 把数字翻译成字符串|1|https://leetcode-cn.com/problems/ba-shu-zi-fan-yi-cheng-zi-fu-chuan-lcof| +|199. 二叉树的右视图|1|https://leetcode-cn.com/problems/binary-tree-right-side-view| +|32. 最长有效括号|1|https://leetcode-cn.com/problems/longest-valid-parentheses| +|剑指 Offer 29. 顺时针打印矩阵|1|https://leetcode-cn.com/problems/shun-shi-zhen-da-yin-ju-zhen-lcof| \ No newline at end of file diff --git a/yuanfudao/new.md b/yuanfudao/new.md deleted file mode 100644 index 0124ede..0000000 --- a/yuanfudao/new.md +++ /dev/null @@ -1,138 +0,0 @@ -猿辅导8月份面试考察到的题目 -# 后端 -| 题目 | 考察次数 | -|----------------------------|---| -| 215\. 数组中的第K个最大元素 | 6 | -| 92\. 反转链表 II | 5 | -| 200\. 岛屿数量 | 5 | -| 328\. 奇偶链表 | 5 | -| 33\. 搜索旋转排序数组 | 4 | -| 306\. 累加数 | 4 | -| 543\. 二叉树的直径 | 4 | -| 56\. 合并区间 | 3 | -| 530\. 二叉搜索树的最小绝对差 | 3 | -| 94\. 二叉树的中序遍历 | 3 | -| 110\. 平衡二叉树 | 3 | -| 148\. 排序链表 | 3 | -| 104\. 二叉树的最大深度 | 3 | -| 剑指 Offer 54\. 二叉搜索树的第k大节点 | 3 | -| 98\. 验证二叉搜索树 | 3 | -| 2\. 两数相加 | 3 | -| 814\. 二叉树剪枝 | 2 | -| 221\. 最大正方形 | 2 | -| 23\. 合并K个升序链表 | 2 | -| 69\. x 的平方根 | 2 | -| 1026\. 节点与其祖先之间的最大差值 | 2 | -| 386\. 字典序排数 | 2 | -| 146\. LRU缓存机制 | 2 | -| 面试题 03\.05\. 栈排序 | 2 | -| 239\. 滑动窗口最大值 | 2 | -| 143\. 重排链表 | 2 | -| 22\. 括号生成 | 2 | -| 498\. 对角线遍历 | 2 | -| 93\. 复原IP地址 | 2 | -| 142\. 环形链表 II | 2 | -| 面试题 08\.12\. 八皇后 | 2 | -| 5\. 最长回文子串 | 2 | -| 986\. 区间列表的交集 | 2 | -| 206\. 反转链表 | 2 | -| 236\. 二叉树的最近公共祖先 | 1 | -| 297\. 二叉树的序列化与反序列化 | 1 | -| 343\. 整数拆分 | 1 | -| 20\. 有效的括号 | 1 | -| 662\. 二叉树最大宽度 | 1 | -| 109\. 有序链表转换二叉搜索树 | 1 | -| 435\. 无重叠区间 | 1 | -| 面试题 04\.06\. 后继者 | 1 | -| 101\. 对称二叉树 | 1 | -| 32\. 最长有效括号 | 1 | -| 329\. 矩阵中的最长递增路径 | 1 | -| 402\. 移掉K位数字 | 1 | -| 21\. 合并两个有序链表 | 1 | -| 145\. 二叉树的后序遍历 | 1 | -| 43\. 字符串相乘 | 1 | -| 369\. 给单链表加一 | 1 | -| 7\. 整数反转 | 1 | -| 141\. 环形链表 | 1 | -| 71\. 简化路径 | 1 | -| 剑指 Offer 36\. 二叉搜索树与双向链表 | 1 | -| 572\. 另一个树的子树 | 1 | -| 242\. 有效的字母异位词 | 1 | -| 52\. N皇后 II | 1 | -| 130\. 被围绕的区域 | 1 | -| 958\. 二叉树的完全性检验 | 1 | -| 305\. 岛屿数量 II | 1 | -| 剑指 Offer 45\. 把数组排成最小的数 | 1 | -| 54\. 螺旋矩阵 | 1 | -| 31\. 下一个排列 | 1 | -| 34\. 在排序数组中查找元素的第一个和最后一个位置 | 1 | -| 64\. 最小路径和 | 1 | -| 540\. 有序数组中的单一元素 | 1 | -| 48\. 旋转图像 | 1 | -| 136\. 只出现一次的数字 | 1 | -| 82\. 删除排序链表中的重复元素 II | 1 | -| 剑指 Offer 22\. 链表中倒数第k个节点 | 1 | -| 86\. 分隔链表 | 1 | -| 235\. 二叉搜索树的最近公共祖先 | 1 | -| 83\. 删除排序链表中的重复元素 | 1 | -| 103\. 二叉树的锯齿形层次遍历 | 1 | -| 59\. 螺旋矩阵 II | 1 | - -# 客户端 -| 题号 | 考察次数 | -|-----------------------|---| -| 148\. 排序链表 | 2 | -| 92\. 反转链表 II | 2 | -| 215\. 数组中的第K个最大元素 | 2 | -| 236\. 二叉树的最近公共祖先 | 2 | -| 128\. 最长连续序列 | 2 | -| 143\. 重排链表 | 1 | -| 剑指 Offer 18\. 删除链表的节点 | 1 | -| 72\. 编辑距离 | 1 | -| 240\. 搜索二维矩阵 II | 1 | -| 865\. 具有所有最深结点的最小子树 | 1 | -| 141\. 环形链表 | 1 | -| 25\. K 个一组翻转链表 | 1 | -| 73\. 矩阵置零 | 1 | -| 915\. 分割数组 | 1 | -| 200\. 岛屿数量 | 1 | -| 206\. 反转链表 | 1 | - -# 算法 -| 题号 | 考察次数 | -|-------------------------|---| -| 582\. 杀死进程 | 1 | -| 340\. 至多包含 K 个不同字符的最长子串 | 1 | -| 225\. 用队列实现栈 | 1 | -| 424\. 替换后的最长重复字符 | 1 | -| 33\. 搜索旋转排序数组 | 1 | -| 773\. 滑动谜题 | 1 | -| 827\. 最大人工岛 | 1 | -| 688\. “马”在棋盘上的概率 | 1 | -| 200\. 岛屿数量 | 1 | -| 692\. 前K个高频单词 | 1 | - -# 前端 -| 题号 | 考察次数 | -|-----------------|---| -| 662\. 二叉树最大宽度 | 1 | -| 695\. 岛屿的最大面积 | 1 | -| 32\. 最长有效括号 | 1 | -| 54\. 螺旋矩阵 | 1 | -| 151\. 翻转字符串里的单词 | 1 | -| 21\. 合并两个有序链表 | 1 | - -# 数据相关岗位 -| 题号 | 考察次数 | -|------------------|---| -| 54\. 螺旋矩阵 | 2 | -| 92\. 反转链表 II | 2 | -| 162\. 寻找峰值 | 1 | -| 437\. 路径总和 III | 1 | -| 673\. 最长递增子序列的个数 | 1 | -| 21\. 合并两个有序链表 | 1 | -| 56\. 合并区间 | 1 | - - - - diff --git a/yuanfudao/test.md b/yuanfudao/test.md index 5d3f3ca..254464c 100644 --- a/yuanfudao/test.md +++ b/yuanfudao/test.md @@ -1,5 +1,7 @@ -| 题目 | 频次 | -|---------------|----| -| 234\. 回文链表 | 1 | -| 98\. 验证二叉搜索树 | 1 | -| 662\. 二叉树最大宽度 | 1 | \ No newline at end of file +# 测试 + +|题目|出现次数|链接| +|-|-|-| +|662. 二叉树最大宽度|2|https://leetcode-cn.com/problems/maximum-width-of-binary-tree| +|234. 回文链表|2|https://leetcode-cn.com/problems/palindrome-linked-list| +|98. 验证二叉搜索树|1|https://leetcode-cn.com/problems/validate-binary-search-tree| \ No newline at end of file