# 算法通关手册(LeetCode)
## 项目简介
- **「算法与数据结构」** 基础知识的讲解教程,「LeetCode」800+ 道题目的详细解析。本项目易于理解,没有大跨度的思维跳跃,项目中使用部分图示、例子来帮助理解。
- 本教程先从基础的数据结构和算法开始讲解,再针对不同分类的数据结构和算法,进行具体题目的讲解分析。让读者可以通过「算法基础理论学习」和「编程实战学习」相结合的方式,彻底的掌握算法知识。
- 本教程采用 Python 作为编程语言,要求学习者已有基本 Python 程序设计的知识与经验。
## 项目地址
欢迎右上角 **「Star ⭐️ 」** 和 **「Fork」**,这是对我最大的鼓励和支持。
- GitHub 地址:[https://github.com/itcharge/LeetCode-Py](https://github.com/itcharge/LeetCode-Py)
支持黑暗模式的在线电子书《算法通关手册》。
- 电子书地址:[https://algo.itcharge.cn](https://algo.itcharge.cn)
![](./Assets/Images/algo-book-light.png)
![](./Assets/Images/algo-book-dark.png)
## 关于作者
我是一名 iOS / macOS 的开发程序员,另外也是北航软院的一名非全硕士(在读)。曾在大学期间学习过算法知识,并参加过 3 年的 ACM 比赛, 但水平有限,未能取得理想成绩。但是这 3 年的 ACM 经历,给我最大的收获是锻炼了自己的逻辑思维和解决实际问题的能力,这种能力为我今后的工作、学习打下了坚实的基础。
我从 2021 年 03 月 30 日开始每日在 LeetCode 刷题,到 2022 年 06 月 08 日已经刷了 1000+ 道题目,并且完成了 800+ 道题解。努力向着 1000+、1500+、2000+ 道题解前进。
在公众号 **「程序员充电站」** 里回复 "**算法打卡**",拉你进 LeetCode 算法打卡计划群一起组队打卡。
- 进群暗号:**算法打卡**
- 进群要求:少闲聊、多分享、改备注。
![](./Assets/Images/itcharge-qr-code.png)
## 版权说明
- 本教程采用 [知识署名—非商业性使用—禁止演绎(BY-NC-ND)4.0 协议国际许可协议](https://creativecommons.org/licenses/by-nc-nd/4.0/legalcode.zh-Hans) 进行许可。
- 本教程题解中的所有题目版权均归 [LeetCode](https://leetcode.com/) 和 [力扣中国](https://leetcode.cn/) 所有。
# 内容章节
## 00. 绪论
- [算法与数据结构](./Contents/00.Introduction/01.Data-Structures-Algorithms.md)
- [算法复杂度](./Contents/00.Introduction/02.Algorithm-Complexity.md)
- [LeetCode 入门与攻略](./Contents/00.Introduction/03.LeetCode-Guide.md)
- [LeetCode 题解(字典序排序,700+ 道题解)](./Contents/00.Introduction/04.Solutions-List.md)
- [LeetCode 题解(按分类排序,推荐刷题列表 ★★★)](./Contents/00.Introduction/05.Categories-List.md)
- [LeetCode 面试最常考 100 题(按分类排序)](./Contents/00.Introduction/06.Interview-100-List.md)
- [LeetCode 面试最常考 200 题(按分类排序)](./Contents/00.Introduction/07.Interview-200-List.md)
## 01. 数组
- 数组基础知识
- [数组基础知识](./Contents/01.Array/01.Array-Basic/01.Array-Basic.md)
- [数组基础题目](./Contents/01.Array/01.Array-Basic/02.Array-Basic-List.md)
- 数组排序算法
- [冒泡排序](./Contents/01.Array/02.Array-Sort/01.Array-Bubble-Sort.md)
- [选择排序](./Contents/01.Array/02.Array-Sort/02.Array-Selection-Sort.md)
- [插入排序](./Contents/01.Array/02.Array-Sort/03.Array-Insertion-Sort.md)
- [希尔排序](./Contents/01.Array/02.Array-Sort/04.Array-Shell-Sort.md)
- [归并排序](./Contents/01.Array/02.Array-Sort/05.Array-Merge-Sort.md)
- [快速排序](./Contents/01.Array/02.Array-Sort/06.Array-Quick-Sort.md)
- [堆排序](./Contents/01.Array/02.Array-Sort/07.Array-Heap-Sort.md)
- [计数排序](./Contents/01.Array/02.Array-Sort/08.Array-Counting-Sort.md)
- [桶排序](./Contents/01.Array/02.Array-Sort/09.Array-Bucket-Sort.md)
- [基数排序](./Contents/01.Array/02.Array-Sort/10.Array-Radix-Sort.md)
- [数组排序题目](./Contents/01.Array/02.Array-Sort/11.Array-Sort-List.md)
- 二分查找
- [二分查找知识(一)](./Contents/01.Array/03.Array-Binary-Search/01.Array-Binary-Search-01.md)
- [二分查找知识(二)](./Contents/01.Array/03.Array-Binary-Search/02.Array-Binary-Search-02.md)
- [二分查找题目](./Contents/01.Array/03.Array-Binary-Search/03.Array-Binary-Search-List.md)
- 数组双指针
- [数组双指针知识](./Contents/01.Array/04.Array-Two-Pointers/01.Array-Two-Pointers.md)
- [数组双指针题目](./Contents/01.Array/04.Array-Two-Pointers/02.Array-Two-Pointers-List.md)
- 数组滑动窗口
- [数组滑动窗口知识](./Contents/01.Array/05.Array-Sliding-Window/01.Array-Sliding-Window.md)
- [数组滑动窗口题目](./Contents/01.Array/05.Array-Sliding-Window/02.Array-Sliding-Window-List.md)
## 02. 链表
- 链表基础知识
- [链表基础知识](./Contents/02.Linked-List/01.Linked-List-Basic/01.Linked-List-Basic.md)
- [链表经典题目](./Contents/02.Linked-List/01.Linked-List-Basic/02.Linked-List-Basic-List.md)
- 链表排序
- [链表排序知识](./Contents/02.Linked-List/02.Linked-List-Sort/01.Linked-List-Sort.md)
- [链表排序题目](./Contents/02.Linked-List/02.Linked-List-Sort/02.Linked-List-Sort-List.md)
- 链表双指针
- [链表双指针知识](./Contents/02.Linked-List/03.Linked-List-Two-Pointers/01.Linked-List-Two-Pointers.md)
- [链表双指针题目](./Contents/02.Linked-List/03.Linked-List-Two-Pointers/02.Linked-List-Two-Pointers-List.md)
## 03. 堆栈
- 堆栈基础知识
- [堆栈基础知识](./Contents/03.Stack/01.Stack-Basic/01.Stack-Basic.md)
- [堆栈基础题目](./Contents/03.Stack/01.Stack-Basic/02.Stack-Basic-List.md)
- 单调栈
- [单调栈知识](./Contents/03.Stack/02.Monotone-Stack/01.Monotone-Stack.md)
- [单调栈题目](./Contents/03.Stack/02.Monotone-Stack/02.Monotone-Stack-List.md)
## 04. 队列
- 队列基础知识
- [队列基础知识](./Contents/04.Queue/01.Queue-Basic/01.Queue-Basic.md)
- [队列基础题目](./Contents/04.Queue/01.Queue-Basic/02.Queue-Basic-List.md)
- 优先队列
- [优先队列知识](./Contents/04.Queue/02.Priority-Queue/01.Priority-Queue.md)
- [优先队列题目](./Contents/04.Queue/02.Priority-Queue/02.Priority-Queue-List.md)
## 05. 哈希表
- [哈希表知识](./Contents/05.Hash-Table/01.Hash-Table.md)
- [哈希表题目](./Contents/05.Hash-Table/02.Hash-Table-List.md)
## 06. 字符串
- 字符串基础知识
- [字符串基础知识](./Contents/06.String/01.String-Basic/01.String-Basic.md)
- [字符串经典题目](./Contents/06.String/01.String-Basic/02.String-Basic-List.md)
- 单模式串匹配
- [Brute Force 算法](./Contents/06.String/02.String-Single-Pattern-Matching/01.String-Brute-Force.md)
- [Rabin Karp 算法](./Contents/06.String/02.String-Single-Pattern-Matching/02.String-Rabin-Karp.md)
- [KMP 算法](./Contents/06.String/02.String-Single-Pattern-Matching/03.String-KMP.md)
- [Boyer Moore 算法](./Contents/06.String/02.String-Single-Pattern-Matching/04.String-Boyer-Moore.md)
- [Horspool 算法](./Contents/06.String/02.String-Single-Pattern-Matching/05.String-Horspool.md)
- [Sunday 算法](./Contents/06.String/02.String-Single-Pattern-Matching/06.String-Sunday.md)
- [单模式串匹配题目](./Contents/06.String/02.String-Single-Pattern-Matching/07.String-Single-Pattern-Matching-List.md)
- 多模式串匹配
- [字典树知识](./Contents/06.String/03.String-Multi-Pattern-Matching/01.Trie.md)
- [字典树题目](./Contents/06.String/03.String-Multi-Pattern-Matching/02.Trie-List.md)
- [AC 自动机知识](./Contents/06.String/03.String-Multi-Pattern-Matching/03.AC-Automaton.md)
- [AC 自动机题目](./Contents/06.String/03.String-Multi-Pattern-Matching/04.AC-Automaton-List.md)
- [后缀数组知识](./Contents/06.String/03.String-Mult
没有合适的资源?快使用搜索试试~ 我知道了~
「算法通关手册」:超详细的「算法与数据结构」基础讲解教程,从零基础开始学习算法知识,800+ 道.zip
共1105个文件
md:1029个
py:68个
png:3个
需积分: 5 2 下载量 123 浏览量
2024-01-05
22:23:46
上传
评论
收藏 2.51MB ZIP 举报
温馨提示
「算法通关手册」:超详细的「算法与数据结构」基础讲解教程,从零基础开始学习算法知识,800+ 道「LeetCode 题目」详细解析,200 道「大厂面试热门题目」。
资源推荐
资源详情
资源评论
收起资源包目录
「算法通关手册」:超详细的「算法与数据结构」基础讲解教程,从零基础开始学习算法知识,800+ 道.zip (1105个子文件)
leetcode-problems.csv 1.3MB
.gitignore 2KB
LICENSE 19KB
04.Solutions-List.md 242KB
05.Categories-List.md 193KB
07.Interview-200-List.md 75KB
06.Interview-100-List.md 43KB
01.Union-Find.md 32KB
01.Segment-Tree.md 30KB
01.Linear-DP-01.md 28KB
0912. 排序数组.md 27KB
Categories-List.md 27KB
02.Graph-Structure.md 25KB
01.Linked-List-Sort.md 23KB
01.Backtracking-Algorithm.md 22KB
0148. 排序链表.md 21KB
README-Catalogue-List.md 20KB
04.String-Boyer-Moore.md 20KB
03.LeetCode-Guide.md 20KB
01.Queue-Basic.md 20KB
01.Tree-DP.md 20KB
01.Bit-Operation.md 20KB
05.Knapsack-Problem-05.md 19KB
01.Array-Two-Pointers.md 18KB
01.Priority-Queue.md 17KB
01.Dynamic-Programming-Basic.md 17KB
01.Digit-DP.md 17KB
02.Algorithm-Complexity.md 17KB
0028. 找出字符串中第一个匹配项的下标.md 17KB
README.md 16KB
04.Knapsack-Problem-04.md 16KB
05.Graph-Topological-Sorting.md 16KB
01.Recursive-Algorithm.md 16KB
03.Linear-DP-List.md 16KB
01.State-DP.md 16KB
01.Data-Structures-Algorithms.md 15KB
01.String-Basic.md 15KB
01.Stack-Basic.md 15KB
01.Array-Sliding-Window.md 15KB
01.Interval-DP.md 14KB
01.Linked-List-Basic.md 14KB
01.Knapsack-Problem-01.md 14KB
02.Array-Binary-Search-02.md 14KB
01.Hash-Table.md 14KB
01.Monotone-Stack.md 14KB
02.Binary-Tree-Traverse.md 14KB
01.Trie.md 14KB
0391. 完美矩形.md 14KB
01.Graph-DFS.md 14KB
07.Array-Heap-Sort.md 13KB
01.Linked-List-Two-Pointers.md 13KB
02.Knapsack-Problem-02.md 13KB
index.md 13KB
02.Array-Sliding-Window-List.md 13KB
01.Greedy-Algorithm.md 13KB
1450. 在既定时间做作业的学生人数.md 13KB
0887. 鸡蛋掉落.md 13KB
01.Binary-Tree-Basic.md 13KB
01.Divide-And-Conquer-Algorithm.md 12KB
03.String-KMP.md 12KB
01.Array-Basic.md 12KB
Interview-200-List.md 12KB
02.Linear-DP-02.md 11KB
01.Memoization.md 11KB
03.Array-Binary-Search-List.md 11KB
03.Knapsack-Problem-03.md 11KB
01.Graph-Basic.md 10KB
0673. 最长递增子序列的个数.md 10KB
04.Binary-Tree-Reduction.md 10KB
1109. 航班预订统计.md 10KB
01.Enumeration-Algorithm.md 10KB
03.Graph-BFS.md 10KB
0370. 区间加法.md 10KB
02.Array-Two-Pointers-List.md 10KB
02.Graph-DFS-List.md 10KB
11.Array-Sort-List.md 9KB
0732. 我的日程安排表 III.md 9KB
0729. 我的日程安排表 I.md 9KB
0731. 我的日程安排表 II.md 9KB
02.Hash-Table-List.md 9KB
01.Binary-Search-Tree.md 9KB
0526. 优美的排列.md 8KB
0215. 数组中的第K个最大元素.md 8KB
0078. 子集.md 8KB
1000. 合并石头的最低成本.md 8KB
2276. 统计区间中的整数数目.md 8KB
0310. 最小高度树.md 8KB
02.String-Rabin-Karp.md 8KB
0480. 滑动窗口中位数.md 8KB
06.Array-Quick-Sort.md 8KB
Interview-100-List.md 7KB
0707. 设计链表.md 7KB
1994. 好子集的数目.md 7KB
0307. 区域和检索 - 数组可修改.md 7KB
0873. 最长的斐波那契子序列的长度.md 7KB
0090. 子集 II.md 7KB
01.Counting-DP.md 7KB
0220. 存在重复元素 III.md 7KB
0494. 目标和.md 7KB
0982. 按位与为零的三元组.md 7KB
共 1105 条
- 1
- 2
- 3
- 4
- 5
- 6
- 12
资源评论
张呱呱_
- 粉丝: 970
- 资源: 135
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- IMG_5905.PNG
- Cyclone Version 9.51
- 高性能量化回测工具 hikyuu 2.0.3 python 3.12 windows 安装包
- 省级城乡居民基本养老保险情况数据集(2010-2022年).xlsx
- 舞队填写版.cpp
- 基于BP神经网络的多输入单输出回归预测.zip
- 高性能量化回测工具 hikyuu 2.0.3 python 3.9 windows 安装包
- 省级城镇职工基本养老保险情况2000-2022年.xlsx
- 高性能量化回测工具 hikyuu 2.0.3 python 3.10 windows 安装包
- 算法部署-使用OpenVINO+C#部署PaddleOCR字符识别算法-项目源码-优质项目实战.zip
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功