1
1
# LeetCode
2
+
2
3
[ ![ Travis] ( https://img.shields.io/badge/language-C++-green.svg )] ( )
3
4
[ ![ Travis] ( https://img.shields.io/badge/language-JavaScript-yellow.svg )] ( )
4
5
[ ![ Travis] ( https://img.shields.io/badge/language-Python-red.svg )] ( )
5
6
[ ![ Travis] ( https://img.shields.io/badge/language-Java-blue.svg )] ( )
6
7
![ Total visitor] ( https://visitor-count-badge.herokuapp.com/total.svg?repo_id=azl397985856.leetcode )
7
8
![ Visitors in today] ( https://visitor-count-badge.herokuapp.com/today.svg?repo_id=azl397985856.leetcode )
9
+
8
10
> since 2019-09-03 19:40
9
11
10
12
[ 简体中文] ( ./README.md ) | English
@@ -74,8 +76,6 @@ The data structures mainly includes:
74
76
- Tree and Graph: Lowest Common Ancestor (LCA); Disjoint-Set
75
77
- String: Prefix Tree (Trie); Suffix Tree
76
78
77
-
78
-
79
79
## Previews
80
80
81
81
[ 0042.trapping-rain-water] ( ./problems/42.trapping-rain-water.md ) :
@@ -98,13 +98,11 @@ The data structures mainly includes:
98
98
99
99
![ 454.4-sum-ii] ( ./assets/problems/454.4-sum-ii.png )
100
100
101
-
102
-
103
101
## Top Problems Progress
104
102
105
- - [ Top 100 Liked Questions] ( https://leetcode.com/problemset/top-100-liked-questions/ ) (79 / 100)
103
+ - [ Top 100 Liked Questions] ( https://leetcode.com/problemset/top-100-liked-questions/ ) (84 / 100)
106
104
107
- - [ Top Interview Questions] ( https://leetcode.com/problemset/top-interview-questions/ ) (97 / 145)
105
+ - [ Top Interview Questions] ( https://leetcode.com/problemset/top-interview-questions/ ) (115 / 145)
108
106
109
107
## Portals
110
108
@@ -143,7 +141,6 @@ The data structures mainly includes:
143
141
- [ 0371.sum-of-two-integers] ( ./problems/371.sum-of-two-integers.md )
144
142
- [ 0575.distribute-candies] ( ./problems/575.distribute-candies.md )
145
143
146
-
147
144
#### Medium
148
145
149
146
- [ 0002. Add Two Numbers] ( ./problems/2.addTwoNumbers.md )
@@ -155,7 +152,7 @@ The data structures mainly includes:
155
152
- [ 0024. Swap Nodes In Pairs] ( ./problems/24.swapNodesInPairs.md )
156
153
- [ 0029.divide-two-integers] ( ./problems/29.divide-two-integers.md )
157
154
- [ 0031.next-permutation] ( ./problems/31.next-permutation.md )
158
- - [ 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 )
159
156
- [ 0039.combination-sum] ( ./problems/39.combination-sum.md )
160
157
- [ 0040.combination-sum-ii] ( ./problems/40.combination-sum-ii.md )
161
158
- [ 0046.permutations] ( ./problems/46.permutations.md )
@@ -164,8 +161,8 @@ The data structures mainly includes:
164
161
- [ 0049.group-anagrams] ( ./problems/49.group-anagrams.md )
165
162
- [ 0055.jump-game] ( ./problems/55.jump-game.md )
166
163
- [ 0056.merge-intervals] ( ./problems/56.merge-intervals.md )
167
- - [ 0062.unique-paths] ( ./problems/62.unique-paths.md )
168
- - [ 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 )
169
166
- [ 0075.sort-colors] ( ./problems/75.sort-colors.md )
170
167
- [ 0078.subsets] ( ./problems/78.subsets.md )
171
168
- [ 0079.word-search] ( ./problems/79.word-search-en.md )
@@ -174,12 +171,12 @@ The data structures mainly includes:
174
171
- [ 0091.decode-ways] ( ./problems/91.decode-ways.md )
175
172
- [ 0092.reverse-linked-list-ii] ( ./problems/92.reverse-linked-list-ii.md )
176
173
- [ 0094.binary-tree-inorder-traversal] ( ./problems/94.binary-tree-inorder-traversal.md )
177
- - [ 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 )
178
175
- [ 0102.binary-tree-level-order-traversal] ( ./problems/102.binary-tree-level-order-traversal.md )
179
176
- [ 0103.binary-tree-zigzag-level-order-traversal] ( ./problems/103.binary-tree-zigzag-level-order-traversal.md )
180
177
- [ 0113.path-sum-ii] ( ./problems/113.path-sum-ii.md )
181
- - [ 0129.sum-root-to-leaf-numbers] ( ./problems/129.sum-root-to-leaf-numbers.md )
182
- - [ 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 )
183
180
- [ 0131.palindrome-partitioning] ( ./problems/131.palindrome-partitioning.md )
184
181
- [ 0139.word-break] ( ./problems/139.word-break.md )
185
182
- [ 0144.binary-tree-preorder-traversal] ( ./problems/144.binary-tree-preorder-traversal.md )
@@ -190,20 +187,20 @@ The data structures mainly includes:
190
187
- [ 0201.bitwise-and-of-numbers-range] ( ./problems/201.bitwise-and-of-numbers-range.md )
191
188
- [ 0208.implement-trie-prefix-tree] ( ./problems/208.implement-trie-prefix-tree.md )
192
189
- [ 0209.minimum-size-subarray-sum] ( ./problems/209.minimum-size-subarray-sum.md )
193
- - [ 0215.kth-largest-element-in-an-array] ( ./problems/215.kth-largest-element-in-an-array.md ) 🆕
194
- - [ 0221.maximal-square] ( ./problems/221.maximal-square.md )
195
- - [ 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 ) 🆕
196
193
- [ 0230.kth-smallest-element-in-a-bst] ( ./problems/230.kth-smallest-element-in-a-bst.md )
197
194
- [ 0236.lowest-common-ancestor-of-a-binary-tree] ( ./problems/236.lowest-common-ancestor-of-a-binary-tree.md )
198
195
- [ 0238.product-of-array-except-self] ( ./problems/238.product-of-array-except-self.md )
199
196
- [ 0240.search-a-2-d-matrix-ii] ( ./problems/240.search-a-2-d-matrix-ii.md )
200
197
- [ 0279.perfect-squares] ( ./problems/279.perfect-squares.md )
201
- - [ 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 )
202
199
- [ 0322.coin-change] ( ./problems/322.coin-change.md )
203
200
- [ 0328.odd-even-linked-list] ( ./problems/328.odd-even-linked-list.md )
204
201
- [ 0334.increasing-triplet-subsequence] ( ./problems/334.increasing-triplet-subsequence.md )
205
202
- [ 0365.water-and-jug-problem] ( ./problems/365.water-and-jug-problem.md )
206
- - [ 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 )
207
204
- [ 0416.partition-equal-subset-sum] ( ./problems/416.partition-equal-subset-sum.md )
208
205
- [ 0445.add-two-numbers-ii] ( ./problems/445.add-two-numbers-ii.md )
209
206
- [ 0454.4-sum-ii] ( ./problems/454.4-sum-ii.md )
@@ -238,9 +235,6 @@ The data structures mainly includes:
238
235
- [ 0460.lfu-cache] ( ./problems/460.lfu-cache.md ) 🆕
239
236
- [ 1168.optimize-water-distribution-in-a-village] ( ./problems/1168.optimize-water-distribution-in-a-village-en.md ) 🆕
240
237
241
-
242
-
243
-
244
238
### Summary of Data Structures and Algorithms
245
239
246
240
- [ Data Structure] ( ./thinkings/basic-data-structure-en.md ) (Drafts)
@@ -251,8 +245,6 @@ The data structures mainly includes:
251
245
- [ Bloom Filter] ( ./thinkings/bloom-filter-en.md )
252
246
- [ String Problems] ( ./thinkings/string-problems-en.md )
253
247
254
-
255
-
256
248
### Anki Flashcards
257
249
258
250
Anki falshcards would be mainly two parts: the mappings from key points to problems; the mappings from problems to idea thinks, key points and code implementations.
@@ -281,16 +273,12 @@ Latest updated flashcards (only lists the front page):
281
273
282
274
- [ project] ( https://github.com/azl397985856/leetcode/projects/1 )
283
275
284
-
285
-
286
276
### Future Plans
287
277
288
278
- [ Complete Anki Flashcards] ( ./assets/anki/ )
289
279
290
280
- [ Collection of String Problem] ( ./todo/str/ )
291
281
292
-
293
-
294
282
## Community Chat Groups
295
283
296
284
We're still on the early stage, so feedback from community is very welcome. For sake of reducing the costs of communication, I created some chat groups.
@@ -309,8 +297,6 @@ We're still on the early stage, so feedback from community is very welcome. For
309
297
310
298
(Add this bot and reply "leetcode" to join the group.)
311
299
312
-
313
-
314
300
## Contribution
315
301
316
302
- If you have any ideas, [ Issues] ( https://github.com/azl397985856/leetcode/issues ) or chat in groups.
0 commit comments