字节跳动,算法题汇总。

我不知道为什么这个帖子一直被移动到其它板块?我在字节跳动面经那里总是看不到,吧务是脑子抽吗?这个资料,放在其它板块,甚至其它公司下面,人家压根儿不 care 的好吗?请让让需要这些资料的人能够看到它好吗?另外,大家有新的面经题目,可以留言在帖子里。知道题号的就给题号,不知道的描述题干就行,我看到后会想办法整理。

————————————————————————————

几天前的一个早上浏览了几个小时的这个板块的面经,也是想查漏补缺。当时记录下了大部分出现过的算法题,由于很多都是题干描述,后来我去 LeetCode 上一一找出来,也是为了自己二刷了。这边也放一个出来给大家看看。

  • LeetCode 001. Two Sum
  • LeetCode 015. 3Sum (可能会问 LeetCode 18. 4Sum 思路)
  • LeetCode 020. Valid Parentheses
  • LeetCode 021. Merge Two Sorted Lists
  • LeetCode 025. Reverse Nodes in k-Group
  • LeetCode 053. Maximum Subarray
  • LeetCode 066. Plus One(等价于:高精度加法)
  • LeetCode 098. Validate Binary Search Tree
  • LeetCode 110. Balanced Binary Tree
  • LeetCode 134. Gas Station
  • LeetCode 136. Single Number
  • LeetCode 137. Single Number II
  • LeetCode 146. LRU Cache(变形题:带有过期时间的 LRU 缓存)
  • LeetCode 206. Reverse Linked List
  • LeetCode 215. Kth Largest Element in an Array(等价于:快速排序)
  • LeetCode 232. Implement Queue using Stacks
  • LeetCode 328. Odd Even Linked List
  • LeetCode 415. Add Strings(等价于:大数加法)
  • LeetCode 470:rand7() rand10()
  • LeetCode 496. Next Greater Element I(时间复杂度O(n))
  • LeetCode 716. Max Stack(两个栈实现最大栈,要求 pop,push,get_max 都为O(1))
  • LeetCode 860. Lemonade Change
  • LeetCode 862. Shortest Subarray with Sum at Least K
  • LeetCode 876. Middle of the Linked List
  • LeetCode 946. Validate Stack Sequences

#字节跳动##leetcode#
全部评论
补充几道算法题(剑指offer都有,leetcode对应题号没有找): 1. 之字打印二叉树 2. 链表有无环 3. 礼物的最大价值 4. 加减乘除求开方(剑指无)
3 回复 分享
发布于 2020-03-20 19:08
秒啊
1 回复 分享
发布于 2020-03-08 22:46
谢谢老哥,穷学生一枚😭
点赞 回复 分享
发布于 2020-11-25 12:57
感谢楼主
点赞 回复 分享
发布于 2020-06-24 17:46
补充一个,leetcode329
点赞 回复 分享
发布于 2020-06-05 00:33
收藏!感谢!
点赞 回复 分享
发布于 2020-05-29 10:20
已收藏,辛苦了,感谢
点赞 回复 分享
发布于 2020-04-21 21:52
点赞 回复 分享
发布于 2020-04-14 10:37
感谢大佬!
点赞 回复 分享
发布于 2020-04-06 16:50
收藏
点赞 回复 分享
发布于 2020-04-03 09:24
Mark
点赞 回复 分享
发布于 2020-04-03 08:07
3Sum: + 1 补充: 1209. Remove All Adjacent Duplicates in String II
点赞 回复 分享
发布于 2020-03-20 13:23
点赞 回复 分享
发布于 2020-03-18 14:31
补充一道 73 矩阵置零
点赞 回复 分享
发布于 2020-03-17 20:17
谢谢
点赞 回复 分享
发布于 2020-03-16 03:05
谢谢
点赞 回复 分享
发布于 2020-03-14 20:10
感谢楼主
点赞 回复 分享
发布于 2020-03-14 18:46
谢谢
点赞 回复 分享
发布于 2020-03-14 18:40
谢谢楼主!
点赞 回复 分享
发布于 2020-03-14 18:36
mark
点赞 回复 分享
发布于 2020-03-11 20:51

相关推荐

评论
71
677
分享

创作者周榜

更多
牛客网
牛客网在线编程
牛客网题解
牛客企业服务