- Notifications
You must be signed in to change notification settings - Fork2.7k
更新字节跳动1.12.4日面经#28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Merged
The head ref may contain hidden characters:"\u66F4\u65B0\u5B57\u8282\u8DF3\u52A81.12.4\u65E5\u9762\u7ECF"
Uh oh!
There was an error while loading.Please reload this page.
Merged
Changes fromall commits
Commits
Show all changes
7 commits Select commitHold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Uh oh!
There was an error while loading.Please reload this page.
Jump to
Jump to file
Failed to load files.
Loading
Uh oh!
There was an error while loading.Please reload this page.
Diff view
Diff view
There are no files selected for viewing
63 changes: 34 additions & 29 deletionsbytedance/algorithm.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,72 +1,77 @@ | ||
|题目|出现次数|链接| | ||
|-|-|-| | ||
|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| | ||
|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| | ||
|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| | ||
|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| | ||
|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| | ||
|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| | ||
|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| | ||
|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| | ||
|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| | ||
|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| | ||
|206. 反转链表|1|https://leetcode-cn.com/problems/reverse-linked-list| | ||
|25. K 个一组翻转链表|1|https://leetcode-cn.com/problems/reverse-nodes-in-k-group| | ||
|剑指 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| | ||
|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| |
Oops, something went wrong.
Uh oh!
There was an error while loading.Please reload this page.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.