Skip to content

Commit b70a5b0

Browse files
committed
add 695
1 parent 59433cb commit b70a5b0

File tree

2,471 files changed

+3035
-398
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

2,471 files changed

+3035
-398
lines changed

assets/origins/top_200_list.md

Lines changed: 21 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: "面试高频 200 题"
2+
title: '面试高频 200 题'
33
headerDepth: 0
44
---
55

@@ -17,7 +17,7 @@ headerDepth: 0
1717

1818
### 栈基础
1919

20-
###### [21]1047、[84]0155、[207]0020、[43]0224、[54]0227、[120]0232、[44]jz_offer_09_1、[66]0394、[81]0032、[46]0739、[21]0071
20+
###### [21]1047、[84]0155、[207]0020、[43]0224、[54]0227、[120]0232、[44]jz_offer_09_1、[66]0394、[21]0071
2121

2222
### 单调栈
2323

@@ -31,17 +31,17 @@ headerDepth: 0
3131

3232
### 优先队列
3333

34-
###### [25]0347、[98]0239、[26]0295、[173]0023
34+
###### [26]0295、[173]0023
3535

3636
## 哈希表
3737

38-
###### [232]0001、[310]0015、[97]0041、[56]0128、[45]0136、[17]0242、[19]0442、[21]jz_offer_61_1[16]0268[16]jz_offer_03_1
38+
###### [310]0015、[97]0041、[56]0128、[17]0242、[19]0442、[21]jz_offer_61_1、[16]jz_offer_03_1
3939

4040
## 字符串
4141

4242
### 字符串基础
4343

44-
###### [29]0125、[222]0005、[642]0003、[17]0344、[17]0557、[166]0415、[81]0151、[82]0043[58]0014
44+
###### [29]0125、[222]0005、[17]0344、[17]0557、[81]0151、[82]0043
4545

4646
### 单模式串匹配
4747

@@ -55,7 +55,7 @@ headerDepth: 0
5555

5656
### 二叉树的遍历
5757

58-
###### [78]0144、[124]0094、[36]0145、[220]0102、[200]0103、[77]0104、[20]0111、[129]0124、[76]0101、[65]0112、[69]0113、[199]0236、[118]0199[59]0226、[42]0958、[28]0572、[16]0100[49]0297、[28]0114
58+
###### [78]0144、[36]0145、[220]0102、[200]0103、[76]0101、[65]0112、[69]0113、[199]0236、[118]0199、[49]0297、[28]0114
5959

6060
### 二叉树的还原
6161

@@ -65,90 +65,66 @@ headerDepth: 0
6565

6666
###### [71]0098、[33]0450、[37]jz_offer_54_1、[31]0230、[16]0426、[77]0110
6767

68-
### 并查集
69-
70-
###### [56]0128
71-
7268
##
7369

7470
### 图的深度优先搜索
7571

76-
###### [211]0200、[56]0695、[78]0144、[124]0094、[36]0145、[76]0129、[129]0124[118]0199[74]0543、[57]0662、[42]0958、[28]0572、[16]0100、[20]0111
72+
###### [211]0200、[56]0695、[124]0094、[76]0129、[129]0124、[74]0543、[57]0662、[42]0958、[28]0572、[16]0100、[20]0111
7773

7874
### 图的广度优先搜索
7975

80-
###### [211]0200、[84]0322、[43]0207[118]0199、[57]0662、[42]0958、[28]0572、[16]0100、[20]0111[16]jz_offer_32_3
76+
###### [84]0322、[43]0207、[16]jz_offer_32_3
8177

8278
### 图的拓扑排序
8379

8480
###### [19]0210
8581

8682
## 枚举算法
8783

88-
###### [232]0001、[85]0078[68]0221、[49]0560
84+
###### [232]0001、[85]0078
8985

9086
## 递归算法
9187

92-
###### [50]0024、[575]0206、[184]0092、[242]0021、[19]0509、[109]0070、[77]0104、[129]0124、[59]0226[30]jz_offer_62_1
88+
###### [50]0024、[77]0104、[59]0226
9389

9490
## 分治算法
9591

96-
###### [117]0004、[173]0023、[261]0053、[61]0169、[58]0014、[16]jz_offer_33_1
92+
###### [61]0169、[58]0014、[16]jz_offer_33_1
9793

9894
## 回溯算法
9995

100-
###### [202]0046、[40]0047、[18]0037、[105]0022、[85]0078、[68]0039、[35]0040、[114]0093、[38]0079、[21]0679
96+
###### [202]0046、[40]0047、[18]0037、[105]0022、[68]0039、[35]0040、[114]0093、[38]0079、[21]0679
10197

10298
## 贪心算法
10399

104-
###### [261]0053、[125]0056、[56]0122、[38]0055、[44]0402、[29]0135、[20]0134、[17]0670
100+
###### [56]0122、[38]0055、[44]0402、[29]0135、[20]0134、[17]0670
105101

