Skip to content

Commit 1e74c61

Browse files
committed
docs: update readme
1 parent 0fd5389 commit 1e74c61

File tree

2 files changed

+103
-412
lines changed

2 files changed

+103
-412
lines changed

README.md

Lines changed: 52 additions & 210 deletions
Original file line numberDiff line numberDiff line change
@@ -20,219 +20,61 @@
2020

2121
## 站点
2222

23-
- Gitee Pages: https://doocs.gitee.io/leetcode
24-
- GitHub Pages: https://doocs.github.io/leetcode
23+
- Gitee Pages: https://doocs.gitee.io/leetcode
24+
- GitHub Pages: https://doocs.github.io/leetcode
2525

2626
## 算法全解
2727

28-
- [LeetCode](/solution/README.md)
29-
- [剑指 Offer(第 2 版)](/lcof/README.md)
30-
- [剑指 Offer(专项突击版)](/lcof2/README.md)
31-
- [程序员面试金典(第 6 版)](/lcci/README.md)
32-
33-
## 基础算法通关
34-
35-
### 排序算法
36-
37-
- [冒泡排序](/basic/sorting/BubbleSort/README.md)
38-
- [插入排序](/basic/sorting/InsertionSort/README.md)
39-
- [选择排序](/basic/sorting/SelectionSort/README.md)
40-
- [归并排序(算法模板)](/basic/sorting/MergeSort/README.md)
41-
- [快速排序(算法模板)](/basic/sorting/QuickSort/README.md)
42-
- [希尔排序](/basic/sorting/ShellSort/README.md)
43-
- [堆排序(算法模板)](/basic/sorting/HeapSort/README.md)
44-
45-
### 查找算法
46-
47-
- [二分查找(算法模板)](/basic/searching/BinarySearch/README.md)
48-
49-
## 高频考题
50-
51-
### 数组
52-
53-
- [多数元素](/solution/0100-0199/0169.Majority%20Element/README.md)
54-
- [删除排序数组中的重复项](/solution/0000-0099/0026.Remove%20Duplicates%20from%20Sorted%20Array/README.md)
55-
- [删除排序数组中的重复项 II](/solution/0000-0099/0080.Remove%20Duplicates%20from%20Sorted%20Array%20II/README.md)
56-
- [移除元素](/solution/0000-0099/0027.Remove%20Element/README.md)
57-
- [移动零](/solution/0200-0299/0283.Move%20Zeroes/README.md)
58-
- [数组中重复的数字](/lcof/面试题03.%20数组中重复的数字/README.md)
59-
- [旋转数组](/solution/0100-0199/0189.Rotate%20Array/README.md)
60-
- [螺旋矩阵](/solution/0000-0099/0054.Spiral%20Matrix/README.md)
61-
- [两数之和](/solution/0000-0099/0001.Two%20Sum/README.md)
62-
- [三数之和](/solution/0000-0099/0015.3Sum/README.md)
63-
- [四数之和](/solution/0000-0099/0018.4Sum/README.md)
64-
- [较小的三数之和](/solution/0200-0299/0259.3Sum%20Smaller/README.md)
65-
- [最接近的三数之和](/solution/0000-0099/0016.3Sum%20Closest/README.md)
66-
- [合并两个有序数组](/solution/0000-0099/0088.Merge%20Sorted%20Array/README.md)
67-
- [寻找旋转排序数组中的最小值](/solution/0100-0199/0153.Find%20Minimum%20in%20Rotated%20Sorted%20Array/README.md)
68-
- [寻找旋转排序数组中的最小值 II](/solution/0100-0199/0154.Find%20Minimum%20in%20Rotated%20Sorted%20Array%20II/README.md)
69-
- [除自身以外数组的乘积](/solution/0200-0299/0238.Product%20of%20Array%20Except%20Self/README.md)
70-
71-
### 字符串
72-
73-
- [无重复字符的最长子串](/solution/0000-0099/0003.Longest%20Substring%20Without%20Repeating%20Characters/README.md)
74-
- [最长公共前缀](/solution/0000-0099/0014.Longest%20Common%20Prefix/README.md)
75-
- [反转字符串中的元音字母](/solution/0300-0399/0345.Reverse%20Vowels%20of%20a%20String/README.md)
76-
- [字符串转换整数 (atoi)](/solution/0000-0099/0008.String%20to%20Integer%20%28atoi%29/README.md)
77-
- [赎金信](/solution/0300-0399/0383.Ransom%20Note/README.md)
78-
79-
### 链表
80-
81-
- [两数相加](/solution/0000-0099/0002.Add%20Two%20Numbers/README.md)
82-
- [两数相加 II](/solution/0400-0499/0445.Add%20Two%20Numbers%20II/README.md)
83-
- [从尾到头打印链表](/lcof/面试题06.%20从尾到头打印链表/README.md)
84-
- [删除链表中的节点](/solution/0200-0299/0237.Delete%20Node%20in%20a%20Linked%20List/README.md)
85-
- [删除排序链表中的重复元素](/solution/0000-0099/0083.Remove%20Duplicates%20from%20Sorted%20List/README.md)
86-
- [删除排序链表中的重复元素 II](/solution/0000-0099/0082.Remove%20Duplicates%20from%20Sorted%20List%20II/README.md)
87-
- [移除链表元素](/solution/0200-0299/0203.Remove%20Linked%20List%20Elements/README.md)
88-
- [链表中倒数第 k 个节点](/lcci/02.02.Kth%20Node%20From%20End%20of%20List/README.md)
89-
- [两两交换链表中的节点](/solution/0000-0099/0024.Swap%20Nodes%20in%20Pairs/README.md)
90-
- [合并两个有序链表](/solution/0000-0099/0021.Merge%20Two%20Sorted%20Lists/README.md)
91-
- [合并 K 个排序链表](/solution/0000-0099/0023.Merge%20k%20Sorted%20Lists/README.md)
92-
- [对链表进行插入排序](/solution/0100-0199/0147.Insertion%20Sort%20List/README.md)
93-
- [排序链表](/solution/0100-0199/0148.Sort%20List/README.md)
94-
- [反转链表](/solution/0200-0299/0206.Reverse%20Linked%20List/README.md)
95-
- [反转链表 II](/solution/0000-0099/0092.Reverse%20Linked%20List%20II/README.md)
96-
- [重排链表](/solution/0100-0199/0143.Reorder%20List/README.md)
97-
- [旋转链表](/solution/0000-0099/0061.Rotate%20List/README.md)
98-
- [回文链表](/solution/0200-0299/0234.Palindrome%20Linked%20List/README.md)
99-
- [相交链表](/solution/0100-0199/0160.Intersection%20of%20Two%20Linked%20Lists/README.md)
100-
- [奇偶链表](/solution/0300-0399/0328.Odd%20Even%20Linked%20List/README.md)
101-
- [环形链表](/solution/0100-0199/0141.Linked%20List%20Cycle/README.md)
102-
- [环形链表 II](/solution/0100-0199/0142.Linked%20List%20Cycle%20II/README.md)
103-
- [设计链表](/solution/0700-0799/0707.Design%20Linked%20List/README.md)
104-
105-
### 二叉树
106-
107-
- [二叉树的前序遍历](/solution/0100-0199/0144.Binary%20Tree%20Preorder%20Traversal/README.md)
108-
- [二叉树的后序遍历](/solution/0100-0199/0145.Binary%20Tree%20Postorder%20Traversal/README.md)
109-
- [二叉树的中序遍历](/solution/0000-0099/0094.Binary%20Tree%20Inorder%20Traversal/README.md)
110-
- [对称二叉树](/solution/0100-0199/0101.Symmetric%20Tree/README.md)
111-
- [树的子结构](/lcof/面试题26.%20树的子结构/README.md)
112-
- [翻转二叉树](/solution/0200-0299/0226.Invert%20Binary%20Tree/README.md)
113-
- [二叉树的层次遍历](/solution/0100-0199/0102.Binary%20Tree%20Level%20Order%20Traversal/README.md)
114-
- [二叉树的层次遍历 II](/solution/0100-0199/0107.Binary%20Tree%20Level%20Order%20Traversal%20II/README.md)
115-
- [二叉树的右视图](/solution/0100-0199/0199.Binary%20Tree%20Right%20Side%20View/README.md)
116-
- [二叉树的最大深度](/solution/0100-0199/0104.Maximum%20Depth%20of%20Binary%20Tree/README.md)
117-
- [二叉树的最小深度](/solution/0100-0199/0111.Minimum%20Depth%20of%20Binary%20Tree/README.md)
118-
- [二叉树的所有路径](/solution/0200-0299/0257.Binary%20Tree%20Paths/README.md)
119-
- [路径总和](/solution/0100-0199/0112.Path%20Sum/README.md)
120-
- [路径总和 II](/solution/0100-0199/0113.Path%20Sum%20II/README.md)
121-
- [从前序与中序遍历序列构造二叉树](/solution/0100-0199/0105.Construct%20Binary%20Tree%20from%20Preorder%20and%20Inorder%20Traversal/README.md)
122-
- [从中序与后序遍历序列构造二叉树](/solution/0100-0199/0106.Construct%20Binary%20Tree%20from%20Inorder%20and%20Postorder%20Traversal/README.md)
123-
- [二叉搜索树的后序遍历序列](/lcof/面试题33.%20二叉搜索树的后序遍历序列/README.md)
124-
- [二叉搜索树迭代器](/solution/0100-0199/0173.Binary%20Search%20Tree%20Iterator/README.md)
125-
- [二叉搜索树的最近公共祖先](/solution/0200-0299/0235.Lowest%20Common%20Ancestor%20of%20a%20Binary%20Search%20Tree/README.md)
126-
- [二叉树的最近公共祖先](/solution/0200-0299/0236.Lowest%20Common%20Ancestor%20of%20a%20Binary%20Tree/README.md)
127-
- [将二叉搜索树转换为单链表](/lcci/17.12.BiNode/README.md)
128-
- [将二叉搜索树转化为排序的双向链表](/solution/0400-0499/0426.Convert%20Binary%20Search%20Tree%20to%20Sorted%20Doubly%20Linked%20List/README.md)
129-
- [二叉树的边界](/solution/0500-0599/0545.Boundary%20of%20Binary%20Tree/README.md)
130-
- [填充每个节点的下一个右侧节点指针](/solution/0100-0199/0116.Populating%20Next%20Right%20Pointers%20in%20Each%20Node/README.md)
131-
- [填充每个节点的下一个右侧节点指针 II](/solution/0100-0199/0117.Populating%20Next%20Right%20Pointers%20in%20Each%20Node%20II/README.md)
132-
133-
### 数学
134-
135-
- [整数转罗马数字](/solution/0000-0099/0012.Integer%20to%20Roman/README.md)
136-
- [罗马数字转整数](/solution/0000-0099/0013.Roman%20to%20Integer/README.md)
137-
- [只出现一次的数字](/solution/0100-0199/0136.Single%20Number/README.md)
138-
- [只出现一次的数字 II](/solution/0100-0199/0137.Single%20Number%20II/README.md)
139-
- [只出现一次的数字 III](/solution/0200-0299/0260.Single%20Number%20III/README.md)
140-
- [错误的集合](/solution/0600-0699/0645.Set%20Mismatch/README.md)
141-
- [位 1 的个数](/solution/0100-0199/0191.Number%20of%201%20Bits/README.md)
142-
- [计数质数](/solution/0200-0299/0204.Count%20Primes/README.md)
143-
- [不用加减乘除做加法](/lcof/面试题65.%20不用加减乘除做加法/README.md)
144-
- [丢失的数字](/solution/0200-0299/0268.Missing%20Number/README.md)
145-
146-
### 栈和队列
147-
148-
- [有效的括号](/solution/0000-0099/0020.Valid%20Parentheses/README.md)
149-
- [最小栈](/solution/0100-0199/0155.Min%20Stack/README.md)
150-
- [队列的最大值](/lcof/面试题59%20-%20II.%20队列的最大值/README.md)
151-
- [用栈实现队列](/solution/0200-0299/0232.Implement%20Queue%20using%20Stacks/README.md)
152-
- [用队列实现栈](/solution/0200-0299/0225.Implement%20Stack%20using%20Queues/README.md)
153-
- [逆波兰表达式求值](/solution/0100-0199/0150.Evaluate%20Reverse%20Polish%20Notation/README.md)
154-
- [最近的请求次数](/solution/0900-0999/0933.Number%20of%20Recent%20Calls/README.md)
155-
- [每日温度](/solution/0700-0799/0739.Daily%20Temperatures/README.md)
156-
- [基本计算器 II](/solution/0200-0299/0227.Basic%20Calculator%20II/README.md)
157-
- [下一个更大元素 I](/solution/0400-0499/0496.Next%20Greater%20Element%20I/README.md)
158-
- [下一个更大元素 II](/solution/0500-0599/0503.Next%20Greater%20Element%20II/README.md)
159-
160-
### 动态规划
161-
162-
- [斐波那契数](/solution/0500-0599/0509.Fibonacci%20Number/README.md)
163-
- [第 N 个泰波那契数](/solution/1100-1199/1137.N-th%20Tribonacci%20Number/README.md)
164-
- [爬楼梯](/solution/0000-0099/0070.Climbing%20Stairs/README.md)
165-
- [使用最小花费爬楼梯](/solution/0700-0799/0746.Min%20Cost%20Climbing%20Stairs/README.md)
166-
- [打家劫舍](/solution/0100-0199/0198.House%20Robber/README.md)
167-
- [打家劫舍 II](/solution/0200-0299/0213.House%20Robber%20II/README.md)
168-
- [删除并获得点数](/solution/0700-0799/0740.Delete%20and%20Earn/README.md)
169-
- [跳跃游戏](/solution/0000-0099/0055.Jump%20Game/README.md)
170-
- [跳跃游戏 II](/solution/0000-0099/0045.Jump%20Game%20II/README.md)
171-
- [最大子序和](/solution/0000-0099/0053.Maximum%20Subarray/README.md)
172-
- [环形子数组的最大和](/solution/0900-0999/0918.Maximum%20Sum%20Circular%20Subarray/README.md)
173-
- [乘积最大子序列](/solution/0100-0199/0152.Maximum%20Product%20Subarray/README.md)
174-
- [乘积为正数的最长子数组长度](/solution/1500-1599/1567.Maximum%20Length%20of%20Subarray%20With%20Positive%20Product/README.md)
175-
- [最佳观光组合](/solution/1000-1099/1014.Best%20Sightseeing%20Pair/README.md)
176-
- [买卖股票的最佳时机](/solution/0100-0199/0121.Best%20Time%20to%20Buy%20and%20Sell%20Stock/README.md)
177-
- [买卖股票的最佳时机 II](/solution/0100-0199/0122.Best%20Time%20to%20Buy%20and%20Sell%20Stock%20II/README.md)
178-
- [买卖股票的最佳时机 III](/solution/0100-0199/0123.Best%20Time%20to%20Buy%20and%20Sell%20Stock%20III/README.md)
179-
- [最佳买卖股票时机含冷冻期](/solution/0300-0399/0309.Best%20Time%20to%20Buy%20and%20Sell%20Stock%20with%20Cooldown/README.md)
180-
- [买卖股票的最佳时机含手续费](/solution/0700-0799/0714.Best%20Time%20to%20Buy%20and%20Sell%20Stock%20with%20Transaction%20Fee/README.md)
181-
- [单词拆分](/solution/0100-0199/0139.Word%20Break/README.md)
182-
- [接雨水](/solution/0000-0099/0042.Trapping%20Rain%20Water/README.md)
183-
- [等差数列划分](/solution/0400-0499/0413.Arithmetic%20Slices/README.md)
184-
- [解码方法](/solution/0000-0099/0091.Decode%20Ways/README.md)
185-
- [不同的二叉搜索树](/solution/0000-0099/0096.Unique%20Binary%20Search%20Trees/README.md)
186-
- [丑数 II](/solution/0200-0299/0264.Ugly%20Number%20II/README.md)
187-
- [杨辉三角](/solution/0100-0199/0118.Pascal%27s%20Triangle/README.md)
188-
- [杨辉三角 II](/solution/0100-0199/0119.Pascal%27s%20Triangle%20II/README.md)
189-
- [下降路径最小和](/solution/0900-0999/0931.Minimum%20Falling%20Path%20Sum/README.md)
190-
- [三角形最小路径和](/solution/0100-0199/0120.Triangle/README.md)
191-
- [矩阵区域和](/solution/1300-1399/1314.Matrix%20Block%20Sum/README.md)
192-
- [二维区域和检索 - 矩阵不可变](/solution/0300-0399/0304.Range%20Sum%20Query%202D%20-%20Immutable/README.md)
193-
- [不同路径](/solution/0000-0099/0062.Unique%20Paths/README.md)
194-
- [不同路径 II](/solution/0000-0099/0063.Unique%20Paths%20II/README.md)
195-
- [最小路径和](/solution/0000-0099/0064.Minimum%20Path%20Sum/README.md)
196-
- [最长回文子串](/solution/0000-0099/0005.Longest%20Palindromic%20Substring/README.md)
197-
- [最长回文子序列](.solution/0500-0599/0516.Longest%20Palindromic%20Subsequence/README.md)
198-
- [最长递增子序列](/solution/0300-0399/0300.Longest%20Increasing%20Subsequence/README.md)
199-
- [摆动序列](/solution/0300-0399/0376.Wiggle%20Subsequence/README.md)
200-
- [最长公共子序列](/solution/1100-1199/1143.Longest%20Common%20Subsequence/README.md)
201-
- [编辑距离](/solution/0000-0099/0072.Edit%20Distance/README.md)
202-
- [零钱兑换](/solution/0300-0399/0322.Coin%20Change/README.md)
203-
- [零钱兑换 II](/solution/0500-0599/0518.Coin%20Change%202/README.md)
204-
- [组合总和 Ⅳ](/solution/0300-0399/0377.Combination%20Sum%20IV/README.md)
205-
- [整数拆分](/solution/0300-0399/0343.Integer%20Break/README.md)
206-
- [完全平方数](/solution/0200-0299/0279.Perfect%20Squares/README.md)
207-
- [礼物的最大价值](/lcof/面试题47.%20礼物的最大价值/README.md)
208-
- [俄罗斯套娃信封问题](/solution/0300-0399/0354.Russian%20Doll%20Envelopes/README.md)
209-
210-
### 回溯算法
211-
212-
- [子集](/solution/0000-0099/0078.Subsets/README.md)
213-
- [子集 II](/solution/0000-0099/0090.Subsets%20II/README.md)
214-
215-
### 并查集
216-
217-
- [被围绕的区域](/solution/0100-0199/0130.Surrounded%20Regions/README.md)
218-
- [省份数量](/solution/0500-0599/0547.Number%20of%20Provinces/README.md)
219-
- [冗余连接](/solution/0600-0699/0684.Redundant%20Connection/README.md)
220-
- [可能的二分法](/solution/0800-0899/0886.Possible%20Bipartition/README.md)
221-
222-
### 设计
223-
224-
- [LRU 缓存机制](/solution/0100-0199/0146.Lru%20Cache/README.md)
225-
- [实现 Trie (前缀树)](/solution/0200-0299/0208.Implement%20Trie%20%28Prefix%20Tree%29/README.md)
226-
- [实现 Trie (前缀树) II](/solution/1800-1899/1804.Implement%20Trie%20II%20%28Prefix%20Tree%29/README.md)
227-
- [设计循环队列](/solution/0600-0699/0622.Design%20Circular%20Queue/README.md)
228-
- [设计循环双端队列](/solution/0600-0699/0641.Design%20Circular%20Deque/README.md)
229-
- [设计哈希集合](/solution/0700-0799/0705.Design%20HashSet/README.md)
230-
- [设计哈希映射](/solution/0700-0799/0706.Design%20HashMap/README.md)
231-
232-
## 维护者
233-
234-
- [Yang Libin](https://github.com/yanglbme)
235-
- [Mao Longlong](https://github.com/MaoLongLong)
28+
- [LeetCode](/solution/README.md)
29+
- [剑指 Offer(第 2 版)](/lcof/README.md)
30+
- [剑指 Offer(专项突击版)](/lcof2/README.md)
31+
- [程序员面试金典(第 6 版)](/lcci/README.md)
32+
33+
## 算法提升专题
34+
35+
### 1. 基础算法
36+
37+
- [在排序数组中查找元素的第一个和最后一个位置](/solution/0000-0099/0034.Find%20First%20and%20Last%20Position%20of%20Element%20in%20Sorted%20Array/README.md) - 二分查找
38+
- [准时到达的列车最小时速](/solution/1800-1899/1870.Minimum%20Speed%20to%20Arrive%20on%20Time/README.md) - 二分查找
39+
- [可移除字符的最大数目](/solution/1800-1899/1898.Maximum%20Number%20of%20Removable%20Characters/README.md) - 二分查找
40+
41+
### 2. 搜索
42+
43+
#### 2.1 广度优先搜索(BFS)
44+
45+
- [图像渲染](/solution/0700-0799/0733.Flood%20Fill/README.md)- Flood Fill 算法
46+
- [岛屿数量](/solution/0200-0299/0200.Number%20of%20Islands/README.md) - Flood Fill 算法
47+
- [01 矩阵](/solution/0500-0599/0542.01%20Matrix/README.md) - 多源 BFS
48+
- [地图中的最高点](/solution/1700-1799/1765.Map%20of%20Highest%20Peak/README.md) - 多源 BFS
49+
- [进击的骑士](/solution/1100-1199/1197.Minimum%20Knight%20Moves/README.md) - 最短路模型
50+
- [二进制矩阵中的最短路径](/solution/1000-1099/1091.Shortest%20Path%20in%20Binary%20Matrix/README.md) - 最短路模型
51+
- [迷宫中离入口最近的出口](/solution/1900-1999/1926.Nearest%20Exit%20from%20Entrance%20in%20Maze/README.md) - 最短路模型
52+
- [网格中的最短路径](/solution/1200-1299/1293.Shortest%20Path%20in%20a%20Grid%20with%20Obstacles%20Elimination/README.md) - 最短路模型
53+
- [打开转盘锁](/solution/0700-0799/0752.Open%20the%20Lock/README.md) - 最小步数模型、双向 BFS、A\* 算法
54+
- [单词接龙](/solution/0100-0199/0127.Word%20Ladder/README.md) - 最小步数模型、双向 BFS
55+
- [转化数字的最小运算数](/solution/2000-2099/2059.Minimum%20Operations%20to%20Convert%20Number/README.md) - 最小步数模型、双向 BFS
56+
- [滑动谜题](/solution/0700-0799/0773.Sliding%20Puzzle/README.md) - 最小步数模型、A\* 算法
57+
- [访问所有节点的最短路径](/solution/0800-0899/0847.Shortest%20Path%20Visiting%20All%20Nodes/README.md) - 最小步数模型、A\* 算法
58+
- [为高尔夫比赛砍树](/solution/0600-0699/0675.Cut%20Off%20Trees%20for%20Golf%20Event/README.md) - A\* 算法
59+
- [使网格图至少有一条有效路径的最小代价](/solution/1300-1399/1368.Minimum%20Cost%20to%20Make%20at%20Least%20One%20Valid%20Path%20in%20a%20Grid/README.md) - 双端队列 BFS
60+
61+
#### 2.2 深度优先搜索(DFS)
62+
63+
- [图像渲染](/solution/0700-0799/0733.Flood%20Fill/README.md) - 连通性模型、Flood Fill 算法
64+
- [迷宫](/solution/0400-0499/0490.The%20Maze/README.md) - 连通性模型、Flood Fill 算法
65+
- [单词搜索](/solution/0000-0099/0079.Word%20Search/README.md) - 搜索顺序、回溯
66+
- [黄金矿工](/solution/1200-1299/1219.Path%20with%20Maximum%20Gold/README.md) - 搜索顺序、回溯
67+
68+
### 3. 图论
69+
70+
### 4. 动态规划(DP)
71+
72+
### 5. 高级数据结构
73+
74+
- [二维网格图中探测环](/solution/1500-1599/1559.Detect%20Cycles%20in%202D%20Grid/README.md) - 并查集、检测环
75+
- [除法求值](/solution/0300-0399/0399.Evaluate%20Division/README.md) - 并查集、权值维护
76+
77+
### 6. 数学知识
23678

23779
## 加入我们
23880

0 commit comments

Comments
 (0)