Skip to content

Commit

Permalink
update7.19字节题库
Browse files Browse the repository at this point in the history
  • Loading branch information
afatcoder committed Jul 19, 2021
1 parent 26cc1bc commit 11476d8
Show file tree
Hide file tree
Showing 7 changed files with 374 additions and 266 deletions.
24 changes: 13 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,18 @@

:warning:使用本仓库的频度数据或转载文章,需注明本仓库地址!侵权必究!

## 字节跳动(更新至牛客2021.7.19的面经)
<details>
<summary>按岗位分类</summary>

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

## 亚马逊中国(更新至牛客2021.6.9的面经)
- [SDE](https://github.com/afatcoder/LeetcodeTop/blob/master/amazon/SDE.md)

Expand All @@ -44,17 +56,7 @@
- [数据开发](https://github.com/afatcoder/LeetcodeTop/blob/master/shopee/data.md)
</details>

## 字节跳动(更新至牛客2021.4.30的面经)
<details>
<summary>按岗位分类</summary>

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


## 美团(更新至牛客2021.4.23面经)
<details>
Expand Down
77 changes: 52 additions & 25 deletions bytedance/algorithm.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,44 +4,53 @@
|题目|出现次数|链接|
|-|-|-|
|72. 编辑距离|8|https://leetcode-cn.com/problems/edit-distance|
|103. 二叉树的锯齿形层次遍历|7|https://leetcode-cn.com/problems/binary-tree-zigzag-level-order-traversal|
|215. 数组中的第K个最大元素|6|https://leetcode-cn.com/problems/kth-largest-element-in-an-array|
|236. 二叉树的最近公共祖先|6|https://leetcode-cn.com/problems/lowest-common-ancestor-of-a-binary-tree|
|300. 最长上升子序列|6|https://leetcode-cn.com/problems/longest-increasing-subsequence|
|103. 二叉树的锯齿形层次遍历|5|https://leetcode-cn.com/problems/binary-tree-zigzag-level-order-traversal|
|215. 数组中的第K个最大元素|4|https://leetcode-cn.com/problems/kth-largest-element-in-an-array|
|33. 搜索旋转排序数组|3|https://leetcode-cn.com/problems/search-in-rotated-sorted-array|
|200. 岛屿数量|3|https://leetcode-cn.com/problems/number-of-islands|
|200. 岛屿数量|5|https://leetcode-cn.com/problems/number-of-islands|
|33. 搜索旋转排序数组|4|https://leetcode-cn.com/problems/search-in-rotated-sorted-array|
|69. x 的平方根|4|https://leetcode-cn.com/problems/sqrtx|
|3. 无重复字符的最长子串|3|https://leetcode-cn.com/problems/longest-substring-without-repeating-characters|
|23. 合并K个排序链表|3|https://leetcode-cn.com/problems/merge-k-sorted-lists|
|4. 寻找两个正序数组的中位数|3|https://leetcode-cn.com/problems/median-of-two-sorted-arrays|
|剑指 Offer 29. 顺时针打印矩阵|3|https://leetcode-cn.com/problems/shun-shi-zhen-da-yin-ju-zhen-lcof|
|695. 岛屿的最大面积|3|https://leetcode-cn.com/problems/max-area-of-island|
|240. 搜索二维矩阵 II|3|https://leetcode-cn.com/problems/search-a-2d-matrix-ii|
|102. 二叉树的层序遍历|3|https://leetcode-cn.com/problems/binary-tree-level-order-traversal|
|236. 二叉树的最近公共祖先|3|https://leetcode-cn.com/problems/lowest-common-ancestor-of-a-binary-tree|
|49. 字母异位词分组|3|https://leetcode-cn.com/problems/group-anagrams|
|209. 长度最小的子数组|3|https://leetcode-cn.com/problems/minimum-size-subarray-sum|
|85. 最大矩形|3|https://leetcode-cn.com/problems/maximal-rectangle|
|287. 寻找重复数|3|https://leetcode-cn.com/problems/find-the-duplicate-number|
|64. 最小路径和|3|https://leetcode-cn.com/problems/minimum-path-sum|
|5. 最长回文子串|3|https://leetcode-cn.com/problems/longest-palindromic-substring|
|46. 全排列|3|https://leetcode-cn.com/problems/permutations|
|121. 买卖股票的最佳时机|3|https://leetcode-cn.com/problems/best-time-to-buy-and-sell-stock|
|15. 三数之和|3|https://leetcode-cn.com/problems/3sum|
|394. 字符串解码|3|https://leetcode-cn.com/problems/decode-string|
|110. 平衡二叉树|2|https://leetcode-cn.com/problems/balanced-binary-tree|
|3. 无重复字符的最长子串|2|https://leetcode-cn.com/problems/longest-substring-without-repeating-characters|
|572. 另一个树的子树|2|https://leetcode-cn.com/problems/subtree-of-another-tree|
|23. 合并K个排序链表|2|https://leetcode-cn.com/problems/merge-k-sorted-lists|
|1. 两数之和|2|https://leetcode-cn.com/problems/two-sum|
|剑指 Offer 29. 顺时针打印矩阵|2|https://leetcode-cn.com/problems/shun-shi-zhen-da-yin-ju-zhen-lcof|
|695. 岛屿的最大面积|2|https://leetcode-cn.com/problems/max-area-of-island|
|105. 从前序与中序遍历序列构造二叉树|2|https://leetcode-cn.com/problems/construct-binary-tree-from-preorder-and-inorder-traversal|
|206. 反转链表|2|https://leetcode-cn.com/problems/reverse-linked-list|
|88. 合并两个有序数组|2|https://leetcode-cn.com/problems/merge-sorted-array|
|152. 乘积最大子数组|2|https://leetcode-cn.com/problems/maximum-product-subarray|
|70. 爬楼梯|2|https://leetcode-cn.com/problems/climbing-stairs|
|49. 字母异位词分组|2|https://leetcode-cn.com/problems/group-anagrams|
|209. 长度最小的子数组|2|https://leetcode-cn.com/problems/minimum-size-subarray-sum|
|48. 旋转图像|2|https://leetcode-cn.com/problems/rotate-image|
|85. 最大矩形|2|https://leetcode-cn.com/problems/maximal-rectangle|
|287. 寻找重复数|2|https://leetcode-cn.com/problems/find-the-duplicate-number|
|5. 最长回文子串|2|https://leetcode-cn.com/problems/longest-palindromic-substring|
|46. 全排列|2|https://leetcode-cn.com/problems/permutations|
|剑指 Offer 36. 二叉搜索树与双向链表|2|https://leetcode-cn.com/problems/er-cha-sou-suo-shu-yu-shuang-xiang-lian-biao-lcof|
|179. 最大数|2|https://leetcode-cn.com/problems/largest-number|
|剑指 Offer 51. 数组中的逆序对|2|https://leetcode-cn.com/problems/shu-zu-zhong-de-ni-xu-dui-lcof|
|143. 重排链表|2|https://leetcode-cn.com/problems/reorder-list|
|239. 滑动窗口最大值|2|https://leetcode-cn.com/problems/sliding-window-maximum|
|238. 除自身以外数组的乘积|2|https://leetcode-cn.com/problems/product-of-array-except-self|
|121. 买卖股票的最佳时机|2|https://leetcode-cn.com/problems/best-time-to-buy-and-sell-stock|
|25. K 个一组翻转链表|2|https://leetcode-cn.com/problems/reverse-nodes-in-k-group|
|129. 求根到叶子节点数字之和|2|https://leetcode-cn.com/problems/sum-root-to-leaf-numbers|
|补充题4. 手撕快速排序|2|https://leetcode-cn.com/problems/sort-an-array|
|42. 接雨水|2|https://leetcode-cn.com/problems/trapping-rain-water|
|415. 字符串相加|2|https://leetcode-cn.com/problems/add-strings|
|69. x 的平方根|2|https://leetcode-cn.com/problems/sqrtx|
|221. 最大正方形|2|https://leetcode-cn.com/problems/maximal-square|
|400. 第N个数字|2|https://leetcode-cn.com/problems/nth-digit|
|54. 螺旋矩阵|2|https://leetcode-cn.com/problems/spiral-matrix|
|104. 二叉树的最大深度|1|https://leetcode-cn.com/problems/maximum-depth-of-binary-tree|
|160. 相交链表|1|https://leetcode-cn.com/problems/intersection-of-two-linked-lists|
|636. 函数的独占时间|1|https://leetcode-cn.com/problems/exclusive-time-of-functions|
Expand All @@ -54,7 +63,6 @@
|509. 斐波那契数|1|https://leetcode-cn.com/problems/fibonacci-number|
|128. 最长连续序列|1|https://leetcode-cn.com/problems/longest-consecutive-sequence|
|20. 有效的括号|1|https://leetcode-cn.com/problems/valid-parentheses|
|206. 反转链表|1|https://leetcode-cn.com/problems/reverse-linked-list|
|264. 丑数 II|1|https://leetcode-cn.com/problems/ugly-number-ii|
|437. 路径总和 III|1|https://leetcode-cn.com/problems/path-sum-iii|
|560. 和为K的子数组|1|https://leetcode-cn.com/problems/subarray-sum-equals-k|
Expand All @@ -65,16 +73,13 @@
|124. 二叉树中的最大路径和|1|https://leetcode-cn.com/problems/binary-tree-maximum-path-sum|
|剑指 Offer 54. 二叉搜索树的第k大节点|1|https://leetcode-cn.com/problems/er-cha-sou-suo-shu-de-di-kda-jie-dian-lcof|
|518. 零钱兑换 II|1|https://leetcode-cn.com/problems/coin-change-2|
|剑指 Offer 36. 二叉搜索树与双向链表|1|https://leetcode-cn.com/problems/er-cha-sou-suo-shu-yu-shuang-xiang-lian-biao-lcof|
|50. Pow(x, n)|1|https://leetcode-cn.com/problems/powx-n|
|122. 买卖股票的最佳时机 II|1|https://leetcode-cn.com/problems/best-time-to-buy-and-sell-stock-ii|
|179. 最大数|1|https://leetcode-cn.com/problems/largest-number|
|807. 保持城市天际线|1|https://leetcode-cn.com/problems/max-increase-to-keep-city-skyline|
|123. 买卖股票的最佳时机 III|1|https://leetcode-cn.com/problems/best-time-to-buy-and-sell-stock-iii|
|315. 计算右侧小于当前元素的个数|1|https://leetcode-cn.com/problems/count-of-smaller-numbers-after-self|
|1363. 形成三的最大倍数|1|https://leetcode-cn.com/problems/largest-multiple-of-three|
|376. 摆动序列|1|https://leetcode-cn.com/problems/wiggle-subsequence|
|25. K 个一组翻转链表|1|https://leetcode-cn.com/problems/reverse-nodes-in-k-group|
|1143. 最长公共子序列|1|https://leetcode-cn.com/problems/longest-common-subsequence|
|32. 最长有效括号|1|https://leetcode-cn.com/problems/longest-valid-parentheses|
|718. 最长重复子数组|1|https://leetcode-cn.com/problems/maximum-length-of-repeated-subarray|
Expand All @@ -85,15 +90,12 @@
|96. 不同的二叉搜索树|1|https://leetcode-cn.com/problems/unique-binary-search-trees|
|41. 缺失的第一个正数|1|https://leetcode-cn.com/problems/first-missing-positive|
|403. 青蛙过河|1|https://leetcode-cn.com/problems/frog-jump|
|129. 求根到叶子节点数字之和|1|https://leetcode-cn.com/problems/sum-root-to-leaf-numbers|
|726. 原子的数量|1|https://leetcode-cn.com/problems/number-of-atoms|
|剑指 Offer 10- I. 斐波那契数列|1|https://leetcode-cn.com/problems/fei-bo-na-qi-shu-lie-lcof|
|405. 数字转换为十六进制数|1|https://leetcode-cn.com/problems/convert-a-number-to-hexadecimal|
|1420. 生成数组|1|https://leetcode-cn.com/problems/build-array-where-you-can-find-the-maximum-exactly-k-comparisons|
|42. 接雨水|1|https://leetcode-cn.com/problems/trapping-rain-water|
|306. 累加数|1|https://leetcode-cn.com/problems/additive-number|
|98. 验证二叉搜索树|1|https://leetcode-cn.com/problems/validate-binary-search-tree|
|221. 最大正方形|1|https://leetcode-cn.com/problems/maximal-square|
|227. 基本计算器 II|1|https://leetcode-cn.com/problems/basic-calculator-ii|
|1505. 最多 K 次交换相邻数位后得到的最小整数|1|https://leetcode-cn.com/problems/minimum-possible-integer-after-at-most-k-adjacent-swaps-on-digits|
|632. 最小区间|1|https://leetcode-cn.com/problems/smallest-range-covering-elements-from-k-lists|
Expand All @@ -110,4 +112,29 @@
|470. 用 Rand7() 实现 Rand10()|1|https://leetcode-cn.com/problems/implement-rand10-using-rand7|
|164. 最大间距|1|https://leetcode-cn.com/problems/maximum-gap|
|94. 二叉树的中序遍历|1|https://leetcode-cn.com/problems/binary-tree-inorder-traversal|
|剑指 Offer 62. 圆圈中最后剩下的数字|1|https://leetcode-cn.com/problems/yuan-quan-zhong-zui-hou-sheng-xia-de-shu-zi-lcof|
|剑指 Offer 62. 圆圈中最后剩下的数字|1|https://leetcode-cn.com/problems/yuan-quan-zhong-zui-hou-sheng-xia-de-shu-zi-lcof|
|658. 找到 K 个最接近的元素|1|https://leetcode-cn.com/problems/find-k-closest-elements|
|704. 二分查找|1|https://leetcode-cn.com/problems/binary-search|
|355. 设计推特|1|https://leetcode-cn.com/problems/design-twitter|
|剑指 Offer 11. 旋转数组的最小数字|1|https://leetcode-cn.com/problems/xuan-zhuan-shu-zu-de-zui-xiao-shu-zi-lcof|
|698. 划分为k个相等的子集|1|https://leetcode-cn.com/problems/partition-to-k-equal-sum-subsets|
|224. 基本计算器|1|https://leetcode-cn.com/problems/basic-calculator|
|剑指 Offer 22. 链表中倒数第k个节点|1|https://leetcode-cn.com/problems/lian-biao-zhong-dao-shu-di-kge-jie-dian-lcof|
|31. 下一个排列|1|https://leetcode-cn.com/problems/next-permutation|
|875. 爱吃香蕉的珂珂|1|https://leetcode-cn.com/problems/koko-eating-bananas|
|145. 二叉树的后序遍历|1|https://leetcode-cn.com/problems/binary-tree-postorder-traversal|
|19. 删除链表的倒数第N个节点|1|https://leetcode-cn.com/problems/remove-nth-node-from-end-of-list|
|673. 最长递增子序列的个数|1|https://leetcode-cn.com/problems/number-of-longest-increasing-subsequence|
|剑指 Offer 34. 二叉树中和为某一值的路径|1|https://leetcode-cn.com/problems/er-cha-shu-zhong-he-wei-mou-yi-zhi-de-lu-jing-lcof|
|670. 最大交换|1|https://leetcode-cn.com/problems/maximum-swap|
|141. 环形链表|1|https://leetcode-cn.com/problems/linked-list-cycle|
|897. 递增顺序查找树|1|https://leetcode-cn.com/problems/increasing-order-search-tree|
|653. 两数之和 IV - 输入 BST|1|https://leetcode-cn.com/problems/two-sum-iv-input-is-a-bst|
|310. 最小高度树|1|https://leetcode-cn.com/problems/minimum-height-trees|
|167. 两数之和 II - 输入有序数组|1|https://leetcode-cn.com/problems/two-sum-ii-input-array-is-sorted|
|611. 有效三角形的个数|1|https://leetcode-cn.com/problems/valid-triangle-number|
|92. 反转链表 II|1|https://leetcode-cn.com/problems/reverse-linked-list-ii|
|剑指 Offer 07. 重建二叉树|1|https://leetcode-cn.com/problems/zhong-jian-er-cha-shu-lcof|
|525. 连续数组|1|https://leetcode-cn.com/problems/contiguous-array|
|144. 二叉树的前序遍历|1|https://leetcode-cn.com/problems/binary-tree-preorder-traversal|
|378. 有序矩阵中第K小的元素|1|https://leetcode-cn.com/problems/kth-smallest-element-in-a-sorted-matrix|
Loading

0 comments on commit 11476d8

Please sign in to comment.