众所周知,字节跳动面试非常喜欢考算法题。

Leetcode官方的企业题库不仅付费,而且题量非常大。

因此,我从20年7月开始,手动整理牛客面经涉及的Leetcode算法题,并按照频度由高到低进行了排列。以下列出的250多道高频题目。

如果你想查看按部门岗位查看高频算法题,或者查看其他大厂的题库,可以使用我开发的CodeTop:https://codetop.cc

字节跳动题库已覆盖抖音、飞书、架构、data、商业变现、懂车帝、电商、今日头条等20多个部门。

字节跳动高频题(更新至2021年4.10日)

题目 出现次数 链接
3. 无重复字符的最长子串 87 https://leetcode-cn.com/problems/longest-substring-without-repeating-characters
25. K 个一组翻转链表 71 https://leetcode-cn.com/problems/reverse-nodes-in-k-group
206. 反转链表 70 https://leetcode-cn.com/problems/reverse-linked-list
215. 数组中的第K个最大元素 68 https://leetcode-cn.com/problems/kth-largest-element-in-an-array
103. 二叉树的锯齿形层次遍历 53 https://leetcode-cn.com/problems/binary-tree-zigzag-level-order-traversal
15. 三数之和 53 https://leetcode-cn.com/problems/3sum
160. 相交链表 53 https://leetcode-cn.com/problems/intersection-of-two-linked-lists
146. LRU缓存机制 51 https://leetcode-cn.com/problems/lru-cache
121. 买卖股票的最佳时机 47 https://leetcode-cn.com/problems/best-time-to-buy-and-sell-stock
1. 两数之和 43 https://leetcode-cn.com/problems/two-sum
236. 二叉树的最近公共祖先 35 https://leetcode-cn.com/problems/lowest-common-ancestor-of-a-binary-tree
53. 最大子序和 34 https://leetcode-cn.com/problems/maximum-subarray
415. 字符串相加 33 https://leetcode-cn.com/problems/add-strings
21. 合并两个有序链表 32 https://leetcode-cn.com/problems/merge-two-sorted-lists
42. 接雨水 31 https://leetcode-cn.com/problems/trapping-rain-water
199. 二叉树的右视图 30 https://leetcode-cn.com/problems/binary-tree-right-side-view
88. 合并两个有序数组 28 https://leetcode-cn.com/problems/merge-sorted-array
141. 环形链表 28 https://leetcode-cn.com/problems/linked-list-cycle
33. 搜索旋转排序数组 28 https://leetcode-cn.com/problems/search-in-rotated-sorted-array
54. 螺旋矩阵 28 https://leetcode-cn.com/problems/spiral-matrix
102. 二叉树的层序遍历 26 https://leetcode-cn.com/problems/binary-tree-level-order-traversal
20. 有效的括号 26 https://leetcode-cn.com/problems/valid-parentheses
105. 从前序与中序遍历序列构造二叉树 25 https://leetcode-cn.com/problems/construct-binary-tree-from-preorder-and-inorder-traversal
200. 岛屿数量 25 https://leetcode-cn.com/problems/number-of-islands
46. 全排列 23 https://leetcode-cn.com/problems/permutations
142. 环形链表 II 22 https://leetcode-cn.com/problems/linked-list-cycle-ii
56. 合并区间 22 https://leetcode-cn.com/problems/merge-intervals
300. 最长上升子序列 22 https://leetcode-cn.com/problems/longest-increasing-subsequence
69. x 的平方根 22 https://leetcode-cn.com/problems/sqrtx
232. 用栈实现队列 21 https://leetcode-cn.com/problems/implement-queue-using-stacks
124. 二叉树中的最大路径和 21 https://leetcode-cn.com/problems/binary-tree-maximum-path-sum
23. 合并K个排序链表 21 https://leetcode-cn.com/problems/merge-k-sorted-lists
5. 最长回文子串 21 https://leetcode-cn.com/problems/longest-palindromic-substring
94. 二叉树的中序遍历 20 https://leetcode-cn.com/problems/binary-tree-inorder-traversal
155. 最小栈 20 https://leetcode-cn.com/problems/min-stack
143. 重排链表 20 https://leetcode-cn.com/problems/reorder-list
41. 缺失的第一个正数 19 https://leetcode-cn.com/problems/first-missing-positive
101. 对称二叉树 19 https://leetcode-cn.com/problems/symmetric-tree
113. 路径总和 II 19 https://leetcode-cn.com/problems/path-sum-ii
958. 二叉树的完全性检验 18 https://leetcode-cn.com/problems/check-completeness-of-a-binary-tree
112. 路径总和 17 https://leetcode-cn.com/problems/path-sum
70. 爬楼梯 17 https://leetcode-cn.com/problems/climbing-stairs
169. 多数元素 17 https://leetcode-cn.com/problems/majority-element
剑指 Offer 22. 链表中倒数第k个节点 17 https://leetcode-cn.com/problems/lian-biao-zhong-dao-shu-di-kge-jie-dian-lcof
98. 验证二叉搜索树 17 https://leetcode-cn.com/problems/validate-binary-search-tree
39. 组合总和 16 https://leetcode-cn.com/problems/combination-sum
补充题1. 排序奇升偶降链表 16 https://mp.weixin.qq.com/s/377FfqvpY8NwMInhpoDgsw
234. 回文链表 15 https://leetcode-cn.com/problems/palindrome-linked-list
110. 平衡二叉树 15 https://leetcode-cn.com/problems/balanced-binary-tree
543. 二叉树的直径 15 https://leetcode-cn.com/problems/diameter-of-binary-tree
2. 两数相加 15 https://leetcode-cn.com/problems/add-two-numbers
31. 下一个排列 15 https://leetcode-cn.com/problems/next-permutation
240. 搜索二维矩阵 II 15 https://leetcode-cn.com/problems/search-a-2d-matrix-ii
122. 买卖股票的最佳时机 II 15 https://leetcode-cn.com/problems/best-time-to-buy-and-sell-stock-ii
129. 求根到叶子节点数字之和 15 https://leetcode-cn.com/problems/sum-root-to-leaf-numbers
92. 反转链表 II 15 https://leetcode-cn.com/problems/reverse-linked-list-ii
718. 最长重复子数组 14 https://leetcode-cn.com/problems/maximum-length-of-repeated-subarray
151. 翻转字符串里的单词 13 https://leetcode-cn.com/problems/reverse-words-in-a-string
64. 最小路径和 13 https://leetcode-cn.com/problems/minimum-path-sum
62. 不同路径 13 https://leetcode-cn.com/problems/unique-paths
104. 二叉树的最大深度 13 https://leetcode-cn.com/problems/maximum-depth-of-binary-tree
83. 删除排序链表中的重复元素 13 https://leetcode-cn.com/problems/remove-duplicates-from-sorted-list
162. 寻找峰值 13 https://leetcode-cn.com/problems/find-peak-element
226. 翻转二叉树 13 https://leetcode-cn.com/problems/invert-binary-tree
209. 长度最小的子数组 13 https://leetcode-cn.com/problems/minimum-size-subarray-sum
165. 比较版本号 13 https://leetcode-cn.com/problems/compare-version-numbers
518. 零钱兑换 II 12 https://leetcode-cn.com/problems/coin-change-2
76. 最小覆盖子串 12 https://leetcode-cn.com/problems/minimum-window-substring
32. 最长有效括号 12 https://leetcode-cn.com/problems/longest-valid-parentheses
93. 复原IP地址 12 https://leetcode-cn.com/problems/restore-ip-addresses
19. 删除链表的倒数第N个节点 12 https://leetcode-cn.com/problems/remove-nth-node-from-end-of-list
4. 寻找两个正序数组的中位数 12 https://leetcode-cn.com/problems/median-of-two-sorted-arrays
48. 旋转图像 12 https://leetcode-cn.com/problems/rotate-image
78. 子集 11 https://leetcode-cn.com/problems/subsets
剑指 Offer 09. 用两个栈实现队列 11 https://leetcode-cn.com/problems/yong-liang-ge-zhan-shi-xian-dui-lie-lcof
230. 二叉搜索树中第K小的元素 11 https://leetcode-cn.com/problems/kth-smallest-element-in-a-bst
1143. 最长公共子序列 11 https://leetcode-cn.com/problems/longest-common-subsequence
322. 零钱兑换 11 https://leetcode-cn.com/problems/coin-change
695. 岛屿的最大面积 11 https://leetcode-cn.com/problems/max-area-of-island
144. 二叉树的前序遍历 11 https://leetcode-cn.com/problems/binary-tree-preorder-traversal
148. 排序链表 11 https://leetcode-cn.com/problems/sort-list
470. 用 Rand7() 实现 Rand10() 11 https://leetcode-cn.com/problems/implement-rand10-using-rand7
198. 打家劫舍 11 https://leetcode-cn.com/problems/house-robber
补充题4. 手撕快速排序 11 https://leetcode-cn.com/problems/sort-an-array
394. 字符串解码 10 https://leetcode-cn.com/problems/decode-string
72. 编辑距离 10 https://leetcode-cn.com/problems/edit-distance
224. 基本计算器 10 https://leetcode-cn.com/problems/basic-calculator
82. 删除排序链表中的重复元素 II 10 https://leetcode-cn.com/problems/remove-duplicates-from-sorted-list-ii
剑指 Offer 36. 二叉搜索树与双向链表 9 https://leetcode-cn.com/problems/er-cha-sou-suo-shu-yu-shuang-xiang-lian-biao-lcof
24. 两两交换链表中的节点 9 https://leetcode-cn.com/problems/swap-nodes-in-pairs
739. 每日温度 9 https://leetcode-cn.com/problems/daily-temperatures
79. 单词搜索 9 https://leetcode-cn.com/problems/word-search
239. 滑动窗口最大值 9 https://leetcode-cn.com/problems/sliding-window-maximum
补充题2. 圆环回原点问题 9 https://mp.weixin.qq.com/s/VnGFEWHeD3nh1n9JSDkVUg
862. 和至少为 K 的最短子数组 8 https://leetcode-cn.com/problems/shortest-subarray-with-sum-at-least-k
662. 二叉树最大宽度 8 https://leetcode-cn.com/problems/maximum-width-of-binary-tree
138. 复制带随机指针的链表 8 https://leetcode-cn.com/problems/copy-list-with-random-pointer
34. 在排序数组中查找元素的第一个和最后一个位置 8 https://leetcode-cn.com/problems/find-first-and-last-position-of-element-in-sorted-array
440. 字典序的第K小数字 8 https://leetcode-cn.com/problems/k-th-smallest-in-lexicographical-order
补充题9. 36进制加法 8 https://mp.weixin.qq.com/s/bgD1Q5lc92mX7RNS1L65qA
128. 最长连续序列 7 https://leetcode-cn.com/problems/longest-consecutive-sequence
468. 验证IP地址 7 https://leetcode-cn.com/problems/validate-ip-address
221. 最大正方形 7 https://leetcode-cn.com/problems/maximal-square
22. 括号生成 7 https://leetcode-cn.com/problems/generate-parentheses
剑指 Offer 21. 调整数组顺序使奇数位于偶数前面 7 https://leetcode-cn.com/problems/diao-zheng-shu-zu-shun-xu-shi-qi-shu-wei-yu-ou-shu-qian-mian-lcof
460. LFU缓存 7 https://leetcode-cn.com/problems/lfu-cache
179. 最大数 7 https://leetcode-cn.com/problems/largest-number
704. 二分查找 7 https://leetcode-cn.com/problems/binary-search
114. 二叉树展开为链表 7 https://leetcode-cn.com/problems/flatten-binary-tree-to-linked-list
剑指 Offer 27. 二叉树的镜像 7 https://leetcode-cn.com/problems/er-cha-shu-de-jing-xiang-lcof
59. 螺旋矩阵 II 7 https://leetcode-cn.com/problems/spiral-matrix-ii
287. 寻找重复数 7 https://leetcode-cn.com/problems/find-the-duplicate-number
11. 盛最多水的容器 7 https://leetcode-cn.com/problems/container-with-most-water
344. 反转字符串 6 https://leetcode-cn.com/problems/reverse-string
14. 最长公共前缀 6 https://leetcode-cn.com/problems/longest-common-prefix
剑指 Offer 61. 扑克牌中的顺子 6 https://leetcode-cn.com/problems/bu-ke-pai-zhong-de-shun-zi-lcof
剑指 Offer 54. 二叉搜索树的第k大节点 6 https://leetcode-cn.com/problems/er-cha-sou-suo-shu-de-di-kda-jie-dian-lcof
297. 二叉树的序列化与反序列化 6 https://leetcode-cn.com/problems/serialize-and-deserialize-binary-tree
8. 字符串转换整数 (atoi) 6 https://leetcode-cn.com/problems/string-to-integer-atoi
670. 最大交换 6 https://leetcode-cn.com/problems/maximum-swap
61. 旋转链表 6 https://leetcode-cn.com/problems/rotate-list
剑指 Offer 51. 数组中的逆序对 6 https://leetcode-cn.com/problems/shu-zu-zhong-de-ni-xu-dui-lcof
225. 用队列实现栈 6 https://leetcode-cn.com/problems/implement-stack-using-queues
补充题3. 求区间最小数乘区间和的最大值 6 https://mp.weixin.qq.com/s/ABNN4lJpvttulwWaUTgYZQ
补充题7. 木头切割问题 6 https://mp.weixin.qq.com/s/o-1VJO2TQZjC5ROmV7CReA
977. 有序数组的平方 5 https://leetcode-cn.com/problems/squares-of-a-sorted-array
108. 将有序数组转换为二叉搜索树 5 https://leetcode-cn.com/problems/convert-sorted-array-to-binary-search-tree
560. 和为K的子数组 5 https://leetcode-cn.com/problems/subarray-sum-equals-k
145. 二叉树的后序遍历 5 https://leetcode-cn.com/problems/binary-tree-postorder-traversal
283. 移动零 5 https://leetcode-cn.com/problems/move-zeroes
191. 位1的个数 5 https://leetcode-cn.com/problems/number-of-1-bits
189. 旋转数组 5 https://leetcode-cn.com/problems/rotate-array
125. 验证回文串 5 https://leetcode-cn.com/problems/valid-palindrome
剑指 Offer 62. 圆圈中最后剩下的数字 5 https://leetcode-cn.com/problems/yuan-quan-zhong-zui-hou-sheng-xia-de-shu-zi-lcof
1047. 删除字符串中的所有相邻重复项 5 https://leetcode-cn.com/problems/remove-all-adjacent-duplicates-in-string
剑指 Offer 45. 把数组排成最小的数 4 https://leetcode-cn.com/problems/ba-shu-zu-pai-cheng-zui-xiao-de-shu-lcof
剑指 Offer 48. 最长不含重复字符的子字符串 4 https://leetcode-cn.com/problems/zui-chang-bu-han-zhong-fu-zi-fu-de-zi-zi-fu-chuan-lcof
680. 验证回文字符串 Ⅱ 4 https://leetcode-cn.com/problems/valid-palindrome-ii
328. 奇偶链表 4 https://leetcode-cn.com/problems/odd-even-linked-list
136. 只出现一次的数字 4 https://leetcode-cn.com/problems/single-number
剑指 Offer 11. 旋转数组的最小数字 4 https://leetcode-cn.com/problems/xuan-zhuan-shu-zu-de-zui-xiao-shu-zi-lcof
剑指 Offer 33. 二叉搜索树的后序遍历序列 4 https://leetcode-cn.com/problems/er-cha-sou-suo-shu-de-hou-xu-bian-li-xu-lie-lcof
509. 斐波那契数 4 https://leetcode-cn.com/problems/fibonacci-number
剑指 Offer 10- II. 青蛙跳台阶问题 4 https://leetcode-cn.com/problems/qing-wa-tiao-tai-jie-wen-ti-lcof
152. 乘积最大子数组 4 https://leetcode-cn.com/problems/maximum-product-subarray
40. 组合总和 II 4 https://leetcode-cn.com/problems/combination-sum-ii
71. 简化路径 4 https://leetcode-cn.com/problems/simplify-path
402. 移掉K位数字 4 https://leetcode-cn.com/problems/remove-k-digits
135. 分发糖果 4 https://leetcode-cn.com/problems/candy
26. 删除排序数组中的重复项 4 https://leetcode-cn.com/problems/remove-duplicates-from-sorted-array
329. 矩阵中的最长递增路径 4 https://leetcode-cn.com/problems/longest-increasing-path-in-a-matrix
227. 基本计算器 II 4 https://leetcode-cn.com/problems/basic-calculator-ii
456. 132模式 4 https://leetcode-cn.com/problems/132-pattern
528. 按权重随机选择 4 https://leetcode-cn.com/problems/random-pick-with-weight
242. 有效的字母异位词 4 https://leetcode-cn.com/problems/valid-anagram
443. 压缩字符串 4 https://leetcode-cn.com/problems/string-compression
75. 颜色分类 4 https://leetcode-cn.com/problems/sort-colors
剑指 Offer 52. 两个链表的第一个公共节点 3 https://leetcode-cn.com/problems/liang-ge-lian-biao-de-di-yi-ge-gong-gong-jie-dian-lcof
139. 单词拆分 3 https://leetcode-cn.com/problems/word-break
503. 下一个更大元素 II 3 https://leetcode-cn.com/problems/next-greater-element-ii
86. 分隔链表 3 https://leetcode-cn.com/problems/partition-list
347. 前 K 个高频元素 3 https://leetcode-cn.com/problems/top-k-frequent-elements
7. 整数反转 3 https://leetcode-cn.com/problems/reverse-integer
63. 不同路径 II 3 https://leetcode-cn.com/problems/unique-paths-ii
剑指 Offer 24. 反转链表 3 https://leetcode-cn.com/problems/fan-zhuan-lian-biao-lcof
264. 丑数 II 3 https://leetcode-cn.com/problems/ugly-number-ii
349. 两个数组的交集 3 https://leetcode-cn.com/problems/intersection-of-two-arrays
188. 买卖股票的最佳时机 IV 3 https://leetcode-cn.com/problems/best-time-to-buy-and-sell-stock-iv
剑指 Offer 04. 二维数组中的查找 3 https://leetcode-cn.com/problems/er-wei-shu-zu-zhong-de-cha-zhao-lcof
210. 课程表 II 3 https://leetcode-cn.com/problems/course-schedule-ii
49. 字母异位词分组 3 https://leetcode-cn.com/problems/group-anagrams
17. 电话号码的字母组合 3 https://leetcode-cn.com/problems/letter-combinations-of-a-phone-number
498. 对角线遍历 3 https://leetcode-cn.com/problems/diagonal-traverse
97. 交错字符串 3 https://leetcode-cn.com/problems/interleaving-string
50. Pow(x, n) 3 https://leetcode-cn.com/problems/powx-n
16. 最接近的三数之和 3 https://leetcode-cn.com/problems/3sum-closest
134. 加油站 3 https://leetcode-cn.com/problems/gas-station
315. 计算右侧小于当前元素的个数 3 https://leetcode-cn.com/problems/count-of-smaller-numbers-after-self
120. 三角形最小路径和 3 https://leetcode-cn.com/problems/triangle
91. 解码方法 3 https://leetcode-cn.com/problems/decode-ways
1095. 山脉数组中查找目标值 3 https://leetcode-cn.com/problems/find-in-mountain-array
334. 递增的三元子序列 3 https://leetcode-cn.com/problems/increasing-triplet-subsequence
153. 寻找旋转排序数组中的最小值 3 https://leetcode-cn.com/problems/find-minimum-in-rotated-sorted-array
80. 删除排序数组中的重复项 II 3 https://leetcode-cn.com/problems/remove-duplicates-from-sorted-array-ii
剑指 Offer 46. 把数字翻译成字符串 3 https://leetcode-cn.com/problems/ba-shu-zi-fan-yi-cheng-zi-fu-chuan-lcof
84. 柱状图中最大的矩形 3 https://leetcode-cn.com/problems/largest-rectangle-in-histogram
剑指 Offer 10- I. 斐波那契数列 3 https://leetcode-cn.com/problems/fei-bo-na-qi-shu-lie-lcof
补充题5. 手撕归并排序 3 https://leetcode-cn.com/problems/sort-an-array
556. 下一个更大元素 III 3 https://leetcode-cn.com/problems/next-greater-element-iii
1201. 丑数 III 2 https://leetcode-cn.com/problems/ugly-number-iii
1254. 统计封闭岛屿的数目 2 https://leetcode-cn.com/problems/number-of-closed-islands
67. 二进制求和 2 https://leetcode-cn.com/problems/add-binary
190. 颠倒二进制位 2 https://leetcode-cn.com/problems/reverse-bits
572. 另一个树的子树 2 https://leetcode-cn.com/problems/subtree-of-another-tree
剑指 Offer 39. 数组中出现次数超过一半的数字 2 https://leetcode-cn.com/problems/shu-zu-zhong-chu-xian-ci-shu-chao-guo-yi-ban-de-shu-zi-lcof
405. 数字转换为十六进制数 2 https://leetcode-cn.com/problems/convert-a-number-to-hexadecimal
剑指 Offer 07. 重建二叉树 2 https://leetcode-cn.com/problems/zhong-jian-er-cha-shu-lcof
257. 二叉树的所有路径 2 https://leetcode-cn.com/problems/binary-tree-paths
剑指 Offer 32 - III. 从上到下打印二叉树 III 2 https://leetcode-cn.com/problems/cong-shang-dao-xia-da-yin-er-cha-shu-iii-lcof
445. 两数相加 II 2 https://leetcode-cn.com/problems/add-two-numbers-ii
剑指 Offer 29. 顺时针打印矩阵 2 https://leetcode-cn.com/problems/shun-shi-zhen-da-yin-ju-zhen-lcof
剑指 Offer 38. 字符串的排列 2 https://leetcode-cn.com/problems/zi-fu-chuan-de-pai-lie-lcof
701. 二叉搜索树中的插入操作 2 https://leetcode-cn.com/problems/insert-into-a-binary-search-tree
421. 数组中两个数的最大异或值 2 https://leetcode-cn.com/problems/maximum-xor-of-two-numbers-in-an-array
99. 恢复二叉搜索树 2 https://leetcode-cn.com/problems/recover-binary-search-tree
523. 连续的子数组和 2 https://leetcode-cn.com/problems/continuous-subarray-sum
164. 最大间距 2 https://leetcode-cn.com/problems/maximum-gap
面试题 03.05. 栈排序 2 https://leetcode-cn.com/problems/sort-of-stacks-lcci
208. 实现 Trie (前缀树) 2 https://leetcode-cn.com/problems/implement-trie-prefix-tree
剑指 Offer 19. 正则表达式匹配 2 https://leetcode-cn.com/problems/zheng-ze-biao-da-shi-pi-pei-lcof
剑指 Offer 59 - II. 队列的最大值 2 https://leetcode-cn.com/problems/dui-lie-de-zui-da-zhi-lcof
895. 最大频率栈 2 https://leetcode-cn.com/problems/maximum-frequency-stack
557. 反转字符串中的单词 III 2 https://leetcode-cn.com/problems/reverse-words-in-a-string-iii
398. 随机数索引 2 https://leetcode-cn.com/problems/random-pick-index
268. 缺失数字 2 https://leetcode-cn.com/problems/missing-number
85. 最大矩形 2 https://leetcode-cn.com/problems/maximal-rectangle
1363. 形成三的最大倍数 2 https://leetcode-cn.com/problems/largest-multiple-of-three
107. 二叉树的层次遍历 II 2 https://leetcode-cn.com/problems/binary-tree-level-order-traversal-ii
44. 通配符匹配 2 https://leetcode-cn.com/problems/wildcard-matching
45. 跳跃游戏 II 2 https://leetcode-cn.com/problems/jump-game-ii
416. 分割等和子集 2 https://leetcode-cn.com/problems/partition-equal-subset-sum
238. 除自身以外数组的乘积 2 https://leetcode-cn.com/problems/product-of-array-except-self
807. 保持城市天际线 2 https://leetcode-cn.com/problems/max-increase-to-keep-city-skyline
123. 买卖股票的最佳时机 III 2 https://leetcode-cn.com/problems/best-time-to-buy-and-sell-stock-iii
340. 至多包含 K 个不同字符的最长子串 2 https://leetcode-cn.com/problems/longest-substring-with-at-most-k-distinct-characters
154. 寻找旋转排序数组中的最小值 II 2 https://leetcode-cn.com/problems/find-minimum-in-rotated-sorted-array-ii
668. 乘法表中第k小的数 2 https://leetcode-cn.com/problems/kth-smallest-number-in-multiplication-table
77. 组合 2 https://leetcode-cn.com/problems/combinations
213. 打家劫舍 II 2 https://leetcode-cn.com/problems/house-robber-ii
438. 找到字符串中所有字母异位词 2 https://leetcode-cn.com/problems/find-all-anagrams-in-a-string
147. 对链表进行插入排序 2 https://leetcode-cn.com/problems/insertion-sort-list
785. 判断二分图 2 https://leetcode-cn.com/problems/is-graph-bipartite
525. 连续数组 2 https://leetcode-cn.com/problems/contiguous-array
722. 删除注释 2 https://leetcode-cn.com/problems/remove-comments
260. 只出现一次的数字 III 2 https://leetcode-cn.com/problems/single-number-iii
60. 第k个排列 2 https://leetcode-cn.com/problems/permutation-sequence
404. 左叶子之和 2 https://leetcode-cn.com/problems/sum-of-left-leaves
10. 正则表达式匹配 2 https://leetcode-cn.com/problems/regular-expression-matching
459. 重复的子字符串 2 https://leetcode-cn.com/problems/repeated-substring-pattern
96. 不同的二叉搜索树 2 https://leetcode-cn.com/problems/unique-binary-search-trees
43. 字符串相乘 2 https://leetcode-cn.com/problems/multiply-strings
974. 和可被 K 整除的子数组 2 https://leetcode-cn.com/problems/subarray-sums-divisible-by-k
18. 四数之和 2 https://leetcode-cn.com/problems/4sum
647. 回文子串 2 https://leetcode-cn.com/problems/palindromic-substrings
补充题10. 36进制减法 2
补充题6. 手撕堆排序 2 https://leetcode-cn.com/problems/sort-an-array
74. 搜索二维矩阵 2 https://leetcode-cn.com/problems/search-a-2d-matrix
剑指 Offer 53 - I. 在排序数组中查找数字 I 2 https://leetcode-cn.com/problems/zai-pai-xu-shu-zu-zhong-cha-zhao-shu-zi-lcof
补充题14. 阿拉伯数字转中文数字 2
429. N叉树的层序遍历 2 https://leetcode-cn.com/problems/n-ary-tree-level-order-traversal
剑指 Offer 03. 数组中重复的数字 2 https://leetcode-cn.com/problems/shu-zu-zhong-zhong-fu-de-shu-zi-lcof
106. 从中序与后序遍历序列构造二叉树 2 https://leetcode-cn.com/problems/construct-binary-tree-from-inorder-and-postorder-traversal

