An open API service indexing awesome lists of open source software.

https://github.com/forthespada/leetcodeinaction

2021年计算机校招求职力扣 + 剑指offer刷题记录~自始至终,始终坚持面向offer刷题~
https://github.com/forthespada/leetcodeinaction

Last synced: 8 months ago
JSON representation

2021年计算机校招求职力扣 + 剑指offer刷题记录~自始至终,始终坚持面向offer刷题~

Awesome Lists containing this project

README

          



loading

刷题宗旨:坚定不移的面向offer刷题,一切以拿offer为目标

**1、个人背景**

2021届计算机应届毕业生,普通双非学校出身,提前一年准备求职学习相关(操作系统、计算机网络、数据库、Linux、C++等)。

我的秋招总结文章:**[双非学生的秋招之路总结(已拿抖音研发岗SP)](https://mp.weixin.qq.com/s/AYe3tnuOmqR4jdDndDGW-Q)**

我的秋招求职笔记:**[阿秀的校招求职笔记,适合三年以内的社招党以及校招同学](https://interviewguide.cn/#/)** [**推荐使用网站学习**](https://interviewguide.cn/#/)

我的学习路线:**[适合有基础的科班选手的C++学习路线](http://mp.weixin.qq.com/s?__biz=Mzg2MDU0ODM3MA==&mid=2247483953&idx=1&sn=a0a6b338185bfee8e3538bdfbf58e55c&chksm=ce25fe4cf952775a519c82f0f6e208f5762c97ed11511670ebec6c21cacd575af74e49397969&scene=21#wechat_redirect) [小白求职版学习路线](https://mp.weixin.qq.com/s/3pcENm2--dVWksNjvtCTcQ)**

我的简历准备情况:[**一份百投百中的计算机校招简历是如何迭代足足26版的?**](https://mp.weixin.qq.com/s/VrTP58lOui3TQzXoRPQPIg)

我的求职面试经验:[**40余场互联网面试浓缩为6000字**](https://mp.weixin.qq.com/s/pRVHwIiKlDGZ0BfZiXZVgA)

**2、秋招成果**

最后顺利拿下**字节跳动SP**、华为、B站、农业银行等六个中大厂的校招offer,最后签约字节,现在是抖音旗下的**后端研发工程师**。

**3、刷题前的思考**

力扣 + 剑指offer上的体量加起来超过2000道!全部刷完基本是不现实的,所以我在刷题过程中并没有注重**数量**,而更多的注重题的**质量**,不会为了刷题而去刷题。

最后选择着重刷**[LeetCode HOT 100](#LeetCodeHOT)** + **[剑指offer](#sword)** + **[常规力扣题](#LeetCodeRegular)**,其中常规题选择按照下面这**14**个类别刷题,每个标签下又分为**easy、medium、hard**三个等级~

一共刷了将近**600+**,后来二刷、三刷过后又筛掉了一些质量不好的,最后只剩下本仓库内的经典必刷算法题了。

每道题的解法后都有**该题超越其余解法的百分比情况**(比如执行耗时beat 99.51% 内存耗时beat65.57%等)

更多的则是自己在刷题工程中的个人笔记和想法以及需要注意的地方,欢迎fork & star。

> 上班狗一枚,闲余时间慢慢整理自己的笔记,有些算法题暂时没链接到以前的笔记上,还需要慢慢check,整理速度较慢,见谅~


loading

# 1、力扣常规题

## 01x01、数组

### [easy](标签/01-数组/easy.md)

- [414. 第三大的数](标签/01-数组/easy.md#第三大的数) 很不错的题目
- [一刷](标签/01-数组/easy.md#第一版第三大的数) 执行耗时beat 99.23% 内存耗时beat 67.43%
- [581. 最短无序连续子数组](标签/01-数组/easy.md#最短无序连续子数组) 很经典的题目,very nice
- [一刷](标签/01-数组/easy.md#第一版最短无序连续子数组) 执行耗时beat 98.68% 内存耗时beat 85.61%
- [二刷 ](标签/01-数组/easy.md#第二版最短无序连续子数组)执行耗时beat 99.21% 内存耗时beat 94.96%
- [三刷](标签/01-数组/easy.md#第三版最短无序连续子数组) 执行耗时beat 99.19% 内存耗时beat 97.12%
- [605. 种花问题](标签/01-数组/easy.md#种花问题) 也是很不错的题目
- [一刷](标签/01-数组/easy.md#第一版种花问题) 执行耗时beat 90.79% 内存耗时beat 80.32%
- [二刷 ](标签/01-数组/easy.md#第二版种花问题)执行耗时beat 80.79% 内存耗时beat 93.09%
- [628. 三个数的最大乘积](标签/01-数组/easy.md#三个数的最大乘积)
- [一刷](标签/01-数组/easy.md#第一版三个数的最大乘积) 执行耗时beat 95.20% 内存耗时beat 86.46%

[更多....](标签/01-数组/easy.md)

### [medium](标签/01-数组/medium.md)

- [11.盛最多水的容器](标签/01-数组/medium.md#盛最多水的容器) 很经典的题目,very nice

- [一刷](标签/01-数组/easy.md#第一版最短无序连续子数组) 执行耗时beat 99.51% 内存耗时beat65.57%

- [二刷 ](标签/01-数组/easy.md#第二版最短无序连续子数组)执行耗时beat 97.32% 内存耗时beat 74.86%

- [1497. 检查数组对是否可以被 k 整除](标签/01-数组/medium.md#检查数组对是否可以被)
- [一刷](标签/01-数组/easy.md#标签/01-数组/medium.md#检查数组对是否可以被) 执行耗时beat 84.21% 内存耗时beat100.00%

[更多....](标签/01-数组/medium.md)

### [hard](标签/01-数组/hard.md)

[更多....](标签/01-数组/hard.md)

## 01x02、字符串

### [easy](标签/02-字符串/easy.md)

- [13. 罗马数字转整数](标签/02-字符串/easy.md#罗马数字转整数)
- [一刷](标签/01-数组/easy.md#第一版罗马数字转整数) 执行耗时beat 95.95% 内存耗时beat 83.63%
- [67. 二进制求和](标签/02-字符串/easy.md#二进制求和)
- [一刷](标签/02-字符串/easy.md#第一版二进制求和) 执行耗时beat 88.84% 内存耗时beat 45.19%
- [434. 字符串中的单词数](标签/01-字符串/easy.md#字符串中的单词数)
- [一刷](标签/02-字符串/easy.md#第一版字符串中的单词数) 执行耗时beat 90.79% 内存耗时beat 80.32%
- [二刷 ](标签/02-字符串/easy.md#第二版字符串中的单词数)执行耗时beat 65.68% 内存耗时beat 33.50%
- [680. 验证回文字符串Ⅱ](标签/02-字符串/easy.md#验证回文字符串Ⅱ)
- [一刷](标签/02-字符串/easy.md#第一版验证回文字符串)
- [二刷](标签/02-字符串/easy.md#第二版验证回文字符) 执行耗时beat 74.60% 内存耗时beat 89.60%

[更多....](标签/02-字符串/easy.md)

### [medium](标签/02-字符串/medium.md)

[更多....](标签/02-字符串/medium.md)

### [hard](标签/02-字符串/hard.md)

[更多....](标签/02-字符串/hard.md)

## 01x03、链表

### [easy](标签/03-链表/easy.md)

[更多....](标签/03-链表/easy.md)

### [medium](标签/03-链表/medium.md)

更多....

### [hard](标签/03-链表/hard.md)

更多....

## 01x04、数学

### [easy](标签/04-数学/easy.md)

更多....

### [medium](标签/04-数学/medium.md)

更多....

### [hard](标签/04-数学/hard.md)

更多....

## 01x05、哈希表

### [easy](标签/05-哈希表/easy.md)

更多....

### [medium](标签/05-哈希表/medium.md)

更多....

### [hard](标签/05-哈希表/hard.md)

更多....

## 01x06、查找

### [easy](标签/06-二分查找/easy.md)

### [medium](标签/06-二分查找/medium.md)

### [hard](标签/06-二分查找/hard.md)

## 01x07、栈

### [easy](标签/07-栈/easy.md)

### [medium](标签/07-栈/medium.md)

### [hard](标签/07-栈/hard.md)

## 01x08、双指针

### [easy](标签/08-双指针/easy.md)

### [medium](标签/08-双指针/medium.md)

### [hard](标签/08-双指针/hard.md)

## 01x09-贪心算法

### [easy](标签/09-贪心算法/easy.md)

### [medium](标签/09-贪心算法/medium.md)

### [hard](标签/09-贪心算法/hard.md)

## 01x10、回溯算法

### [easy](标签/10-回溯算法/easy.md)

更多....

### [medium](标签/10-回溯算法/medium.md)

更多....

### [hard](标签/10-回溯算法/hard.md)

更多....

## 01x11、动态规划

### [easy](标签/11-动态规划/easy.md)

### [medium](标签/11-动态规划/medium.md)

### [hard](标签/11-动态规划/hard.md)

## 01x12、广度优先搜索(BFS)

### [easy](标签/12-BFS/easy.md)

更多....

### [medium](标签/12-BFS/medium.md)

更多....

### [hard](标签/12-BFS/hard.md)

更多....

## 01x13、深度优先搜索(DFS)

### [easy](标签/13-DFS/easy.md)

更多....

### [medium](标签/13-DFS/medium.md)

更多....

### [hard](标签/13-DFS/hard.md)

更多....

## 01x14、树

### [easy](标签/14-树/easy.md)

更多....

### [medium](标签/14-树/medium.md)

更多....

### [hard](标签/14-树/hard.md)

更多....

# 2、力扣HOT 100

## 1、两数之和 已做

## [2、 两数相加](https://leetcode-cn.com/problems/add-two-numbers/) 不错的题目

## 3、无重复字符的最长子串 已做

## [4. 寻找两个正序数组的中位数](https://leetcode-cn.com/problems/median-of-two-sorted-arrays/) 不会

## [5. 最长回文子串](https://leetcode-cn.com/problems/longest-palindromic-substring/) 已做

## [面试题46. 把数字翻译成字符串](https://leetcode-cn.com/problems/ba-shu-zi-fan-yi-cheng-zi-fu-chuan-lcof/)

## [10. 正则表达式匹配](https://leetcode-cn.com/problems/regular-expression-matching/) 已做

## [11. 盛最多水的容器](https://leetcode-cn.com/problems/container-with-most-water/) 已做

## [15. 三数之和](https://leetcode-cn.com/problems/3sum/)

## [17. 电话号码的字母组合](https://leetcode-cn.com/problems/letter-combinations-of-a-phone-number/) 已做

## [18. 四数之和](https://leetcode-cn.com/problems/4sum/)

## [19. 删除链表的倒数第N个节点](https://leetcode-cn.com/problems/remove-nth-node-from-end-of-list/)

## [21. 合并两个有序链表](https://leetcode-cn.com/problems/merge-two-sorted-lists/) 好好看看内存不会泄露的版本

## [22. 括号生成](https://leetcode-cn.com/problems/generate-parentheses/)

## [23. 合并K个排序链表](https://leetcode-cn.com/problems/merge-k-sorted-lists/)

## [31. 下一个排列](https://leetcode-cn.com/problems/next-permutation/) 好题

## [33. 搜索旋转排序数组](https://leetcode-cn.com/problems/search-in-rotated-sorted-array/) 挺好的题目

## [39. 组合总和](https://leetcode-cn.com/problems/combination-sum/)

## [42. 接雨水](https://leetcode-cn.com/problems/trapping-rain-water/)

## [48. 旋转图像](https://leetcode-cn.com/problems/rotate-image/)

## [49. 字母异位词分组](https://leetcode-cn.com/problems/group-anagrams/)

## [55. 跳跃游戏](https://leetcode-cn.com/problems/jump-game/)

## [76. 最小覆盖子串](https://leetcode-cn.com/problems/minimum-window-substring/) 逻辑有点复杂

## [79. 单词搜索](https://leetcode-cn.com/problems/word-search/) 好题

## [84. 柱状图中最大的矩形](https://leetcode-cn.com/problems/largest-rectangle-in-histogram/)

## [85. 最大矩形](https://leetcode-cn.com/problems/maximal-rectangle/)

## [93. 复原IP地址](https://leetcode-cn.com/problems/restore-ip-addresses/) 这回溯太难了

## [96. 不同的二叉搜索树](https://leetcode-cn.com/problems/unique-binary-search-trees/) 不会,没思路

## [101. 对称二叉树](https://leetcode-cn.com/problems/symmetric-tree/) 牛客上也有

## [98. 验证二叉搜索树](https://leetcode-cn.com/problems/validate-binary-search-tree/)

## [102. 二叉树的层序遍历](https://leetcode-cn.com/problems/binary-tree-level-order-traversal/)

## [114. 二叉树展开为链表](https://leetcode-cn.com/problems/flatten-binary-tree-to-linked-list/)

## [105. 从前序与中序遍历序列构造二叉树](https://leetcode-cn.com/problems/construct-binary-tree-from-preorder-and-inorder-traversal/) 其实就是牛客上的重建二叉树

## [124. 二叉树中的最大路径和](https://leetcode-cn.com/problems/binary-tree-maximum-path-sum/)

## [128. 最长连续序列](https://leetcode-cn.com/problems/longest-consecutive-sequence/)

## [141. 环形链表](https://leetcode-cn.com/problems/linked-list-cycle/)

## [142. 环形链表 II](https://leetcode-cn.com/problems/linked-list-cycle-ii/)

## [143. 重排链表](https://leetcode-cn.com/problems/reorder-list/) 超级好题

## [146. LRU缓存机制](https://leetcode-cn.com/problems/lru-cache/) 好题

## [148. 排序链表](https://leetcode-cn.com/problems/sort-list/) 很好的题,这题真的超级棒

## [160. 相交链表](https://leetcode-cn.com/problems/intersection-of-two-linked-lists/)

## [169. 多数元素](https://leetcode-cn.com/problems/majority-element/)

## [200. 岛屿数量](https://leetcode-cn.com/problems/number-of-islands/)

## [面试题 16.19. 水域大小](https://leetcode-cn.com/problems/pond-sizes-lcci/)

## [207. 课程表](https://leetcode-cn.com/problems/course-schedule/) 好题,看完没有头绪

## [208. 实现 Trie (前缀树)](https://leetcode-cn.com/problems/implement-trie-prefix-tree/) 又是一道好题

## [226. 翻转二叉树](https://leetcode-cn.com/problems/invert-binary-tree/)

## [229. 求众数 II](https://leetcode-cn.com/problems/majority-element-ii/)

## [234. 回文链表](https://leetcode-cn.com/problems/palindrome-linked-list/) 很好的题目 ,看一下二刷2-2的写法,头插法很棒

## [236. 二叉树的最近公共祖先](https://leetcode-cn.com/problems/lowest-common-ancestor-of-a-binary-tree/) 好题

## [238. 除自身以外数组的乘积](https://leetcode-cn.com/problems/product-of-array-except-self/)

## [239. 滑动窗口最大值](https://leetcode-cn.com/problems/sliding-window-maximum/) 挺好的题

## [448. 找到所有数组中消失的数字](https://leetcode-cn.com/problems/find-all-numbers-disappeared-in-an-array/)

## [538. 把二叉搜索树转换为累加树](https://leetcode-cn.com/problems/convert-bst-to-greater-tree/)

## [617. 合并二叉树](https://leetcode-cn.com/problems/merge-two-binary-trees/)

## [1353. 最多可以参加的会议数目](https://leetcode-cn.com/problems/maximum-number-of-events-that-can-be-attended/)

## [1498. 满足条件的子序列数目](https://leetcode-cn.com/problems/number-of-subsequences-that-satisfy-the-given-sum-condition/) 很好的题目

# 3、剑指offer

## [1、二维数组中的查找](https://www.nowcoder.com/practice/abc3fe2ce8e146608e868a70efebf62e?tpId=13&&tqId=11154&rp=1&ru=/ta/coding-interviews&qru=/ta/coding-interviews/question-ranking)

## [2、替换空格](https://www.nowcoder.com/practice/4060ac7e3e404ad1a894ef3e17650423?tpId=13&&tqId=11155&rp=1&ru=/ta/coding-interviews&qru=/ta/coding-interviews/question-ranking)

## [3、从尾到头打印链表](https://www.nowcoder.com/practice/d0267f7f55b3412ba93bd35cfa8e8035?tpId=13&&tqId=11156&rp=1&ru=/ta/coding-interviews&qru=/ta/coding-interviews/question-ranking)

## [4、重建二叉树](https://www.nowcoder.com/practice/8a19cbe657394eeaac2f6ea9b0f6fcf6?tpId=13&&tqId=11157&rp=1&ru=/ta/coding-interviews&qru=/ta/coding-interviews/question-ranking) (给出前序中序,重建二叉树) 好题 绝对的好题

## 5、 [用两个栈来实现一个队列](https://www.nowcoder.com/practice/54275ddae22f475981afa2244dd448c6?tpId=13&&tqId=11158&rp=1&ru=/ta/coding-interviews&qru=/ta/coding-interviews/question-ranking) 过

## [6、旋转数组](https://www.nowcoder.com/practice/9f3231a991af4f55b95579b44b7a01ba?tpId=13&&tqId=11159&rp=1&ru=/ta/coding-interviews&qru=/ta/coding-interviews/question-ranking)

## [7、斐波那契数列](https://www.nowcoder.com/practice/c6c7742f5ba7442aada113136ddea0c3?tpId=13&&tqId=11160&rp=1&ru=/ta/coding-interviews&qru=/ta/coding-interviews/question-ranking) easy不需再刷

## [8、 跳台阶](https://www.nowcoder.com/practice/8c82a5b80378478f9484d87d1c5f12a4?tpId=13&&tqId=11161&rp=1&ru=/ta/coding-interviews&qru=/ta/coding-interviews/question-ranking) 过

## [9、变态跳台阶](https://www.nowcoder.com/practice/22243d016f6b47f2a6928b4313c85387?tpId=13&&tqId=11162&rp=1&ru=/ta/coding-interviews&qru=/ta/coding-interviews/question-ranking) 过,豁然开朗

## [10、矩阵覆盖](https://www.nowcoder.com/practice/72a5a919508a4251859fb2cfb987a0e6?tpId=13&&tqId=11163&rp=1&ru=/ta/coding-interviews&qru=/ta/coding-interviews/question-ranking) 可以再看一下

## [11、二进制中1的个数](https://www.nowcoder.com/practice/8ee967e43c2c4ec193b040ea7fbb10b8?tpId=13&&tqId=11164&rp=1&ru=/ta/coding-interviews&qru=/ta/coding-interviews/question-ranking) 很好的题目

## [12、数值的整数次方](https://www.nowcoder.com/practice/1a834e5e3e1a4b7ba251417554e07c00?tpId=13&&tqId=11165&rp=1&ru=/ta/coding-interviews&qru=/ta/coding-interviews/question-ranking) 快速幂很好

## [13、调整数组顺序使奇数位于偶数前面](https://www.nowcoder.com/practice/beb5aa231adc45b2a5dcc5b62c93f593?tpId=13&&tqId=11166&rp=1&ru=/ta/coding-interviews&qru=/ta/coding-interviews/question-ranking) 值得再看一遍

## [14、 链表中倒数第k个结点](https://www.nowcoder.com/practice/529d3ae5a407492994ad2a246518148a?tpId=13&&tqId=11167&rp=1&ru=/ta/coding-interviews&qru=/ta/coding-interviews/question-ranking) 过,可以不再刷了

## [15、反转链表](https://www.nowcoder.com/practice/75e878df47f24fdc9dc3e400ec6058ca?tpId=13&&tqId=11168&rp=1&ru=/ta/coding-interviews&qru=/ta/coding-interviews/question-ranking)

## [16、合并两个有序链表](https://www.nowcoder.com/practice/d8b6b4358f774294a89de2a6ac4d9337?tpId=13&&tqId=11169&rp=1&ru=/ta/coding-interviews&qru=/ta/coding-interviews/question-ranking) 过,可以不再刷了

## [17、树的子结构](https://www.nowcoder.com/practice/6e196c44c7004d15b1610b9afca8bd88?tpId=13&&tqId=11170&rp=1&ru=/ta/coding-interviews&qru=/ta/coding-interviews/question-ranking) 值得再看一遍

## [18、二叉树的镜像](https://www.nowcoder.com/practice/564f4c26aa584921bc75623e48ca3011?tpId=13&&tqId=11171&rp=1&ru=/ta/coding-interviews&qru=/ta/coding-interviews/question-ranking) 可以再过一遍

## [19、顺时针打印矩阵](https://www.nowcoder.com/practice/9b4c81a02cd34f76be2659fa0d54342a?tpId=13&&tqId=11172&rp=1&ru=/ta/coding-interviews&qru=/ta/coding-interviews/question-ranking) 好题,值得再做一遍

## [20、包含min函数的栈](https://www.nowcoder.com/practice/4c776177d2c04c2494f2555c9fcc1e49?tpId=13&&tqId=11173&rp=1&ru=/ta/coding-interviews&qru=/ta/coding-interviews/question-ranking) 过

## [21、栈的压入弹出序列](https://www.nowcoder.com/practice/d77d11405cc7470d82554cb392585106?tpId=13&&tqId=11174&rp=1&ru=/ta/coding-interviews&qru=/ta/coding-interviews/question-ranking) 很好的题目

## [22、从上往下打印二叉树](https://www.nowcoder.com/practice/7fe2212963db4790b57431d9ed259701?tpId=13&&tqId=11175&rp=1&ru=/ta/coding-interviews&qru=/ta/coding-interviews/question-ranking) 过,经典题目

## [23、二叉搜索树的后序遍历序列](https://www.nowcoder.com/practice/a861533d45854474ac791d90e447bafd?tpId=13&&tqId=11176&rp=1&ru=/ta/coding-interviews&qru=/ta/coding-interviews/question-ranking) 好题,值得再看一遍

## [24、二叉树中和为某一值的路径](https://www.nowcoder.com/practice/b736e784e3e34731af99065031301bca?tpId=13&&tqId=11177&rp=1&ru=/ta/coding-interviews&qru=/ta/coding-interviews/question-ranking) 好难,哭了,值得再刷

## [25、复杂链表的复制](https://www.nowcoder.com/practice/f836b2c43afc4b35ad6adc41ec941dba?tpId=13&&tqId=11178&rp=1&ru=/ta/coding-interviews&qru=/ta/coding-interviews/question-ranking) 好题,是好题不错

## [26、二叉搜索树与双向链表](https://www.nowcoder.com/practice/947f6eb80d944a84850b0538bf0ec3a5?tpId=13&&tqId=11179&rp=1&ru=/ta/coding-interviews&qru=/ta/coding-interviews/question-ranking) 好题,值得再看一遍

## [27、字符串的排列](https://www.nowcoder.com/practice/fe6b651b66ae47d7acce78ffdd9a96c7?tpId=13&&tqId=11180&rp=1&ru=/ta/coding-interviews&qru=/ta/coding-interviews/question-ranking) 经典题目,超级经典

## [28、数组中出现次数超过一半的数字](https://www.nowcoder.com/practice/e8a1b01a2df14cb2b228b30ee6a92163?tpId=13&&tqId=11181&rp=1&ru=/ta/coding-interviews&qru=/ta/coding-interviews/question-ranking) 可以再做一遍

## [29、最小的K个数](https://www.nowcoder.com/practice/6a296eb82cf844ca8539b57c23e6e9bf?tpId=13&&tqId=11182&rp=1&ru=/ta/coding-interviews&qru=/ta/coding-interviews/question-ranking) 应该记住大顶堆和小顶堆的区别与联系,并不难

## [30、连续子数组的最大和](https://www.nowcoder.com/practice/459bd355da1549fa8a49e350bf3df484?tpId=13&&tqId=11183&rp=1&ru=/ta/coding-interviews&qru=/ta/coding-interviews/question-ranking) 过

## [31、整数中1出现的次数( 从1 到 n 中1出现的次数 )](https://www.nowcoder.com/practice/bd7f978302044eee894445e244c7eee6?tpId=13&&tqId=11184&rp=1&ru=/ta/coding-interviews&qru=/ta/coding-interviews/question-ranking) 好题,需要好好理解

## [32、把数组排成最小的数](https://www.nowcoder.com/practice/8fecd3f8ba334add803bf2a06af1b993?tpId=13&&tqId=11185&rp=1&ru=/ta/coding-interviews&qru=/ta/coding-interviews/question-ranking) 很好的一道题

## [33、第N个丑数](https://www.nowcoder.com/practice/6aa9e04fc3794f68acf8778237ba065b?tpId=13&&tqId=11186&rp=1&ru=/ta/coding-interviews&qru=/ta/coding-interviews/question-ranking) 好题

## [34、第一个只出现一次的字符](https://www.nowcoder.com/practice/1c82e8cf713b4bbeb2a5b31cf5b0417c?tpId=13&&tqId=11187&rp=1&ru=/ta/coding-interviews&qru=/ta/coding-interviews/question-ranking) 挺好的题目

## [35、数组中的逆排序](https://www.nowcoder.com/practice/96bd6684e04a44eb80e6a68efc0ec6c5?tpId=13&&tqId=11188&rp=1&ru=/ta/coding-interviews&qru=/ta/coding-interviews/question-ranking) 很好的题目,建议再刷

## [36、返回两个链表中的第一个公共节点](https://www.nowcoder.com/practice/6ab1d9a29e88450685099d45c9e31e46?tpId=13&&tqId=11189&rp=1&ru=/ta/coding-interviews&qru=/ta/coding-interviews/question-ranking) 可以二刷

## [37、 统计一个数字在排序数组中出现的次数。](https://www.nowcoder.com/practice/70610bf967994b22bb1c26f9ae901fa2?tpId=13&&tqId=11190&rp=1&ru=/ta/coding-interviews&qru=/ta/coding-interviews/question-ranking) 还可以

## [38、二叉树的深度](https://www.nowcoder.com/practice/435fb86331474282a3499955f0a41e8b?tpId=13&&tqId=11191&rp=1&ru=/ta/coding-interviews&qru=/ta/coding-interviews/question-ranking) 过

## [39、平衡二叉树](https://www.nowcoder.com/practice/8b3b95850edb4115918ecebdf1b4d222?tpId=13&&tqId=11192&rp=1&ru=/ta/coding-interviews&qru=/ta/coding-interviews/question-ranking) 再刷

## [40、数组中只出现一次的数字](https://www.nowcoder.com/practice/e02fdb54d7524710a7d664d082bb7811?tpId=13&&tqId=11193&rp=1&ru=/ta/coding-interviews&qru=/ta/coding-interviews/question-ranking) 再刷

## [41、和为S的连续整数序列](https://www.nowcoder.com/practice/c451a3fd84b64cb19485dad758a55ebe?tpId=13&&tqId=11194&rp=1&ru=/ta/coding-interviews&qru=/ta/coding-interviews/question-ranking) 再刷

## [42、和为S的两个数字](https://www.nowcoder.com/practice/390da4f7a00f44bea7c2f3d19491311b?tpId=13&&tqId=11195&rp=1&ru=/ta/coding-interviews&qru=/ta/coding-interviews/question-ranking) 可以再看看吧

## [43、左旋转字符串](https://www.nowcoder.com/practice/12d959b108cb42b1ab72cef4d36af5ec?tpId=13&&tqId=11196&rp=1&ru=/ta/coding-interviews&qru=/ta/coding-interviews/question-ranking) 过

## [44、反转单词序列](https://www.nowcoder.com/practice/3194a4f4cf814f63919d0790578d51f3?tpId=13&&tqId=11197&rp=1&ru=/ta/coding-interviews&qru=/ta/coding-interviews/question-ranking) 过

## [45、扑克牌顺子](https://www.nowcoder.com/practice/762836f4d43d43ca9deb273b3de8e1f4?tpId=13&&tqId=11198&rp=1&ru=/ta/coding-interviews&qru=/ta/coding-interviews/question-ranking) 过

## [46、孩子们的游戏(圆圈中最后剩下的数)](https://www.nowcoder.com/practice/f78a359491e64a50bce2d89cff857eb6?tpId=13&&tqId=11199&rp=1&ru=/ta/coding-interviews&qru=/ta/coding-interviews/question-ranking) 二刷的方法不错

## [47、求1+2+3+...+N](https://www.nowcoder.com/practice/7a0da8fc483247ff8800059e12d7caf1?tpId=13&&tqId=11200&rp=1&ru=/ta/coding-interviews&qru=/ta/coding-interviews/question-ranking) 再刷

## [48、求两个数相加](https://www.nowcoder.com/practice/59ac416b4b944300b617d4f7f111b215?tpId=13&&tqId=11201&rp=1&ru=/ta/coding-interviews&qru=/ta/coding-interviews/question-ranking) 再刷

## [49、字符串转化为整数](https://www.nowcoder.com/practice/1277c681251b4372bdef344468e4f26e?tpId=13&&tqId=11202&rp=1&ru=/ta/coding-interviews&qru=/ta/coding-interviews/question-ranking) 可以再刷一次

## [50、数组中重复的数字](https://www.nowcoder.com/practice/623a5ac0ea5b4e5f95552655361ae0a8?tpId=13&&tqId=11203&rp=1&ru=/ta/coding-interviews&qru=/ta/coding-interviews/question-ranking) 再刷

## [51、构建乘积数组](https://www.nowcoder.com/practice/94a4d381a68b47b7a8bed86f2975db46?tpId=13&&tqId=11204&rp=1&ru=/ta/coding-interviews&qru=/ta/coding-interviews/question-ranking) 可以再刷一遍

## [52.正则表达式匹配](https://www.nowcoder.com/practice/45327ae22b7b413ea21df13ee7d6429c?tpId=13&&tqId=11205&rp=1&ru=/ta/coding-interviews&qru=/ta/coding-interviews/question-ranking) 很经典的题目,应该是很难的题目

## [53、表示数值的字符串](https://www.nowcoder.com/practice/6f8c901d091949a5837e24bb82a731f2?tpId=13&&tqId=11206&rp=1&ru=/ta/coding-interviews&qru=/ta/coding-interviews/question-ranking) 好题,可以再刷一遍

## [54、字符流中第一个不重复的字符](https://www.nowcoder.com/practice/00de97733b8e4f97a3fb5c680ee10720?tpId=13&&tqId=11207&rp=1&ru=/ta/coding-interviews&qru=/ta/coding-interviews/question-ranking)

## [55、链表中环的入口结点](https://www.nowcoder.com/practice/253d2c59ec3e4bc68da16833f79a38e4?tpId=13&&tqId=11208&rp=1&ru=/ta/coding-interviews&qru=/ta/coding-interviews/question-ranking)

## [56、删除链表中的重复结点](https://www.nowcoder.com/practice/fc533c45b73a41b0b44ccba763f866ef?tpId=13&&tqId=11209&rp=1&ru=/ta/coding-interviews&qru=/ta/coding-interviews/question-ranking),不保留重复点 很好的题目

## [57、二叉树的下一个结点](https://www.nowcoder.com/practice/9023a0c988684a53960365b889ceaf5e?tpId=13&&tqId=11210&rp=1&ru=/ta/coding-interviews&qru=/ta/coding-interviews/question-ranking) 建议再刷

## [58、对称的二叉树 ](https://www.nowcoder.com/practice/ff05d44dfdb04e1d83bdbdab320efbcb?tpId=13&&tqId=11211&rp=1&ru=/ta/coding-interviews&qru=/ta/coding-interviews/question-ranking) 可以再刷一遍

## [59、按之字形顺序打印二叉树](https://www.nowcoder.com/practice/91b69814117f4e8097390d107d2efbe0?tpId=13&&tqId=11212&rp=1&ru=/ta/coding-interviews&qru=/ta/coding-interviews/question-ranking) 挺好的题目

## [60、把二叉树打印成多行](https://www.nowcoder.com/practice/445c44d982d04483b04a54f298796288?tpId=13&&tqId=11213&rp=1&ru=/ta/coding-interviews&qru=/ta/coding-interviews/question-ranking) 可以过

## [61、序列化二叉树 ](https://www.nowcoder.com/practice/cf7e25aa97c04cc1a68c8f040e71fb84?tpId=13&&tqId=11214&rp=1&ru=/ta/coding-interviews&qru=/ta/coding-interviews/question-ranking) 有点难,挺经典的

## [62、二叉搜索树的第K个节点](https://www.nowcoder.com/practice/ef068f602dde4d28aab2b210e859150a?tpId=13&&tqId=11215&rp=1&ru=/ta/coding-interviews&qru=/ta/coding-interviews/question-ranking) 过

## [63、数据流中的中位数](https://www.nowcoder.com/practice/9be0172896bd43948f8a32fb954e1be1?tpId=13&&tqId=11216&rp=1&ru=/ta/coding-interviews&qru=/ta/coding-interviews/question-ranking) 值得再看

## [64、滑动窗口的最大值](https://www.nowcoder.com/practice/1624bc35a45c42c0bc17d17fa0cba788?tpId=13&&tqId=11217&rp=1&ru=/ta/coding-interviews&qru=/ta/coding-interviews/question-ranking)

## [65、矩阵中的路径](https://www.nowcoder.com/practice/c61c6999eecb4b8f88a98f66b273a3cc?tpId=13&&tqId=11218&rp=1&ru=/ta/coding-interviews&qru=/ta/coding-interviews/question-ranking) 超级经典的题目

## [66、机器人的运动范围](https://www.nowcoder.com/practice/6e5207314b5241fb83f2329e89fdecc8?tpId=13&&tqId=11219&rp=1&ru=/ta/coding-interviews&qru=/ta/coding-interviews/question-ranking) 十分经典的题目

## [67、剪绳子](https://www.nowcoder.com/practice/57d85990ba5b440ab888fc72b0751bf8?tpId=13&&tqId=33257&rp=1&ru=/ta/coding-interviews&qru=/ta/coding-interviews/question-ranking) 其实就是3和4的个数

## 54-2、剪绳子-2(力扣上的题目)