106102
## 动态规划
107103

108-
###### [109]0070、[19]0509、[211]0121、[84]0322、[35]0518、[163]0300、[120]1143、[60]0718、[68]0064、[127]0072、[81]0032、[68]0221、[55]0062、[18]0063、[55]0152、[51]0198、[25]0213、[28]0091、[26]0010、[21]0678、[31]0045、[19]0673、[52]0139、[19]0044、[23]0120、[24]0096、[21]0887、[17]0097、[17]0516、[28]0329
104+
###### [109]0070、[19]0509、[211]0121、[35]0518、[163]0300、[120]1143、[60]0718、[68]0064、[127]0072、[81]0032、[68]0221、[55]0062、[18]0063、[55]0152、[51]0198、[25]0213、[28]0091、[26]0010、[21]0678、[31]0045、[19]0673、[52]0139、[19]0044、[23]0120、[24]0096、[21]0887、[17]0097、[17]0516、[28]0329
109105

110106
## 位运算
111107

112-
###### [45]0136、[17]0191、[16]0268
108+
###### [17]0191、[16]0268
113109

114110
## 排序算法
115111

116112
### 冒泡排序
117113

118114
###### [49]0283
119115

120-
### 选择排序
121-
122-
###### [420]0215
123-
124116
### 插入排序
125117

126118
###### [33]0075
127119

128-
### 希尔排序
129-
130-
###### [16]0912
131-
132120
### 归并排序
133121

134-
###### [16]0912、[204]0088、[37]jz_offer_51_1
135-
136-
### 快速排序
137-
138-
###### [16]0912、[61]0169
122+
###### [37]jz_offer_51_1
139123

140124
### 堆排序
141125

142126
###### [16]0912、[420]0215、[36]jz_offer_40_1
143127

144-
### 计数排序
145-
146-
###### [16]0912
147-
148-
### 桶排序
149-
150-
###### [16]0912
151-
152128
### 基数排序
153129

154130
###### [16]0164
@@ -159,7 +135,7 @@ headerDepth: 0
159135

160136
### 链表排序
161137

162-
###### [111]0148、[242]0021[173]0023
138+
###### [111]0148、[242]0021
163139

164140
## 二分查找
165141

@@ -179,11 +155,11 @@ headerDepth: 0
179155

180156
### 对撞指针
181157

182-
###### [20]0611、[310]0015、[29]0016、[29]0125、[43]0011[33]0075[30]jz_offer_21_1、[18]0443
158+
###### [20]0611、[29]0016、[43]0011、[30]jz_offer_21_1、[18]0443
183159

184160
### 快慢指针
185161

186-
###### [35]0026、[49]0283、[204]0088
162+
###### [35]0026、[204]0088
187163

188164
### 分离双指针
189165

@@ -201,7 +177,7 @@ headerDepth: 0
201177

202178
### 不定长度窗口
203179

204-
###### [642]0003、[87]0076、[60]0718、[49]0209、[16]0862、[22]1004
180+
###### [642]0003、[87]0076、[16]0862、[22]1004
205181

206182
## 补充
207183

@@ -211,7 +187,7 @@ headerDepth: 0
211187

212188
### 数学
213189

214-
###### [37]0007、[27]0009、[30]jz_offer_62_1、[20]0168[23]0400
190+
###### [37]0007、[27]0009、[30]jz_offer_62_1、[20]0168
215191

216192
### 模拟
217193

assets/output/0001.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,7 @@ time complexity?
129129

130130
## 相关题目
131131

132+
<!-- prettier-ignore -->
132133
| 题号 | 标题 | 题解 | 标签 | 难度 |
133134
| :------: | :------ | :------: | :------ | :------ |
134135
| 15 | [三数之和](https://leetcode.com/problems/3sum) | [[]](https://2xiao.github.io/leetcode-js/leetcode/problem/0015) | [`数组`](/leetcode/outline/tag/array.md) [`双指针`](/leetcode/outline/tag/two-pointers.md) [`排序`](/leetcode/outline/tag/sorting.md) | <font color=#ffb800>Medium</font> |

assets/output/0002.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,7 @@ upload/uploads/2021/01/02/addtwonumber1.jpg)
122122

123123
## 相关题目
124124

