Skip to content

Commit 628b65b

Browse files
committed
字节已同步至牛客2.28的面经
1 parent 979c033 commit 628b65b

File tree

8 files changed

+398
-384
lines changed

8 files changed

+398
-384
lines changed

Diff for: README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,11 @@
1313

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

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

20-
[1.1~2.4涉及的90道题](https://github.com/afatcoder/LeetcodeTop/blob/master/bytedance/latest.md)
20+
[2.4~2.28出现的题目](https://github.com/afatcoder/LeetcodeTop/blob/master/bytedance/latest.md)
2121
- [后端](https://github.com/afatcoder/LeetcodeTop/blob/master/bytedance/backend.md)
2222
- [算法](https://github.com/afatcoder/LeetcodeTop/blob/master/bytedance/algorithm.md)
2323
- [客户端](https://github.com/afatcoder/LeetcodeTop/blob/master/bytedance/client.md)

Diff for: bytedance/algorithm.md

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

0 commit comments

Comments
 (0)