Skip to content

Commit

Permalink
字节已同步至牛客2.28的面经
Browse files Browse the repository at this point in the history
  • Loading branch information
afatcoder committed Mar 1, 2021
1 parent 979c033 commit 628b65b
Show file tree
Hide file tree
Showing 8 changed files with 398 additions and 384 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@

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

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

[1.1~2.4涉及的90道题](https://github.com/afatcoder/LeetcodeTop/blob/master/bytedance/latest.md)
[2.4~2.28出现的题目](https://github.com/afatcoder/LeetcodeTop/blob/master/bytedance/latest.md)
- [后端](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)
Expand Down
77 changes: 40 additions & 37 deletions bytedance/algorithm.md
Original file line number Diff line number Diff line change
@@ -1,77 +1,80 @@
# 算法
|题目|出现次数|链接|
|-|-|-|
|215. 数组中的第K个最大元素|4|https://leetcode-cn.com/problems/kth-largest-element-in-an-array|
|300. 最长上升子序列|3|https://leetcode-cn.com/problems/longest-increasing-subsequence|
|103. 二叉树的锯齿形层次遍历|3|https://leetcode-cn.com/problems/binary-tree-zigzag-level-order-traversal|
|300. 最长上升子序列|3|https://leetcode-cn.com/problems/longest-increasing-subsequence|
|105. 从前序与中序遍历序列构造二叉树|2|https://leetcode-cn.com/problems/construct-binary-tree-from-preorder-and-inorder-traversal|
|剑指 Offer 51. 数组中的逆序对|2|https://leetcode-cn.com/problems/shu-zu-zhong-de-ni-xu-dui-lcof|
|236. 二叉树的最近公共祖先|2|https://leetcode-cn.com/problems/lowest-common-ancestor-of-a-binary-tree|
|200. 岛屿数量|2|https://leetcode-cn.com/problems/number-of-islands|
|46. 全排列|2|https://leetcode-cn.com/problems/permutations|
|121. 买卖股票的最佳时机|2|https://leetcode-cn.com/problems/best-time-to-buy-and-sell-stock|
|49. 字母异位词分组|2|https://leetcode-cn.com/problems/group-anagrams|
|剑指 Offer 29. 顺时针打印矩阵|2|https://leetcode-cn.com/problems/shun-shi-zhen-da-yin-ju-zhen-lcof|
|70. 爬楼梯|2|https://leetcode-cn.com/problems/climbing-stairs|
|4. 寻找两个正序数组的中位数|2|https://leetcode-cn.com/problems/median-of-two-sorted-arrays|
|23. 合并K个排序链表|2|https://leetcode-cn.com/problems/merge-k-sorted-lists|
|85. 最大矩形|2|https://leetcode-cn.com/problems/maximal-rectangle|
|105. 从前序与中序遍历序列构造二叉树|2|https://leetcode-cn.com/problems/construct-binary-tree-from-preorder-and-inorder-traversal|
|236. 二叉树的最近公共祖先|2|https://leetcode-cn.com/problems/lowest-common-ancestor-of-a-binary-tree|
|200. 岛屿数量|2|https://leetcode-cn.com/problems/number-of-islands|
|46. 全排列|2|https://leetcode-cn.com/problems/permutations|
|814. 二叉树剪枝|1|https://leetcode-cn.com/problems/binary-tree-pruning|
|48. 旋转图像|1|https://leetcode-cn.com/problems/rotate-image|
|96. 不同的二叉搜索树|1|https://leetcode-cn.com/problems/unique-binary-search-trees|
|110. 平衡二叉树|1|https://leetcode-cn.com/problems/balanced-binary-tree|
|62. 不同路径|1|https://leetcode-cn.com/problems/unique-paths|
|169. 多数元素|1|https://leetcode-cn.com/problems/majority-element|
|238. 除自身以外数组的乘积|1|https://leetcode-cn.com/problems/product-of-array-except-self|
|128. 最长连续序列|1|https://leetcode-cn.com/problems/longest-consecutive-sequence|
|剑指 Offer 09. 用两个栈实现队列|1|https://leetcode-cn.com/problems/yong-liang-ge-zhan-shi-xian-dui-lie-lcof|
|807. 保持城市天际线|1|https://leetcode-cn.com/problems/max-increase-to-keep-city-skyline|
|718. 最长重复子数组|1|https://leetcode-cn.com/problems/maximum-length-of-repeated-subarray|
|572. 另一个树的子树|1|https://leetcode-cn.com/problems/subtree-of-another-tree|
|102. 二叉树的层序遍历|1|https://leetcode-cn.com/problems/binary-tree-level-order-traversal|
|209. 长度最小的子数组|1|https://leetcode-cn.com/problems/minimum-size-subarray-sum|
|面试题 16.03. 交点|1|https://leetcode-cn.com/problems/intersection-lcci|
|104. 二叉树的最大深度|1|https://leetcode-cn.com/problems/maximum-depth-of-binary-tree|
|2. 两数相加|1|https://leetcode-cn.com/problems/add-two-numbers|
|560. 和为K的子数组|1|https://leetcode-cn.com/problems/subarray-sum-equals-k|
|287. 寻找重复数|1|https://leetcode-cn.com/problems/find-the-duplicate-number|
|239. 滑动窗口最大值|1|https://leetcode-cn.com/problems/sliding-window-maximum|
|33. 搜索旋转排序数组|1|https://leetcode-cn.com/problems/search-in-rotated-sorted-array|
|509. 斐波那契数|1|https://leetcode-cn.com/problems/fibonacci-number|
|255. 验证前序遍历序列二叉搜索树|1|https://leetcode-cn.com/problems/verify-preorder-sequence-in-binary-search-tree|
|179. 最大数|1|https://leetcode-cn.com/problems/largest-number|
|5. 最长回文子串|1|https://leetcode-cn.com/problems/longest-palindromic-substring|
|15. 三数之和|1|https://leetcode-cn.com/problems/3sum|
|3. 无重复字符的最长子串|1|https://leetcode-cn.com/problems/longest-substring-without-repeating-characters|
|240. 搜索二维矩阵 II|1|https://leetcode-cn.com/problems/search-a-2d-matrix-ii|
|376. 摆动序列|1|https://leetcode-cn.com/problems/wiggle-subsequence|
|5. 最长回文子串|1|https://leetcode-cn.com/problems/longest-palindromic-substring|
|15. 三数之和|1|https://leetcode-cn.com/problems/3sum|
|445. 两数相加 II|1|https://leetcode-cn.com/problems/add-two-numbers-ii|
|437. 路径总和 III|1|https://leetcode-cn.com/problems/path-sum-iii|
|426. 将二叉搜索树转化为排序的双向链表|1|https://leetcode-cn.com/problems/convert-binary-search-tree-to-sorted-doubly-linked-list|
|32. 最长有效括号|1|https://leetcode-cn.com/problems/longest-valid-parentheses|
|376. 摆动序列|1|https://leetcode-cn.com/problems/wiggle-subsequence|
|152. 乘积最大子数组|1|https://leetcode-cn.com/problems/maximum-product-subarray|
|122. 买卖股票的最佳时机 II|1|https://leetcode-cn.com/problems/best-time-to-buy-and-sell-stock-ii|
|315. 计算右侧小于当前元素的个数|1|https://leetcode-cn.com/problems/count-of-smaller-numbers-after-self|
|582. 杀死进程|1|https://leetcode-cn.com/problems/kill-process|
|32. 最长有效括号|1|https://leetcode-cn.com/problems/longest-valid-parentheses|
|297. 二叉树的序列化与反序列化|1|https://leetcode-cn.com/problems/serialize-and-deserialize-binary-tree|
|20. 有效的括号|1|https://leetcode-cn.com/problems/valid-parentheses|
|70. 爬楼梯|1|https://leetcode-cn.com/problems/climbing-stairs|
|1363. 形成三的最大倍数|1|https://leetcode-cn.com/problems/largest-multiple-of-three|
|315. 计算右侧小于当前元素的个数|1|https://leetcode-cn.com/problems/count-of-smaller-numbers-after-self|
|582. 杀死进程|1|https://leetcode-cn.com/problems/kill-process|
|1. 两数之和|1|https://leetcode-cn.com/problems/two-sum|
|264. 丑数 II|1|https://leetcode-cn.com/problems/ugly-number-ii|
|518. 零钱兑换 II|1|https://leetcode-cn.com/problems/coin-change-2|
|1143. 最长公共子序列|1|https://leetcode-cn.com/problems/longest-common-subsequence|
|1363. 形成三的最大倍数|1|https://leetcode-cn.com/problems/largest-multiple-of-three|
|160. 相交链表|1|https://leetcode-cn.com/problems/intersection-of-two-linked-lists|
|88. 合并两个有序数组|1|https://leetcode-cn.com/problems/merge-sorted-array|
|64. 最小路径和|1|https://leetcode-cn.com/problems/minimum-path-sum|
|334. 递增的三元子序列|1|https://leetcode-cn.com/problems/increasing-triplet-subsequence|
|1143. 最长公共子序列|1|https://leetcode-cn.com/problems/longest-common-subsequence|
|72. 编辑距离|1|https://leetcode-cn.com/problems/edit-distance|
|剑指 Offer 54. 二叉搜索树的第k大节点|1|https://leetcode-cn.com/problems/er-cha-sou-suo-shu-de-di-kda-jie-dian-lcof|
|143. 重排链表|1|https://leetcode-cn.com/problems/reorder-list|
|334. 递增的三元子序列|1|https://leetcode-cn.com/problems/increasing-triplet-subsequence|
|206. 反转链表|1|https://leetcode-cn.com/problems/reverse-linked-list|
|25. K 个一组翻转链表|1|https://leetcode-cn.com/problems/reverse-nodes-in-k-group|
|143. 重排链表|1|https://leetcode-cn.com/problems/reorder-list|
|剑指 Offer 55 - II. 平衡二叉树|1|https://leetcode-cn.com/problems/ping-heng-er-cha-shu-lcof|
|63. 不同路径 II|1|https://leetcode-cn.com/problems/unique-paths-ii|
|142. 环形链表 II|1|https://leetcode-cn.com/problems/linked-list-cycle-ii|
|50. Pow(x, n)|1|https://leetcode-cn.com/problems/powx-n|
|440. 字典序的第K小数字|1|https://leetcode-cn.com/problems/k-th-smallest-in-lexicographical-order|
|25. K 个一组翻转链表|1|https://leetcode-cn.com/problems/reverse-nodes-in-k-group|
|636. 函数的独占时间|1|https://leetcode-cn.com/problems/exclusive-time-of-functions|
|695. 岛屿的最大面积|1|https://leetcode-cn.com/problems/max-area-of-island|
|124. 二叉树中的最大路径和|1|https://leetcode-cn.com/problems/binary-tree-maximum-path-sum|
|123. 买卖股票的最佳时机 III|1|https://leetcode-cn.com/problems/best-time-to-buy-and-sell-stock-iii|
|剑指 Offer 51. 数组中的逆序对|1|https://leetcode-cn.com/problems/shu-zu-zhong-de-ni-xu-dui-lcof|
|814. 二叉树剪枝|1|https://leetcode-cn.com/problems/binary-tree-pruning|
|48. 旋转图像|1|https://leetcode-cn.com/problems/rotate-image|
|238. 除自身以外数组的乘积|1|https://leetcode-cn.com/problems/product-of-array-except-self|
|110. 平衡二叉树|1|https://leetcode-cn.com/problems/balanced-binary-tree|
|62. 不同路径|1|https://leetcode-cn.com/problems/unique-paths|
|169. 多数元素|1|https://leetcode-cn.com/problems/majority-element|
|718. 最长重复子数组|1|https://leetcode-cn.com/problems/maximum-length-of-repeated-subarray|
|128. 最长连续序列|1|https://leetcode-cn.com/problems/longest-consecutive-sequence|
|剑指 Offer 09. 用两个栈实现队列|1|https://leetcode-cn.com/problems/yong-liang-ge-zhan-shi-xian-dui-lie-lcof|
|807. 保持城市天际线|1|https://leetcode-cn.com/problems/max-increase-to-keep-city-skyline|
|572. 另一个树的子树|1|https://leetcode-cn.com/problems/subtree-of-another-tree|
|102. 二叉树的层序遍历|1|https://leetcode-cn.com/problems/binary-tree-level-order-traversal|
|209. 长度最小的子数组|1|https://leetcode-cn.com/problems/minimum-size-subarray-sum|
|239. 滑动窗口最大值|1|https://leetcode-cn.com/problems/sliding-window-maximum|
|104. 二叉树的最大深度|1|https://leetcode-cn.com/problems/maximum-depth-of-binary-tree|
|2. 两数相加|1|https://leetcode-cn.com/problems/add-two-numbers|
|560. 和为K的子数组|1|https://leetcode-cn.com/problems/subarray-sum-equals-k|
|287. 寻找重复数|1|https://leetcode-cn.com/problems/find-the-duplicate-number|
|440. 字典序的第K小数字|1|https://leetcode-cn.com/problems/k-th-smallest-in-lexicographical-order|
Loading

0 comments on commit 628b65b

Please sign in to comment.