🌍 针对小白的算法训练 | 包括四部分:①.大厂面经 ②.力扣图解 ③.千本开源电子书 ④.百张技术思维导图(项目花了上百小时,希望可以点 star 支持,🌹感谢~)推荐免费ChatGPT使用网站
## 简介
English version repo and Gitbook is on [english branch](https://github.com/geekxh/hello-algorithm/tree/english)
> ### **小浩算法是一套针对小白的完整的算法训练流程!**
>
>
>
>
>
> 目前共包括以下几个步骤:
> - PART_1_算法基础
> - PART_2_力扣图解
> - PART_3_大厂面试
> - PART_4_CS知识汇总
>
> [目前已支持 PDF 下载](https://www.cxyhub.com/all/programming/7786/)
这也许是东半球最好的算法学习类项目!
> 我自己刷题都是在 lintcode 进行,也会在上面更新题解!下方可以直接进入~
- [www.lintcode.com](https://www.lintcode.com/?utm_source=tf-github-xh2022)
- [另外推荐一套算法课,北大FB双料大佬的,我之前上过,性价比很高](https://www.jiuzhang.com/course/71/?utm_source=tf-github-xh2022)
- 最后,下方扫码可以领取我准备的刷题模板
### 正文
### PART_1_算法基础
主要包括两部分:
- a:数据结构知识框架:为了大家更好的掌握数据结构和算法,我把基础知识整理成了一张思维导图,包括下面这些知识点:
> [开始学习](PART_1_算法基础/README.md)
- b:对常用的数据结构知识进行总结:
* [链表](PART_1_算法基础/2_基础知识/linked-list/README.md)
* [双向链表](PART_1_算法基础/2_基础知识/doubly-linked-list/README.md)
* [队列](PART_1_算法基础/2_基础知识/queue/README.md)
* [栈](PART_1_算法基础/2_基础知识/stack/README.md)
* [哈希表(散列)](PART_1_算法基础/2_基础知识/hash-table/README.md)
* [堆](PART_1_算法基础/2_基础知识/heap/README.md)
* [优先队列](PART_1_算法基础/2_基础知识/priority-queue/README.md)
* [字典树](PART_1_算法基础/2_基础知识/trie/README.md)
* [树](PART_1_算法基础/2_基础知识/tree/README.md)
* [图](PART_1_算法基础/2_基础知识/graph/README.md)
### PART_2_力扣图解
显示更多
> [小浩图解算法题典.PDF【完整版】下载](https://www.cxyhub.com/all/programming/7786/)
- [开始学习](http://www.geekxh.com)
- [阅读指南](http://www.geekxh.com/c99/hello.html)
- 数组
- [01.最长公共前缀(14)](http://www.geekxh.com/1.0.数组系列/002.html)
- [02.买卖股票的最佳时机(122)](http://www.geekxh.com/1.0.数组系列/003.html)
- [03.旋转数组(189)](http://www.geekxh.com/1.0.数组系列/004.html)
- [04.原地删除(27)](http://www.geekxh.com/1.0.数组系列/005.html)
- [05.加一(66)](http://www.geekxh.com/1.0.数组系列/006.html)
- [06.两数之和(1)](http://www.geekxh.com/1.0.数组系列/007.html)
- [07.三数之和(15)](http://www.geekxh.com/1.0.数组系列/008.html)
- [08.Z字形变换(6)](http://www.geekxh.com/1.0.数组系列/009.html)
- 链表
- [01.删除链表倒数第N个节点(19)](http://www.geekxh.com/1.1.链表系列/101.html)
- [02.合并两个有序链表(21)](http://www.geekxh.com/1.1.链表系列/102.html)
- [03.环形链表(141)](http://www.geekxh.com/1.1.链表系列/103.html)
- [04.两数相加(2)](http://www.geekxh.com/1.1.链表系列/104.html)
- 动态规划
- [01.爬楼梯(70)](http://www.geekxh.com/1.2.动态规划系列/201.html)
- [02.最大子序和(53)](http://www.geekxh.com/1.2.动态规划系列/202.html)
- [03.最长上升子序列(300)](http://www.geekxh.com/1.2.动态规划系列/203.html)
- [04.三角形最小路径和(120)](http://www.geekxh.com/1.2.动态规划系列/204.html)
- [05.最小路径和(64)](http://www.geekxh.com/1.2.动态规划系列/205.html)
- [06.打家劫舍(198)](http://www.geekxh.com/1.2.动态规划系列/206.html)
- 字符串
- [01.反转字符串(344)](http://www.geekxh.com/1.3.字符串系列/301.html)
- [02.字符串中的第一个唯一字符(387)](http://www.geekxh.com/1.3.字符串系列/302.html)
- [03.实现 Sunday 匹配](http://www.geekxh.com/1.3.字符串系列/303.html)
- [04.大数打印](http://www.geekxh.com/1.3.字符串系列/304.html)
- [05.验证回文串(125)](http://www.geekxh.com/1.3.字符串系列/305.html)
- [06.KMP 精讲](http://www.geekxh.com/1.3.字符串系列/306.html)
- [07.旋转字符串(796)](http://www.geekxh.com/1.3.字符串系列/307.html)
- [08.最后一个单词的长度(58)](http://www.geekxh.com/1.3.字符串系列/308.html)
- 二叉树
- [01.最大深度与DFS(104)](http://www.geekxh.com/1.4.二叉树系列/401.html)
- [02.层次遍历与BFS(102)](http://www.geekxh.com/1.4.二叉树系列/402.html)
- [03.BST与其验证(98)](http://www.geekxh.com/1.4.二叉树系列/403.html)
- [04.BST 的查找(700)](http://www.geekxh.com/1.4.二叉树系列/404.html)
- [05.BST 的删除(450)](http://www.geekxh.com/1.4.二叉树系列/405.html)
- [06.平衡二叉树(110)](http://www.geekxh.com/1.4.二叉树系列/406.html)
- [07.完全二叉树(222)](http://www.geekxh.com/1.4.二叉树系列/407.html)
- [08.二叉树的剪枝(814)](http://www.geekxh.com/1.4.二叉树系列/408.html)
- 滑动窗口
- [01.滑动窗口最大值(239)](http://www.geekxh.com/1.5.滑动窗口系列/501.html)
- [02.无重复字符的最长子串(3)](http://www.geekxh.com/1.5.滑动窗口系列/502.html)
- [03.找到字符串中所有字母异位词(438)](http://www.geekxh.com/1.5.滑动窗口系列/503.html)
- [04.和为s的连续正数序列](http://www.geekxh.com/1.5.滑动窗口系列/504.html)
- 博弈论
- [01.囚徒困境](http://www.geekxh.com/1.6.博弈论系列/601.html)
- [02.辛普森悖论](http://www.geekxh.com/1.6.博弈论系列/602.html)
- [03.红眼睛和蓝眼睛](http://www.geekxh.com/1.6.博弈论系列/603.html)
- [04.海盗分金币](http://www.geekxh.com/1.6.博弈论系列/604.html)
- [05.智猪博弈](http://www.geekxh.com/1.6.博弈论系列/605.html)
- [06.生男生女的问题](http://www.geekxh.com/1.6.博弈论系列/606.html)
- [07.硬币问题](http://www.geekxh.com/1.6.博弈论系列/607.html)
- [08.画圈圈的问题](http://www.geekxh.com/1.6.博弈论系列/608.html)
- [09.巧克力问题](http://www.geekxh.com/1.6.博弈论系列/609.html)
- [10.大鱼和小鱼的问题](http://www.geekxh.com/1.6.博弈论系列/610.html)
- 位运算
- [01.使用位运算求和](http://www.geekxh.com/1.8.位运算系列/801.html)
- [02.2的幂(231)](http://www.geekxh.com/1.8.位运算系列/802.html)
- [03.返回一个数二进制中1的个数](http://www.geekxh.com/1.8.位运算系列/803.html)
- [04.只出现一次的数字](http://www.geekxh.com/1.8.位运算系列/804.html)
- [05.只出现一次的数字Ⅱ](http://www.geekxh.com/1.8.位运算系列/805.html)
- [06.缺失数字(268)](http://www.geekxh.com/1.8.位运算系列/806.html)
- 二分法
- [01.爱吃香蕉的珂珂(875)](http://www.geekxh.com/1.9.二分法系列/901.html)
- [02.x的平方根(69)](http://www.geekxh.com/1.9.二分法系列/902.html)
- [03.x的平方根(69)](http://www.geekxh.com/1.9.二分法系列/903.html)
- [04.旋转排序数组中的最小值Ⅰ(153)](http://www.geekxh.com/1.9.二分法系列/904.html)
- [05.旋转排序数组中的最小值Ⅱ(154)](http://www.geekxh.com/1.9.二分法系列/905.html)
- [06.供暖器(475)](http://www.geekxh.com/1.9.二分法系列/906.html)
- 其他高频面试题目
- [01.螺旋矩阵(54)](http://www.geekxh.com/1.99.其他补充题目/01.html)
- [02.只有两个键的键盘(650)](http://www.geekxh.com/1.99.其他补充题目/02.html)
- [03.24点游戏(679)](http://www.geekxh.com/1.99.其他补充题目/03.html)
- [04.飞机座位分配概率(1227)](http://www.geekxh.com/1.99.其他补充题目/04.html)
- [05.水分子的产生](http://www.geekxh.com/1.99.其他补充题目/05.html)
- [06.救生艇(881)](http://www.geekxh.com/1.99.其他补充题目/06.html)
- [07.救生艇(881)](http://www.geekxh.com/1.99.其他补充题目/07.html)
- [08.灯泡开关(319)](http://www.geekxh.com/1.99.其他补充题目/08.html)
- [09.三门问题](http://www.geekxh.com/1.99.其他补充题目/09.html)
- [10.猜数字游戏(299)](http://www.geekxh.com/1.99.其他补充题目/10.html)
- [11.LRU缓存机制(146)](http://www.geekxh.com/1.99.其他补充题目/11.html)
- [12.最小的k个数](http://www.geekxh.com/1.99.其他补充题目/12.html)
- [13.不同路径](http://www.geekxh.com/1.99.其他补充题目/13.html)
- [14.不同路径-障碍物](http://www.geekxh.com/1.99.其他补充题目/14.html)
- [15.连续n个数的和](http://www.geekxh.com/1.99.其他补充题目/15.html)
- [16.盛水最多的容器](http://www.geekxh.com/1.99.其他补充题目/16.html)
- [17.扑克牌中的顺子容器](http://www.geekxh.com/1.99.其他补充题目/17.html)
- [18.整数拆分(343)](http://www.geekxh.com/1.99.其他补充题目/18.html)
- [19.移动石子到连续(1033)](http://www.geekxh.com/1.99.其他补充题目/19.html)
- [20.Nim游戏(292)](http://www.geekxh.com/1.99.其他补充题目/20.html)
- [21.寻找两个正序数组的中位数(4)](http://www.geekxh.com/1.99.其他补充题目/21.html)
- [22.第k个最大元素(215)](http://www.geekxh.com/1.99.其他补充题目/22.html)
- [23.镜面反射(858)](http://www.geekxh.com/1.99.其他补充题目/23.html)
- [25.整数转罗马数字(12)](http://www.geekxh.com/1.99.其他补充题目/25.html)
- [26.荷兰国旗问题](http://www.geekxh.com/1.99.其他补充题目/26.html)
- [27.六九问题](http://www.geekxh.com/1.99.其他补充题目/27.html)
- [28.有效的数独](http://www.geekxh.com/1.99.其他补充题目/28.html)
- [29.费米估算](http://www.geekxh.com/1.99.其他补充题目/29.html)
- [30.分发饼干](http://www.geekxh.com/1.99.其他补充题目/30.html)
- [31.生命游戏(289)](http://www.geekxh.com/1.99.其他补充题目/31.html)
- [32.搜索二维矩阵(74)](http://www.geekxh.com/1.99.其他补充题目/32.html)
- [33.子集(78)](http://www.geekxh.com/1.99.其他补充题目/33.html)
- [34.面试中的智力题](http://www.g