You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

74 lines
3.8 KiB
Markdown

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

# 即学即练|基础算法思想篇:复习卡 & 算法题特训
你好,我是微扰君。
大年初一,祝你新春快乐!
今天是春节特别策划的第二期。昨天的第一期是关于基础数据结构篇的,如果你错过了可以点[这里](https://time.geekbang.org/column/article/483263)答题&复习。
这4篇文章中的题目都是我精选出来的无论是对知识点的理解还是为了准备面试都是必须要掌握的建议你一定要全部手写练习。如果一遍搞不定你可以点击对应章节的要点卡再复习一下文章多看几遍结合题目反复练习一定会收获很多。
## 基础算法思想篇
今天我们来复习&练习专栏的第二章,**基础算法思想篇**。在这个模块里,我们一起学习了外部排序、二分、搜索、字符串匹配、拓扑排序、哈夫曼树这些内容。
### 必知必会力扣题
* 题目名 846. 一手顺子
题目链接:[https://leetcode-cn.com/problems/hand-of-straights/](https://leetcode-cn.com/problems/hand-of-straights/)
[题解思路](https://leetcode-cn.com/problems/hand-of-straights/solution/wei-rao-li-lun-mo-ni-dui-ha-xi-ji-shu-by-5qhn/)
* 题目名 475. 供暖器
题目链接:[https://leetcode-cn.com/problems/heaters/](https://leetcode-cn.com/problems/heaters/)
[题解思路](https://leetcode-cn.com/problems/heaters/solution/wei-rao-li-lun-pai-xu-shuang-zhi-zhen-ta-lhp6/)
* 题目名 剑指 Offer II 069. 山峰数组的顶部
题目链接:[https://leetcode-cn.com/problems/B1IidL/](https://leetcode-cn.com/problems/B1IidL/)
[题解思路](https://leetcode-cn.com/problems/B1IidL/solution/wei-rao-li-lun-kan-dao-logn-jiu-shi-er-f-csom/)
* 题目名 162. 寻找峰值
题目链接:[https://leetcode-cn.com/problems/find-peak-element/](https://leetcode-cn.com/problems/find-peak-element/)
[题解思路](https://leetcode-cn.com/problems/find-peak-element/solution/wei-rao-li-lun-er-fen-sou-suo-yue-guo-sh-7sk6/)
* 题目名 1044. 最长重复子串
题目链接:[https://leetcode-cn.com/problems/longest-duplicate-substring/](https://leetcode-cn.com/problems/longest-duplicate-substring/)
[题解思路](https://leetcode-cn.com/problems/longest-duplicate-substring/solution/wei-rao-li-lun-rabin-karp-er-fen-sou-suo-3c22/)
* 题目名 851. 喧闹和富有
题目链接:[https://leetcode-cn.com/problems/loud-and-rich/](https://leetcode-cn.com/problems/loud-and-rich/)
[题解思路](https://leetcode-cn.com/problems/loud-and-rich/solution/wei-rao-li-lun-dfsji-yi-hua-sou-suo-ying-xukd/)
### 复习要点卡
点击要点卡,直达你最需要复习的那篇。
[![图片](https://static001.geekbang.org/resource/image/2f/be/2f7dd9yy0e7821a85b92af739b172ebe.jpg?wh=1242x2208)](https://time.geekbang.org/column/article/472750)
[![图片](https://static001.geekbang.org/resource/image/cb/30/cbeb20f595e0bcaf2fe565f19c5a0d30.jpg?wh=1242x2208)](https://time.geekbang.org/column/article/473255)
[![图片](https://static001.geekbang.org/resource/image/01/19/01c531fd691d9cf7f12873dcdc26ab19.jpg?wh=1242x2208)](https://time.geekbang.org/column/article/474363)
[![图片](https://static001.geekbang.org/resource/image/d4/5d/d456ac686e35f51b5yy9dff53f97185d.jpg?wh=1242x2208)](https://time.geekbang.org/column/article/474446)
[![图片](https://static001.geekbang.org/resource/image/a6/f1/a67e460a6f099dacb85ed9fb614c36f1.jpg?wh=1242x2208)](https://time.geekbang.org/column/article/475478)
[![图片](https://static001.geekbang.org/resource/image/1c/e8/1ca8bf14690c306c1c1fea32396906e8.jpg?wh=1242x2208)](https://time.geekbang.org/column/article/476001)
* * *
复习&练习的过程中如果有什么困惑获得了什么收获都欢迎你留言讨论。做完题目之后欢迎你把复习卡和你的LeetCode题解分享给你的朋友。
学习愉快,我们下期见~