125+
<!-- prettier-ignore -->
125126
| 题号 | 标题 | 题解 | 标签 | 难度 |
126127
| :------: | :------ | :------: | :------ | :------ |
127128
| 43 | [字符串相乘](https://leetcode.com/problems/multiply-strings) | [[]](https://2xiao.github.io/leetcode-js/leetcode/problem/0043) | [`数学`](/leetcode/outline/tag/math.md) [`字符串`](/leetcode/outline/tag/string.md) [`模拟`](/leetcode/outline/tag/simulation.md) | <font color=#ffb800>Medium</font> |

assets/output/0003.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,7 @@ repeating characters.
119119

120120
## 相关题目
121121

122+
<!-- prettier-ignore -->
122123
| 题号 | 标题 | 题解 | 标签 | 难度 |
123124
| :------: | :------ | :------: | :------ | :------ |
124125
| 159 | [至多包含两个不同字符的最长子串](https://leetcode.com/problems/longest-substring-with-at-most-two-distinct-characters) | | [`哈希表`](/leetcode/outline/tag/hash-table.md) [`字符串`](/leetcode/outline/tag/string.md) [`滑动窗口`](/leetcode/outline/tag/sliding-window.md) | <font color=#ffb800>Medium</font> |

assets/output/0004.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,7 @@ The overall run time complexity should be `O(log (m+n))`.
105105

106106
## 相关题目
107107

108+
<!-- prettier-ignore -->
108109
| 题号 | 标题 | 题解 | 标签 | 难度 |
109110
| :------: | :------ | :------: | :------ | :------ |
110111
| 2387 | [行排序矩阵的中位数](https://leetcode.com/problems/median-of-a-row-wise-sorted-matrix) | | [`数组`](/leetcode/outline/tag/array.md) [`二分查找`](/leetcode/outline/tag/binary-search.md) [`矩阵`](/leetcode/outline/tag/matrix.md) | <font color=#ffb800>Medium</font> |

assets/output/0005.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,7 @@ Given a string `s`, return _the longest_ _palindromic_ _substring_ in `s`.
8686

8787
## 相关题目
8888

89+
<!-- prettier-ignore -->
8990
| 题号 | 标题 | 题解 | 标签 | 难度 |
9091
| :------: | :------ | :------: | :------ | :------ |
9192
| 214 | [最短回文串](https://leetcode.com/problems/shortest-palindrome) | | [`字符串`](/leetcode/outline/tag/string.md) [`字符串匹配`](/leetcode/outline/tag/string-matching.md) [`哈希函数`](/leetcode/outline/tag/hash-function.md) `1+` | <font color=#ff334b>Hard</font> |

assets/output/0007.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,7 @@ or unsigned).**
117117

118118
## 相关题目
119119

120+
<!-- prettier-ignore -->
120121
| 题号 | 标题 | 题解 | 标签 | 难度 |
121122
| :------: | :------ | :------: | :------ | :------ |
122123
| 8 | [字符串转换整数 (atoi)](https://leetcode.com/problems/string-to-integer-atoi) | [[]](https://2xiao.github.io/leetcode-js/leetcode/problem/0008) | [`字符串`](/leetcode/outline/tag/string.md) | <font color=#ffb800>Medium</font> |

assets/output/0008.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -353,6 +353,7 @@ Reading stops at the first non-digit character 'w'.
353353

354354
## 相关题目
355355

356+
<!-- prettier-ignore -->
356357
| 题号 | 标题 | 题解 | 标签 | 难度 |
357358
| :------: | :------ | :------: | :------ | :------ |
358359
| 7 | [整数反转](https://leetcode.com/problems/reverse-integer) | [[]](https://2xiao.github.io/leetcode-js/leetcode/problem/0007) | [`数学`](/leetcode/outline/tag/math.md) | <font color=#ffb800>Medium</font> |

assets/output/0009.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,7 @@ and_`false` _otherwise_.
122122

123123
## 相关题目
124124

125+
<!-- prettier-ignore -->
125126
| 题号 | 标题 | 题解 | 标签 | 难度 |
126127
| :------: | :------ | :------: | :------ | :------ |
127128
| 234 | [回文链表](https://leetcode.com/problems/palindrome-linked-list) | [[]](https://2xiao.github.io/leetcode-js/leetcode/problem/0234) | [``](/leetcode/outline/tag/stack.md) [`递归`](/leetcode/outline/tag/recursion.md) [`链表`](/leetcode/outline/tag/linked-list.md) `1+` | <font color=#15bd66>Easy</font> |

assets/output/0010.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,7 @@ The matching should cover the **entire** input string (not partial).
130130

131131
## 相关题目
132132

133+
<!-- prettier-ignore -->
133134
| 题号 | 标题 | 题解 | 标签 | 难度 |
134135
| :------: | :------ | :------: | :------ | :------ |
135136
| 44 | [通配符匹配](https://leetcode.com/problems/wildcard-matching) | [[]](https://2xiao.github.io/leetcode-js/leetcode/problem/0044) | [`贪心`](/leetcode/outline/tag/greedy.md) [`递归`](/leetcode/outline/tag/recursion.md) [`字符串`](/leetcode/outline/tag/string.md) `1+` | <font color=#ff334b>Hard</font> |

0 commit comments

Comments
 (0)