@@ -22,9 +22,9 @@ Language: **C++/Java/Python/Sql/Shell Script**
22
22
23
23
### Problems
24
24
25
- There are 300 problems (44 problems for a fee).
25
+ There are 334 problems (54 problems for a fee).
26
26
27
- I have solved 223 / 256 problems.=w=
27
+ I have solved 224 / 280 problems.=w=
28
28
29
29
| \# | Problems | Solutions | Note |
30
30
| ----| ----------| -----------| ------|
@@ -145,6 +145,7 @@ I have solved 223 / 256 problems.=w=
145
145
| 115 | [ 115.Distinct_Subsequences] ( https://leetcode.com/problems/Distinct-Subsequences/ ) |   ;  ;  ; [ Python  ; C++] ( ./solutions/115.Distinct_Subsequences ) |   ;  ;  ;  ;  ;  ; [ Notes] ( ./solutions/115.Distinct_Subsequences ) |
146
146
| 116 | [ 116.Populating_Next_Right_Pointers_i...] ( https://leetcode.com/problems/Populating-Next-Right-Pointers-in-Each-Node/ ) | [ Python  ; Java  ; C++] ( ./solutions/116.Populating_Next_Right_Pointers_in_Each_Node ) | Coming soon |
147
147
| 117 | [ 117.Populating_Next_Right_Pointers_i...] ( https://leetcode.com/problems/Populating-Next-Right-Pointers-in-Each-Node-II/ ) | [ Python  ; Java  ; C++] ( ./solutions/117.Populating_Next_Right_Pointers_in_Each_Node_II ) | Coming soon |
148
+ | 118 | [ 118.Pascal's_Triangle] ( https://leetcode.com/problems/Pascal's-Triangle/ ) |   ;  ;  ;  ;  ;  ;  ;  ;  ;  ;  ;  ;  ; [ ] ( ./solutions/118.Pascal's_Triangle ) | Coming soon |
148
149
| 118 | [ 118.Pascals_Triangle] ( https://leetcode.com/problems/Pascals-Triangle/ ) |   ;  ;  ;  ;  ;  ;  ;  ;  ;  ; [ C++] ( ./solutions/118.Pascals_Triangle ) | Coming soon |
149
150
| 119 | [ 119.Pascal's_Triangle_II] ( https://leetcode.com/problems/Pascal's-Triangle-II/ ) |   ;  ;  ;  ;  ;  ;  ;  ;  ;  ; [ C++] ( ./solutions/119.Pascal's_Triangle_II ) | Coming soon |
150
151
| 120 | [ 120.Triangle] ( https://leetcode.com/problems/Triangle/ ) | [ Python  ; Java  ; C++] ( ./solutions/120.Triangle ) | Coming soon |
@@ -154,7 +155,8 @@ I have solved 223 / 256 problems.=w=
154
155
| 124 | [ 124.Binary_Tree_Maximum_Path_Sum] ( https://leetcode.com/problems/Binary-Tree-Maximum-Path-Sum/ ) |   ;  ;  ; [ Python  ; C++] ( ./solutions/124.Binary_Tree_Maximum_Path_Sum ) |   ;  ;  ;  ;  ;  ; [ Notes] ( ./solutions/124.Binary_Tree_Maximum_Path_Sum ) |
155
156
| 125 | [ 125.Valid_Palindrome] ( https://leetcode.com/problems/Valid-Palindrome/ ) |   ;  ;  ;  ;  ;  ;  ;  ;  ;  ; [ C++] ( ./solutions/125.Valid_Palindrome ) | Coming soon |
156
157
| 126 | [ 126.Word_Ladder] ( https://leetcode.com/problems/Word-Ladder/ ) |   ;  ;  ; [ Python  ; C++] ( ./solutions/126.Word_Ladder ) |   ;  ;  ;  ;  ;  ; [ Notes] ( ./solutions/126.Word_Ladder ) |
157
- | 127 | [ 127.Word_Ladder_II] ( https://leetcode.com/problems/Word-Ladder-II/ ) |   ;  ;  ;  ;  ;  ;  ;  ;  ;  ;  ;  ;  ; [ ] ( ./solutions/127.Word_Ladder_II ) | Coming soon |
158
+ | 126 | [ 126.Word_Ladder_II] ( https://leetcode.com/problems/Word-Ladder-II/ ) |   ;  ;  ;  ;  ;  ;  ;  ;  ;  ;  ;  ;  ; [ ] ( ./solutions/126.Word_Ladder_II ) | Coming soon |
159
+ | 127 | [ 127.Word_Ladder] ( https://leetcode.com/problems/Word-Ladder/ ) |   ;  ;  ;  ;  ;  ;  ;  ;  ;  ;  ;  ;  ; [ ] ( ./solutions/127.Word_Ladder ) | Coming soon |
158
160
| 128 | [ 128.Longest_Consecutive_Sequence] ( https://leetcode.com/problems/Longest-Consecutive-Sequence/ ) |   ;  ;  ;  ;  ;  ;  ;  ;  ;  ;  ;  ;  ; [ ] ( ./solutions/128.Longest_Consecutive_Sequence ) | Coming soon |
159
161
| 129 | [ 129.Sum_Root_to_Leaf_Numbers] ( https://leetcode.com/problems/Sum-Root-to-Leaf-Numbers/ ) |   ;  ;  ;  ;  ;  ;  ;  ;  ;  ; [ C++] ( ./solutions/129.Sum_Root_to_Leaf_Numbers ) | Coming soon |
160
162
| 130 | [ 130.Surrounded_Regions] ( https://leetcode.com/problems/Surrounded-Regions/ ) |   ;  ;  ;  ;  ;  ;  ;  ;  ;  ; [ C++] ( ./solutions/130.Surrounded_Regions ) |   ;  ;  ;  ;  ;  ; [ Notes] ( ./solutions/130.Surrounded_Regions ) |
@@ -212,7 +214,6 @@ I have solved 223 / 256 problems.=w=
212
214
| 182 | [ 182.Duplicate_Emails] ( https://leetcode.com/problems/Duplicate-Emails/ ) |   ;  ;  ;  ;  ;  ;  ;  ;  ;  ; [ Sql] ( ./solutions/182.Duplicate_Emails ) | Coming soon |
213
215
| 183 | [ 183.Customers_Who_Never_Order] ( https://leetcode.com/problems/Customers-Who-Never-Order/ ) |   ;  ;  ;  ;  ;  ;  ;  ;  ;  ; [ Sql] ( ./solutions/183.Customers_Who_Never_Order ) |   ;  ;  ;  ;  ;  ; [ Notes] ( ./solutions/183.Customers_Who_Never_Order ) |
214
216
| 184 | [ 184.Department_Highest_Salary] ( https://leetcode.com/problems/Department-Highest-Salary/ ) |   ;  ;  ;  ;  ;  ;  ;  ;  ;  ; [ Sql] ( ./solutions/184.Department_Highest_Salary ) |   ;  ;  ;  ;  ;  ; [ Notes] ( ./solutions/184.Department_Highest_Salary ) |
215
- | 185 | [ 185.Department_Top_Three_Salaries] ( https://leetcode.com/problems/Department-Top-Three-Salaries/ ) |   ;  ;  ;  ;  ;  ;  ;  ;  ;  ;  ;  ;  ; [ ] ( ./solutions/185.Department_Top_Three_Salaries ) | Coming soon |
216
217
| 186 | [ 186.Reverse_Words_in_a_String_II $] ( https://leetcode.com/problems/Reverse-Words-in-a-String-II/ ) |   ;  ;  ;  ;  ;  ;  ; Not Buy |   ;  ;  ;  ; Not Buy |
217
218
| 187 | [ 187.Repeated_DNA_Sequences] ( https://leetcode.com/problems/Repeated-DNA-Sequences/ ) | [ Python  ; Java  ; C++] ( ./solutions/187.Repeated_DNA_Sequences ) | Coming soon |
218
219
| 188 | [ 188.Best_Time_to_Buy_and_Sell_Stock_IV] ( https://leetcode.com/problems/Best-Time-to-Buy-and-Sell-Stock-IV/ ) |   ;  ;  ;  ;  ;  ;  ;  ;  ;  ; [ C++] ( ./solutions/188.Best_Time_to_Buy_and_Sell_Stock_IV ) |   ;  ;  ;  ;  ;  ; [ Notes] ( ./solutions/188.Best_Time_to_Buy_and_Sell_Stock_IV ) |
@@ -289,7 +290,6 @@ I have solved 223 / 256 problems.=w=
289
290
| 259 | [ 259.3Sum_Smaller $] ( https://leetcode.com/problems/3Sum-Smaller/ ) |   ;  ;  ;  ;  ;  ;  ; Not Buy |   ;  ;  ;  ; Not Buy |
290
291
| 260 | [ 260.Single_Number_III] ( https://leetcode.com/problems/Single-Number-III/ ) |   ;  ;  ;  ;  ;  ;  ;  ;  ;  ;  ;  ;  ; [ ] ( ./solutions/260.Single_Number_III ) | Coming soon |
291
292
| 261 | [ 261.Graph_Valid_Tree $] ( https://leetcode.com/problems/Graph-Valid-Tree/ ) |   ;  ;  ;  ;  ;  ;  ; Not Buy |   ;  ;  ;  ; Not Buy |
292
- | 262 | [ 262_is_missing] ( https://leetcode.com/problems/is-missing/ ) |   ;  ;  ;  ;  ;  ;  ;  ;  ;  ;  ;  ;  ; [ ] ( ./solutions/262_is_missing ) | Coming soon |
293
293
| 263 | [ 263.Ugly_Number] ( https://leetcode.com/problems/Ugly-Number/ ) |   ;  ;  ; [ Python  ; C++] ( ./solutions/263.Ugly_Number ) |   ;  ;  ;  ;  ;  ; [ Notes] ( ./solutions/263.Ugly_Number ) |
294
294
| 264 | [ 264.Ugly_Number_II] ( https://leetcode.com/problems/Ugly-Number-II/ ) |   ;  ;  ;  ;  ;  ;  ;  ;  ;  ;  ;  ;  ; [ ] ( ./solutions/264.Ugly_Number_II ) | Coming soon |
295
295
| 265 | [ 265.Paint_House_II $] ( https://leetcode.com/problems/Paint-House-II/ ) |   ;  ;  ;  ;  ;  ;  ; Not Buy |   ;  ;  ;  ; Not Buy |
@@ -319,7 +319,7 @@ I have solved 223 / 256 problems.=w=
319
319
| 289 | [ 289.Game_of_Life] ( https://leetcode.com/problems/Game-of-Life/ ) |   ;  ;  ; [ Python  ; C++] ( ./solutions/289.Game_of_Life ) |   ;  ;  ;  ;  ;  ; [ Notes] ( ./solutions/289.Game_of_Life ) |
320
320
| 290 | [ 290.Word_Pattern] ( https://leetcode.com/problems/Word-Pattern/ ) |   ;  ;  ; [ Python  ; C++] ( ./solutions/290.Word_Pattern ) |   ;  ;  ;  ;  ;  ; [ Notes] ( ./solutions/290.Word_Pattern ) |
321
321
| 291 | [ 291.Word_Pattern_II $] ( https://leetcode.com/problems/Word-Pattern-II/ ) |   ;  ;  ;  ;  ;  ;  ; Not Buy |   ;  ;  ;  ; Not Buy |
322
- | 292 | [ 292.Nim_Game] ( https://leetcode.com/problems/Nim-Game/ ) |   ;  ;  ;  ;  ;  ;  ;  ;  ;  ;  ;  ;  ; [ ] ( ./solutions/292.Nim_Game ) | Coming soon |
322
+ | 292 | [ 292.Nim_Game] ( https://leetcode.com/problems/Nim-Game/ ) |   ;  ;  ;  ;  ;  ;  ;  ;  ;  ; [ C++ ] ( ./solutions/292.Nim_Game ) |   ;  ;  ;& nbsp ;& nbsp ;& nbsp ; [ Notes ] ( ./solutions/292.Nim_Game ) |
323
323
| 293 | [ 293.Flip_Game $] ( https://leetcode.com/problems/Flip-Game/ ) |   ;  ;  ;  ;  ;  ;  ; Not Buy |   ;  ;  ;  ; Not Buy |
324
324
| 294 | [ 294.Flip_Game_II $] ( https://leetcode.com/problems/Flip-Game-II/ ) |   ;  ;  ;  ;  ;  ;  ; Not Buy |   ;  ;  ;  ; Not Buy |
325
325
| 295 | [ 295.Find_Median_from_Data_Stream] ( https://leetcode.com/problems/Find-Median-from-Data-Stream/ ) |   ;  ;  ;  ;  ;  ;  ;  ;  ;  ;  ;  ;  ; [ ] ( ./solutions/295.Find_Median_from_Data_Stream ) | Coming soon |
@@ -328,3 +328,37 @@ I have solved 223 / 256 problems.=w=
328
328
| 298 | [ 298.Binary_Tree_Longest_Consecutive_Sequence $] ( https://leetcode.com/problems/Binary-Tree-Longest-Consecutive-Sequence/ ) |   ;  ;  ;  ;  ;  ;  ; Not Buy |   ;  ;  ;  ; Not Buy |
329
329
| 299 | [ 299.Bulls_and_Cows] ( https://leetcode.com/problems/Bulls-and-Cows/ ) |   ;  ;  ;  ;  ;  ;  ;  ;  ;  ; [ C++] ( ./solutions/299.Bulls_and_Cows ) | Coming soon |
330
330
| 300 | [ 300.Longest_Increasing_Subsequence] ( https://leetcode.com/problems/Longest-Increasing-Subsequence/ ) |   ;  ;  ;  ;  ;  ;  ;  ;  ;  ;  ;  ;  ; [ ] ( ./solutions/300.Longest_Increasing_Subsequence ) | Coming soon |
331
+ | 301 | [ 301.Remove_Invalid_Parentheses] ( https://leetcode.com/problems/Remove-Invalid-Parentheses/ ) |   ;  ;  ;  ;  ;  ;  ;  ;  ;  ;  ;  ;  ; [ ] ( ./solutions/301.Remove_Invalid_Parentheses ) | Coming soon |
332
+ | 302 | [ 302.Smallest_Rectangle_Enclosing_Bla... $] ( https://leetcode.com/problems/Smallest-Rectangle-Enclosing-Black-Pixels/ ) |   ;  ;  ;  ;  ;  ;  ; Not Buy |   ;  ;  ;  ; Not Buy |
333
+ | 303 | [ 303.Range_Sum_Query_ -_ Immutable] ( https://leetcode.com/problems/Range-Sum-Query---Immutable/ ) |   ;  ;  ;  ;  ;  ;  ;  ;  ;  ;  ;  ;  ; [ ] ( ./solutions/303.Range_Sum_Query_-_Immutable ) | Coming soon |
334
+ | 304 | [ 304.Range_Sum_Query_2D_ -_ Immutable] ( https://leetcode.com/problems/Range-Sum-Query-2D---Immutable/ ) |   ;  ;  ;  ;  ;  ;  ;  ;  ;  ;  ;  ;  ; [ ] ( ./solutions/304.Range_Sum_Query_2D_-_Immutable ) | Coming soon |
335
+ | 305 | [ 305.Number_of_Islands_II $] ( https://leetcode.com/problems/Number-of-Islands-II/ ) |   ;  ;  ;  ;  ;  ;  ; Not Buy |   ;  ;  ;  ; Not Buy |
336
+ | 306 | [ 306.Additive_Number] ( https://leetcode.com/problems/Additive-Number/ ) |   ;  ;  ;  ;  ;  ;  ;  ;  ;  ;  ;  ;  ; [ ] ( ./solutions/306.Additive_Number ) | Coming soon |
337
+ | 307 | [ 307.Range_Sum_Query_ -_ Mutable] ( https://leetcode.com/problems/Range-Sum-Query---Mutable/ ) |   ;  ;  ;  ;  ;  ;  ;  ;  ;  ;  ;  ;  ; [ ] ( ./solutions/307.Range_Sum_Query_-_Mutable ) | Coming soon |
338
+ | 308 | [ 308.Range_Sum_Query_2D_ -_ Mutable $] ( https://leetcode.com/problems/Range-Sum-Query-2D---Mutable/ ) |   ;  ;  ;  ;  ;  ;  ; Not Buy |   ;  ;  ;  ; Not Buy |
339
+ | 309 | [ 309.Best_Time_to_Buy_and_Sell_Stock_ ...] ( https://leetcode.com/problems/Best-Time-to-Buy-and-Sell-Stock-with-Cooldown/ ) |   ;  ;  ;  ;  ;  ;  ;  ;  ;  ;  ;  ;  ; [ ] ( ./solutions/309.Best_Time_to_Buy_and_Sell_Stock_with_Cooldown ) | Coming soon |
340
+ | 310 | [ 310.Minimum_Height_Trees] ( https://leetcode.com/problems/Minimum-Height-Trees/ ) |   ;  ;  ;  ;  ;  ;  ;  ;  ;  ;  ;  ;  ; [ ] ( ./solutions/310.Minimum_Height_Trees ) | Coming soon |
341
+ | 311 | [ 311.Sparse_Matrix_Multiplication $] ( https://leetcode.com/problems/Sparse-Matrix-Multiplication/ ) |   ;  ;  ;  ;  ;  ;  ; Not Buy |   ;  ;  ;  ; Not Buy |
342
+ | 312 | [ 312.Burst_Balloons] ( https://leetcode.com/problems/Burst-Balloons/ ) |   ;  ;  ;  ;  ;  ;  ;  ;  ;  ;  ;  ;  ; [ ] ( ./solutions/312.Burst_Balloons ) | Coming soon |
343
+ | 313 | [ 313.Super_Ugly_Number] ( https://leetcode.com/problems/Super-Ugly-Number/ ) |   ;  ;  ;  ;  ;  ;  ;  ;  ;  ;  ;  ;  ; [ ] ( ./solutions/313.Super_Ugly_Number ) | Coming soon |
344
+ | 314 | [ 314.Binary_Tree_Vertical_Order_Traversal $] ( https://leetcode.com/problems/Binary-Tree-Vertical-Order-Traversal/ ) |   ;  ;  ;  ;  ;  ;  ; Not Buy |   ;  ;  ;  ; Not Buy |
345
+ | 315 | [ 315.Count_of_Smaller_Numbers_After_Self] ( https://leetcode.com/problems/Count-of-Smaller-Numbers-After-Self/ ) |   ;  ;  ;  ;  ;  ;  ;  ;  ;  ;  ;  ;  ; [ ] ( ./solutions/315.Count_of_Smaller_Numbers_After_Self ) | Coming soon |
346
+ | 316 | [ 316.Remove_Duplicate_Letters] ( https://leetcode.com/problems/Remove-Duplicate-Letters/ ) |   ;  ;  ;  ;  ;  ;  ;  ;  ;  ;  ;  ;  ; [ ] ( ./solutions/316.Remove_Duplicate_Letters ) | Coming soon |
347
+ | 317 | [ 317.Shortest_Distance_from_All_Buildings $] ( https://leetcode.com/problems/Shortest-Distance-from-All-Buildings/ ) |   ;  ;  ;  ;  ;  ;  ; Not Buy |   ;  ;  ;  ; Not Buy |
348
+ | 318 | [ 318.Maximum_Product_of_Word_Lengths] ( https://leetcode.com/problems/Maximum-Product-of-Word-Lengths/ ) |   ;  ;  ;  ;  ;  ;  ;  ;  ;  ;  ;  ;  ; [ ] ( ./solutions/318.Maximum_Product_of_Word_Lengths ) | Coming soon |
349
+ | 319 | [ 319.Bulb_Switcher] ( https://leetcode.com/problems/Bulb-Switcher/ ) |   ;  ;  ;  ;  ;  ;  ;  ;  ;  ;  ;  ;  ; [ ] ( ./solutions/319.Bulb_Switcher ) | Coming soon |
350
+ | 320 | [ 320.Generalized_Abbreviation $] ( https://leetcode.com/problems/Generalized-Abbreviation/ ) |   ;  ;  ;  ;  ;  ;  ; Not Buy |   ;  ;  ;  ; Not Buy |
351
+ | 321 | [ 321.Create_Maximum_Number] ( https://leetcode.com/problems/Create-Maximum-Number/ ) |   ;  ;  ;  ;  ;  ;  ;  ;  ;  ;  ;  ;  ; [ ] ( ./solutions/321.Create_Maximum_Number ) | Coming soon |
352
+ | 322 | [ 322.Coin_Change] ( https://leetcode.com/problems/Coin-Change/ ) |   ;  ;  ;  ;  ;  ;  ;  ;  ;  ;  ;  ;  ; [ ] ( ./solutions/322.Coin_Change ) | Coming soon |
353
+ | 323 | [ 323.Number_of_Connected_Components_i... $] ( https://leetcode.com/problems/Number-of-Connected-Components-in-an-Undirected-Graph/ ) |   ;  ;  ;  ;  ;  ;  ; Not Buy |   ;  ;  ;  ; Not Buy |
354
+ | 324 | [ 324.Wiggle_Sort_II] ( https://leetcode.com/problems/Wiggle-Sort-II/ ) |   ;  ;  ;  ;  ;  ;  ;  ;  ;  ;  ;  ;  ; [ ] ( ./solutions/324.Wiggle_Sort_II ) | Coming soon |
355
+ | 325 | [ 325.Maximum_Size_Subarray_Sum_Equals_k $] ( https://leetcode.com/problems/Maximum-Size-Subarray-Sum-Equals-k/ ) |   ;  ;  ;  ;  ;  ;  ; Not Buy |   ;  ;  ;  ; Not Buy |
356
+ | 326 | [ 326.Power_of_Three] ( https://leetcode.com/problems/Power-of-Three/ ) |   ;  ;  ;  ;  ;  ;  ;  ;  ;  ;  ;  ;  ; [ ] ( ./solutions/326.Power_of_Three ) | Coming soon |
357
+ | 327 | [ 327.Count_of_Range_Sum] ( https://leetcode.com/problems/Count-of-Range-Sum/ ) |   ;  ;  ;  ;  ;  ;  ;  ;  ;  ;  ;  ;  ; [ ] ( ./solutions/327.Count_of_Range_Sum ) | Coming soon |
358
+ | 328 | [ 328.Odd_Even_Linked_List] ( https://leetcode.com/problems/Odd-Even-Linked-List/ ) |   ;  ;  ;  ;  ;  ;  ;  ;  ;  ;  ;  ;  ; [ ] ( ./solutions/328.Odd_Even_Linked_List ) | Coming soon |
359
+ | 329 | [ 329.Longest_Increasing_Path_in_a_Matrix] ( https://leetcode.com/problems/Longest-Increasing-Path-in-a-Matrix/ ) |   ;  ;  ;  ;  ;  ;  ;  ;  ;  ;  ;  ;  ; [ ] ( ./solutions/329.Longest_Increasing_Path_in_a_Matrix ) | Coming soon |
360
+ | 330 | [ 330.Patching_Array] ( https://leetcode.com/problems/Patching-Array/ ) |   ;  ;  ;  ;  ;  ;  ;  ;  ;  ;  ;  ;  ; [ ] ( ./solutions/330.Patching_Array ) | Coming soon |
361
+ | 331 | [ 331.Verify_Preorder_Serialization_of...] ( https://leetcode.com/problems/Verify-Preorder-Serialization-of-a-Binary-Tree/ ) |   ;  ;  ;  ;  ;  ;  ;  ;  ;  ;  ;  ;  ; [ ] ( ./solutions/331.Verify_Preorder_Serialization_of_a_Binary_Tree ) | Coming soon |
362
+ | 332 | [ 332.Reconstruct_Itinerary] ( https://leetcode.com/problems/Reconstruct-Itinerary/ ) |   ;  ;  ;  ;  ;  ;  ;  ;  ;  ;  ;  ;  ; [ ] ( ./solutions/332.Reconstruct_Itinerary ) | Coming soon |
363
+ | 333 | [ 333.Largest_BST_Subtree $] ( https://leetcode.com/problems/Largest-BST-Subtree/ ) |   ;  ;  ;  ;  ;  ;  ; Not Buy |   ;  ;  ;  ; Not Buy |
364
+ | 334 | [ 334.Increasing_Triplet_Subsequence] ( https://leetcode.com/problems/Increasing-Triplet-Subsequence/ ) |   ;  ;  ;  ;  ;  ;  ;  ;  ;  ;  ;  ;  ; [ ] ( ./solutions/334.Increasing_Triplet_Subsequence ) | Coming soon |
0 commit comments