16
16
![ leetcode.jpeg] ( ./assets/leetcode.jpeg )
17
17
18
18
这个是我写的[ 纪念项目 Star 突破 1W 的一个短文] ( ./thanksGiving.md ) , 记录了项目的"兴起"之路, 大家有兴趣可以看一下,
19
- 如果对这个项目感兴趣,请** 点击一下Star ** , 项目会** 持续更新** ,感谢大家的支持。
19
+ 如果对这个项目感兴趣,请** 点击一下 Star ** , 项目会** 持续更新** ,感谢大家的支持。
20
20
21
21
## 介绍
22
22
@@ -30,34 +30,34 @@ leetcode 题解,记录自己的 leetcode 解题之路。
30
30
31
31
- 第三部分是 anki 卡片, 将 leetcode 题目按照一定的方式记录在 anki 中,方便大家记忆。
32
32
33
- - 第四部分是每日一题,每日一题是在交流群(包括微信和qq )里进行的一种活动,大家一起 解一道题,这样讨论问题更加集中,会得到更多的反馈。而且 这些题目可以被记录下来,日后会进行筛选添加到仓库的题解模块。
33
+ - 第四部分是每日一题,每日一题是在交流群(包括微信和 qq )里进行的一种活动,大家一起 解一道题,这样讨论问题更加集中,会得到更多的反馈。而且 这些题目可以被记录下来,日后会进行筛选添加到仓库的题解模块。
34
34
35
35
- 第五部分是计划, 这里会记录将来要加入到以上三个部分内容
36
36
37
37
> 只有熟练掌握基础的数据结构与算法,才能对复杂问题迎刃有余。
38
38
39
39
## 关于我
40
40
41
- 擅长前端工程化,前端性能优化,前端标准化等,做过.net, 搞过Java ,现在是一名前端工程师,我的个人博客:https://lucifer.ren/blog/
41
+ 擅长前端工程化,前端性能优化,前端标准化等,做过.net, 搞过 Java ,现在是一名前端工程师,我的个人博客:https://lucifer.ren/blog/
42
42
43
43
我经常会在开源社区进行一些输出和分享,比较受欢迎的有[ 宇宙最强的前端面试指南] ( https://github.com/azl397985856/fe-interview )
44
- 和[ 我的第一本小书] ( https://github.com/azl397985856/automate-everything ) 。目前本人正在写一本关于《leetcode题解 》的实体书,因此可能更新会比较慢,如果有人想要做些贡献或者合作的也可以直接用下面的邮箱联系我。
44
+ 和[ 我的第一本小书] ( https://github.com/azl397985856/automate-everything ) 。目前本人正在写一本关于《leetcode 题解 》的实体书,因此可能更新会比较慢,如果有人想要做些贡献或者合作的也可以直接用下面的邮箱联系我。
45
45
46
46
另外如果大家需要内推的可以找我,我这里有包括阿里,腾讯,头条,网易等很多公司的朋友。有需要可以直接群里联系我,或者发送到我的个人邮箱
[ [email protected] ] 。
47
47
48
48
## 食用指南
49
49
50
50
- 对于最近添加的部分, 后面会有 🆕 标注
51
51
- 对于最近更新的部分, 后面会有 🖊 标注
52
- - 将来会在这里更新anki卡片
53
- - 这里有一份leetcode官方账号在知乎上给出的一个 《互联网公司最常见的面试算法题有哪些?》的答案,我这里尽量去覆盖回答中的题目和知识点
54
- 原文地址: https://www.zhihu.com/question/24964987/answer/586425979
52
+ - 将来会在这里更新 anki 卡片
53
+ - 这里有一份 leetcode 官方账号在知乎上给出的一个 《互联网公司最常见的面试算法题有哪些?》的答案,我这里尽量去覆盖回答中的题目和知识点
54
+ 原文地址: https://www.zhihu.com/question/24964987/answer/586425979
55
55
56
56
- 这里有一张互联网公司面试中经常考察的问题类型总结的思维导图,我们可以结合图片中的信息分析一下。
57
57
58
58
![ leetcode-zhihu] ( ./assets//leetcode-zhihu.jpg )
59
59
60
- (图片来自leetcode )
60
+ (图片来自 leetcode )
61
61
62
62
其中算法,主要是以下几种:
63
63
@@ -76,39 +76,29 @@ leetcode 题解,记录自己的 leetcode 解题之路。
76
76
- 树与图:最近公共祖先、并查集
77
77
- 字符串:前缀树(字典树) / 后缀树
78
78
79
-
80
-
81
-
82
79
## 精彩预告
83
80
84
-
85
81
[ 0042.trapping-rain-water] ( ./problems/42.trapping-rain-water.md ) :
86
82
87
83
![ 0042.trapping-rain-water] ( ./assets/problems/42.trapping-rain-water-1.png )
88
84
89
-
90
85
[ 0547.friend-circles] ( ./problems/547.friend-circles-en.md ) :
91
86
92
87
<img width =" 600 " src =" ./assets/problems/547.friend-circle-bfs.png " >
93
88
94
-
95
-
96
89
[ backtrack problems] ( ./problems/90.subsets-ii.md ) :
97
90
98
91
<img width =" 600 " src =" ./assets/problems/backtrack.png " >
99
92
100
-
101
-
102
93
[ 0198.house-robber] ( ./problems/198.house-robber.md ) :
103
94
104
95
<img width =" 600 " src =" ./assets/problems/198.house-robber.png " >
105
96
106
-
107
97
[ 0454.4-sum-ii] ( ./problems/454.4-sum-ii.md ) :
108
98
109
99
<img width =" 600 " src =" ./assets/problems/454.4-sum-ii.png " >
110
100
111
- ## Top题目进度
101
+ ## Top 题目进度
112
102
113
103
- [ Top 100 Liked Questions] ( https://leetcode.com/problemset/top-100-liked-questions/ ) (79 / 100)
114
104
@@ -151,7 +141,6 @@ leetcode 题解,记录自己的 leetcode 解题之路。
151
141
- [ 0371.sum-of-two-integers] ( ./problems/371.sum-of-two-integers.md )
152
142
- [ 0575.distribute-candies] ( ./problems/575.distribute-candies.md )
153
143
154
-
155
144
#### 中等难度
156
145
157
146
- [ 0002. Add Two Numbers] ( ./problems/2.addTwoNumbers.md )
@@ -163,17 +152,17 @@ leetcode 题解,记录自己的 leetcode 解题之路。
163
152
- [ 0024. Swap Nodes In Pairs] ( ./problems/24.swapNodesInPairs.md )
164
153
- [ 0029.divide-two-integers] ( ./problems/29.divide-two-integers.md )
165
154
- [ 0031.next-permutation] ( ./problems/31.next-permutation.md )
166
- - [ 0033.search-in-rotated-sorted-array] ( ./problems/33.search-in-rotated-sorted-array.md )
155
+ - [ 0033.search-in-rotated-sorted-array] ( ./problems/33.search-in-rotated-sorted-array.md )
167
156
- [ 0039.combination-sum] ( ./problems/39.combination-sum.md )
168
157
- [ 0040.combination-sum-ii] ( ./problems/40.combination-sum-ii.md )
169
158
- [ 0046.permutations] ( ./problems/46.permutations.md )
170
159
- [ 0047.permutations-ii] ( ./problems/47.permutations-ii.md )
171
160
- [ 0048.rotate-image] ( ./problems/48.rotate-image.md )
172
- - [ 0049.group-anagrams] ( ./problems/49.group-anagrams.md )
161
+ - [ 0049.group-anagrams] ( ./problems/49.group-anagrams.md )
173
162
- [ 0055.jump-game] ( ./problems/55.jump-game.md )
174
163
- [ 0056.merge-intervals] ( ./problems/56.merge-intervals.md )
175
- - [ 0062.unique-paths] ( ./problems/62.unique-paths.md )
176
- - [ 0073.set-matrix-zeroes] ( ./problems/73.set-matrix-zeroes.md )
164
+ - [ 0062.unique-paths] ( ./problems/62.unique-paths.md )
165
+ - [ 0073.set-matrix-zeroes] ( ./problems/73.set-matrix-zeroes.md )
177
166
- [ 0075.sort-colors] ( ./problems/75.sort-colors.md )
178
167
- [ 0078.subsets] ( ./problems/78.subsets.md )
179
168
- [ 0079.word-search] ( ./problems/79.word-search-en.md )
@@ -182,36 +171,36 @@ leetcode 题解,记录自己的 leetcode 解题之路。
182
171
- [ 0091.decode-ways] ( ./problems/91.decode-ways.md )
183
172
- [ 0092.reverse-linked-list-ii] ( ./problems/92.reverse-linked-list-ii.md )
184
173
- [ 0094.binary-tree-inorder-traversal] ( ./problems/94.binary-tree-inorder-traversal.md )
185
- - [ 0098.validate-binary-search-tree] ( ./problems/98.validate-binary-search-tree.md )
174
+ - [ 0098.validate-binary-search-tree] ( ./problems/98.validate-binary-search-tree.md )
186
175
- [ 0102.binary-tree-level-order-traversal] ( ./problems/102.binary-tree-level-order-traversal.md )
187
176
- [ 0103.binary-tree-zigzag-level-order-traversal] ( ./problems/103.binary-tree-zigzag-level-order-traversal.md )
188
177
- [ 0113.path-sum-ii] ( ./problems/113.path-sum-ii.md )
189
- - [ 0129.sum-root-to-leaf-numbers] ( ./problems/129.sum-root-to-leaf-numbers.md )
190
- - [ 0130.surrounded-regions] ( ./problems/130.surrounded-regions.md )
178
+ - [ 0129.sum-root-to-leaf-numbers] ( ./problems/129.sum-root-to-leaf-numbers.md )
179
+ - [ 0130.surrounded-regions] ( ./problems/130.surrounded-regions.md )
191
180
- [ 0131.palindrome-partitioning] ( ./problems/131.palindrome-partitioning.md )
192
181
- [ 0139.word-break] ( ./problems/139.word-break.md )
193
182
- [ 0144.binary-tree-preorder-traversal] ( ./problems/144.binary-tree-preorder-traversal.md )
194
183
- [ 0150.evaluate-reverse-polish-notation] ( ./problems/150.evaluate-reverse-polish-notation.md )
195
184
- [ 0152.maximum-product-subarray] ( ./problems/152.maximum-product-subarray.md )
196
185
- [ 0199.binary-tree-right-side-view] ( ./problems/199.binary-tree-right-side-view.md )
197
- - [ 0200.number-of-islands] ( ./problems/200.number-of-islands.md ) 🆕
186
+ - [ 0200.number-of-islands] ( ./problems/200.number-of-islands.md ) 🆕
198
187
- [ 0201.bitwise-and-of-numbers-range] ( ./problems/201.bitwise-and-of-numbers-range.md )
199
188
- [ 0208.implement-trie-prefix-tree] ( ./problems/208.implement-trie-prefix-tree.md )
200
189
- [ 0209.minimum-size-subarray-sum] ( ./problems/209.minimum-size-subarray-sum.md )
201
- - [ 0215.kth-largest-element-in-an-array] ( ./problems/215.kth-largest-element-in-an-array.md ) 🆕
202
- - [ 0221.maximal-square] ( ./problems/221.maximal-square.md )
203
- - [ 0229.majority-element-ii] ( ./problems/229.majority-element-ii.md ) 🆕
190
+ - [ 0215.kth-largest-element-in-an-array] ( ./problems/215.kth-largest-element-in-an-array.md ) 🆕
191
+ - [ 0221.maximal-square] ( ./problems/221.maximal-square.md )
192
+ - [ 0229.majority-element-ii] ( ./problems/229.majority-element-ii.md ) 🆕
204
193
- [ 0230.kth-smallest-element-in-a-bst] ( ./problems/230.kth-smallest-element-in-a-bst.md )
205
194
- [ 0236.lowest-common-ancestor-of-a-binary-tree] ( ./problems/236.lowest-common-ancestor-of-a-binary-tree.md )
206
195
- [ 0238.product-of-array-except-self] ( ./problems/238.product-of-array-except-self.md )
207
196
- [ 0240.search-a-2-d-matrix-ii] ( ./problems/240.search-a-2-d-matrix-ii.md )
208
197
- [ 0279.perfect-squares] ( ./problems/279.perfect-squares.md )
209
- - [ 0309.best-time-to-buy-and-sell-stock-with-cooldown] ( ./problems/309.best-time-to-buy-and-sell-stock-with-cooldown.md )
198
+ - [ 0309.best-time-to-buy-and-sell-stock-with-cooldown] ( ./problems/309.best-time-to-buy-and-sell-stock-with-cooldown.md )
210
199
- [ 0322.coin-change] ( ./problems/322.coin-change.md )
211
200
- [ 0328.odd-even-linked-list] ( ./problems/328.odd-even-linked-list.md )
212
201
- [ 0334.increasing-triplet-subsequence] ( ./problems/334.increasing-triplet-subsequence.md )
213
202
- [ 0365.water-and-jug-problem] ( ./problems/365.water-and-jug-problem.md )
214
- - [ 0378.kth-smallest-element-in-a-sorted-matrix] ( ./problems/378.kth-smallest-element-in-a-sorted-matrix.md )
203
+ - [ 0378.kth-smallest-element-in-a-sorted-matrix] ( ./problems/378.kth-smallest-element-in-a-sorted-matrix.md )
215
204
- [ 0416.partition-equal-subset-sum] ( ./problems/416.partition-equal-subset-sum.md )
216
205
- [ 0445.add-two-numbers-ii] ( ./problems/445.add-two-numbers-ii.md )
217
206
- [ 0454.4-sum-ii] ( ./problems/454.4-sum-ii.md )
@@ -226,6 +215,7 @@ leetcode 题解,记录自己的 leetcode 解题之路。
226
215
- [ 0887.super-egg-drop] ( ./problems/887.super-egg-drop.md )
227
216
- [ 0900.rle-iterator] ( ./problems/900.rle-iterator.md )
228
217
- [ 0912.sort-an-array] ( ./problems/912.sort-an-array.md ) 🆕
218
+ - [ 1023.camelcase-matching] ( ./problems/1023.camelcase-matching.md ) 🆕
229
219
- [ 1031.maximum-sum-of-two-non-overlapping-subarrays] ( ./problems/1031.maximum-sum-of-two-non-overlapping-subarrays.md )
230
220
- [ 1186.maximum-subarray-sum-with-one-deletion] ( ./problems/1186.maximum-subarray-sum-with-one-deletion.md ) 🆕
231
221
- [ 1218.longest-arithmetic-subsequence-of-given-difference.md] ( ./problems/1218.longest-arithmetic-subsequence-of-given-difference.md ) 🆕
@@ -259,15 +249,15 @@ leetcode 题解,记录自己的 leetcode 解题之路。
259
249
260
250
### anki 卡片
261
251
262
- Anki主要分为两个部分 :一部分是关键点到题目的映射,另一部分是题目到思路,关键点,代码的映射。
252
+ Anki 主要分为两个部分 :一部分是关键点到题目的映射,另一部分是题目到思路,关键点,代码的映射。
263
253
264
254
全部卡片都在[ anki-card] ( ./assets/anki/leetcode.apkg )
265
255
266
256
使用方法:
267
257
268
- anki - 文件 - 导入 - 下拉格式选择“打包的 anki集合 ”,然后选中你下载好的文件,确定即可。
258
+ anki - 文件 - 导入 - 下拉格式选择“打包的 anki 集合 ”,然后选中你下载好的文件,确定即可。
269
259
270
- 更多关于anki使用方法的请查看 [ anki官网 ] ( https://apps.ankiweb.net/ )
260
+ 更多关于 anki 使用方法的请查看 [ anki 官网 ] ( https://apps.ankiweb.net/ )
271
261
272
262
目前已更新卡片一览(仅列举正面):
273
263
@@ -283,7 +273,7 @@ anki - 文件 - 导入 - 下拉格式选择“打包的 anki集合”,然后
283
273
284
274
### 每日一题
285
275
286
- 每日一题是在交流群(包括微信和 qq)里通过issues来进行的一种活动 ,大家一起 解一道题,这样讨论问题更加集中,会得到更多的反馈。而且 这些题目可以被记录下来,日后会进行筛选添加到仓库的题解模块。
276
+ 每日一题是在交流群(包括微信和 qq)里通过 issues 来进行的一种活动 ,大家一起 解一道题,这样讨论问题更加集中,会得到更多的反馈。而且 这些题目可以被记录下来,日后会进行筛选添加到仓库的题解模块。
287
277
288
278
- [ 每日一题汇总] ( ./daily/ )
289
279
@@ -309,19 +299,19 @@ anki - 文件 - 导入 - 下拉格式选择“打包的 anki集合”,然后
309
299
310
300
另外你可以回复大前端进大前端微信交流群, 回复 leetcode 拉你进 leetcode 微信群,如果想加入 qq 群,请回复 qq。
311
301
312
-
313
302
<img width =" 300 " src =" ./assets/gongzhonghao.jpeg " >
314
303
315
304
## 捐赠
316
305
317
306
[ 点击查看完整的捐赠列表] ( ./donation.md )
318
307
319
308
### 微信
309
+
320
310
<img width =" 300 " src =" ./assets/donate-weixin.jpg " >
321
311
322
312
### 支付宝
323
- <img width =" 300 " src =" ./assets/donate-zfb.jpg " >
324
313
314
+ <img width =" 300 " src =" ./assets/donate-zfb.jpg " >
325
315
326
316
## 贡献
327
317
0 commit comments