Leetcode高频算法题——字节跳动篇相关推荐

  1. [LeetCode]高频算法题

    建议在准备面试前的1-2周过一遍,这里尽量用简短的几个词,记录每道题的核心解法,帮助记忆 怎么用这个文档: 1)如果你还有1-2个月开始面试,那就跟着这个文档一道一道的写吧,看看里面说的解法是否符合你 ...

  2. 字节跳动3月面试遇到的高频算法题

    本文汇总了牛客2021.3.1~2021.3.30 面经考到的Leetcode题目 最终的高频题榜单数据可以在CodeTop题库(https://codetop.cc)查询,支持按部门.岗位分类筛选. ...

  3. 面试必备:高频算法题汇总「图文解析 + 教学视频 + 范例代码」必问之 排序 + 二叉树 部分!

    排序 所谓排序算法,即通过特定的算法因式将一组或多组数据按照既定模式进行重新排序.这种新序列遵循着一定的规则,体现出一定的规律,因此,经处理后的数据便于筛选和计算,大大提高了计算效率. 对于排序: 我 ...

  4. 面试必备:高频算法题汇总「图文解析 + 教学视频 + 范例代码」必知必会 排序 + 二叉树 部分!

    排序 时光小说网 https://wap.youxs.org/ 所谓排序算法,即通过特定的算法因式将一组或多组数据按照既定模式进行重新排序.这种新序列遵循着一定的规则,体现出一定的规律,因此,经处理后 ...

  5. 面试必备:高频算法题汇总「图文解析 + 教学视频 + 范例代码」之 字符串处理+动态规划 合集!

    Attention 秋招接近尾声,我总结了 牛客.WanAndroid 上,有关笔试面经的帖子中出现的算法题,结合往年考题写了这一系列文章,所有文章均与 LeetCode 进行核对.测试.欢迎食用 本 ...

  6. 面试高频算法题补充系列:木棍切割问题

    前言 了解更多常考高频算法题可以关注 公众号:一个搬砖的胖子 高频算法网站:https://codetop.cc/ 小程序:CodeTop 此题经常在字节跳动后端面试中遇到,尤其是教育部门的三面.我押 ...

  7. 面试高频算法题补充系列:如何判断一个点是否在三角形内?

    前言 了解更多常考高频算法题可以关注 公众号:一个搬砖的胖子 企业面试题库:https://codetop.cc/ 小程序:CodeTop 该题曾出现在字节跳动.腾讯.网易.美团.小马智行等公司的面试 ...

  8. 面试必备:高频算法题汇总「图文解析 + 教学视频 + 范例代码」必问之 链表 + 栈 + 队列 部分!

    链表 链表是最基本的数据结构,面试官也常常用链表来考察面试者的基本能力,而且链表相关的操作相对而言比较简单,也适合考察写代码的能力.链表的操作也离不开指针,指针又很容易导致出错. 综合多方面的原因,链 ...

  9. leetcode贪心算法题集锦(持续更新中)

    leetcode贪心算法题集锦 leetcode贪心算法题集锦(持续更新中).python 和C++编写. 文章目录 leetcode贪心算法题集锦 一.贪心算法 1.盛最多水的容器 2.买股票的最佳 ...

最新文章

  1. Flash中文字体嵌入终极解决方案
  2. mysql webhook_sql 数据定时发送webhook golang 服务
  3. Python学习:文件操作
  4. html跟鼠标移动,在HTML5相对鼠标移动
  5. View 绘制流程分析
  6. synchronized 面试五连击
  7. Android之AIDL使用详解
  8. 初学UML,画了几个UML图
  9. 类中定义接口-匿名内部类
  10. 【预测模型】基于matlab GUI AR模型线性预测【含Matlab源码 942期】
  11. 北斗卫星导航系统基础篇之(三)——北斗缩略词详解
  12. 计算机键盘字母排列依据,键盘上的26个字母排序有什么规律吗?是怎么定的?...
  13. GBase8s数据库MINUS 运算符
  14. 欧氏空间距离和内积_欧氏空间的内积与线性变换
  15. 2020年6月——北京大学《软件工程》笔记
  16. 微信「扫一扫识物」 的背后技术揭秘
  17. 联想小新14pro锐龙版网卡rtl8852ae在ubunru18.04装网卡驱动
  18. 【密码学-凯撒密码】
  19. 阿龙的学习笔记---C++ 进阶知识(博客汇总)
  20. P44-前端基础CSS-Position相对定位介绍

热门文章

  1. 一、常见音频编码格式以及帧长计算
  2. REXROTH力士乐插装阀LFA50DB2-7X/200
  3. visio 画 弯曲 箭头 ( 波浪线 曲线)
  4. python开发出来的crm系统_用Python打造一个CRM系统(二)
  5. Mac不休眠、恢复休眠的快捷设置
  6. 公司想要创建百度百科词条应该怎么做?
  7. HIVE中ROW_NUMBER()函数的讲解
  8. excel转pdf在线转换器
  9. 维修记录-台式电脑无法开机
  10. 汉澳sinox运行photoshop8,dreamweaver8,flashmx2004,fireworks8