@@ -41,6 +41,7 @@ Rust-based LeetCode algorithm problem solutions, regularly updated.
41
41
| 0003 |[ Longest Substring Without Repeating Characters] ( src/main/rust/g0001_0100/s0003_longest_substring_without_repeating_characters/Solution.rs ) | Medium | Top_100_Liked_Questions, Top_Interview_Questions, String, Hash_Table, Sliding_Window, Big_O_Time_O(n)_ Space_O(1) | 0 | 100.00
42
42
| 0020 |[ Valid Parentheses] ( src/main/rust/g0001_0100/s0020_valid_parentheses/Solution.rs ) | Easy | Top_100_Liked_Questions, Top_Interview_Questions, String, Stack, Big_O_Time_O(n)_ Space_O(n) | 0 | 100.00
43
43
| 0005 |[ Longest Palindromic Substring] ( src/main/rust/g0001_0100/s0005_longest_palindromic_substring/Solution.rs ) | Medium | Top_100_Liked_Questions, Top_Interview_Questions, String, Dynamic_Programming, Big_O_Time_O(n)_ Space_O(n) | 1 | 92.60
44
+ | 0394 |[ Decode String] ( src/main/rust/g0301_0400/s0394_decode_string/Solution.rs ) | Medium | Top_100_Liked_Questions, String, Stack, Recursion, Big_O_Time_O(n)_ Space_O(n) | 0 | 100.00
44
45
| 0049 |[ Group Anagrams] ( src/main/rust/g0001_0100/s0049_group_anagrams/Solution.rs ) | Medium | Top_100_Liked_Questions, Top_Interview_Questions, Array, String, Hash_Table, Sorting, Big_O_Time_O(n\* k_log_k)_ Space_O(n) | 0 | 100.00
45
46
46
47
#### Udemy Binary Search
@@ -110,6 +111,7 @@ Rust-based LeetCode algorithm problem solutions, regularly updated.
110
111
|-|-|-|-|-|-
111
112
| 0094 |[ Binary Tree Inorder Traversal] ( src/main/rust/g0001_0100/s0094_binary_tree_inorder_traversal/Solution.rs ) | Easy | Top_100_Liked_Questions, Top_Interview_Questions, Depth_First_Search, Tree, Binary_Tree, Stack, Big_O_Time_O(n)_ Space_O(n) | 0 | 100.00
112
113
| 0102 |[ Binary Tree Level Order Traversal] ( src/main/rust/g0101_0200/s0102_binary_tree_level_order_traversal/Solution.rs ) | Medium | Top_100_Liked_Questions, Top_Interview_Questions, Breadth_First_Search, Tree, Binary_Tree, Big_O_Time_O(N)_ Space_O(N) | 1 | 80.61
114
+ | 0543 |[ Diameter of Binary Tree] ( src/main/rust/g0501_0600/s0543_diameter_of_binary_tree/Solution.java ) | Easy | Top_100_Liked_Questions, Depth_First_Search, Tree, Binary_Tree, Big_O_Time_O(n)_ Space_O(n) | 1 | 65.86
113
115
| 0226 |[ Invert Binary Tree] ( src/main/rust/g0201_0300/s0226_invert_binary_tree/Solution.rs ) | Easy | Top_100_Liked_Questions, Depth_First_Search, Breadth_First_Search, Tree, Binary_Tree, Big_O_Time_O(n)_ Space_O(n) | 0 | 100.00
114
116
| 0104 |[ Maximum Depth of Binary Tree] ( src/main/rust/g0101_0200/s0104_maximum_depth_of_binary_tree/Solution.rs ) | Easy | Top_100_Liked_Questions, Top_Interview_Questions, Depth_First_Search, Breadth_First_Search, Tree, Binary_Tree, Big_O_Time_O(N)_ Space_O(H) | 1 | 80.46
115
117
| 0124 |[ Binary Tree Maximum Path Sum] ( src/main/rust/g0101_0200/s0124_binary_tree_maximum_path_sum/Solution.rs ) | Hard | Top_100_Liked_Questions, Top_Interview_Questions, Dynamic_Programming, Depth_First_Search, Tree, Binary_Tree, Big_O_Time_O(N)_ Space_O(N) | 0 | 100.00
@@ -137,6 +139,7 @@ Rust-based LeetCode algorithm problem solutions, regularly updated.
137
139
| 0198 |[ House Robber] ( src/main/rust/g0101_0200/s0198_house_robber/Solution.rs ) | Medium | Top_100_Liked_Questions, Top_Interview_Questions, Array, Dynamic_Programming, Big_O_Time_O(n)_ Space_O(n) | 0 | 100.00
138
140
| 0070 |[ Climbing Stairs] ( src/main/rust/g0001_0100/s0070_climbing_stairs/Solution.rs ) | Easy | Top_100_Liked_Questions, Top_Interview_Questions, Dynamic_Programming, Math, Memoization, Big_O_Time_O(n)_ Space_O(n) | 0 | 100.00
139
141
| 0064 |[ Minimum Path Sum] ( src/main/rust/g0001_0100/s0064_minimum_path_sum/Solution.rs ) | Medium | Top_100_Liked_Questions, Array, Dynamic_Programming, Matrix, Big_O_Time_O(m\* n)_ Space_O(m\* n) | 0 | 100.00
142
+ | 0300 |[ Longest Increasing Subsequence] ( src/main/rust/g0201_0300/s0300_longest_increasing_subsequence/Solution.rs ) | Medium | Top_100_Liked_Questions, Array, Dynamic_Programming, Binary_Search, Big_O_Time_O(n\* log_n)_ Space_O(n) | 0 | 100.00
140
143
| 0072 |[ Edit Distance] ( src/main/rust/g0001_0100/s0072_edit_distance/Solution.rs ) | Medium | Top_100_Liked_Questions, String, Dynamic_Programming, Big_O_Time_O(n^2)_ Space_O(n2) | 0 | 100.00
141
144
| 0010 |[ Regular Expression Matching] ( src/main/rust/g0001_0100/s0010_regular_expression_matching/Solution.rs ) | Hard | Top_Interview_Questions, String, Dynamic_Programming, Recursion, Big_O_Time_O(m\* n)_ Space_O(m\* n) | 0 | 100.00
142
145
@@ -154,6 +157,7 @@ Rust-based LeetCode algorithm problem solutions, regularly updated.
154
157
155
158
| <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- -->
156
159
|-|-|-|-|-|-
160
+ | 0338 |[ Counting Bits] ( src/main/rust/g0301_0400/s0338_counting_bits/Solution.rs ) | Easy | Dynamic_Programming, Bit_Manipulation, Big_O_Time_O(num)_ Space_O(num) | 0 | 100.00
157
161
158
162
#### Udemy Design
159
163
@@ -365,6 +369,7 @@ Rust-based LeetCode algorithm problem solutions, regularly updated.
365
369
| <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- -->
366
370
|-|-|-|-|-|-
367
371
| 0215 |[ Kth Largest Element in an Array] ( src/main/rust/g0201_0300/s0215_kth_largest_element_in_an_array/Solution.rs ) | Medium | Top_100_Liked_Questions, Top_Interview_Questions, Array, Sorting, Heap_Priority_Queue, Divide_and_Conquer, Quickselect, Big_O_Time_O(n\* log(n))_ Space_O(log(n)) | 10 | 90.24
372
+ | 0347 |[ Top K Frequent Elements] ( src/main/rust/g0301_0400/s0347_top_k_frequent_elements/Solution.rs ) | Medium | Top_100_Liked_Questions, Array, Hash_Table, Sorting, Heap_Priority_Queue, Counting, Divide_and_Conquer, Quickselect, Bucket_Sort, Big_O_Time_O(n\* log(n))_ Space_O(k) | 0 | 100.00
368
373
369
374
#### Day 21 Heap Priority Queue
370
375
@@ -486,6 +491,7 @@ Rust-based LeetCode algorithm problem solutions, regularly updated.
486
491
487
492
| <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- -->
488
493
|-|-|-|-|-|-
494
+ | 0438 |[ Find All Anagrams in a String] ( src/main/rust/g0401_0500/s0438_find_all_anagrams_in_a_string/Solution.rs ) | Medium | Top_100_Liked_Questions, String, Hash_Table, Sliding_Window, Big_O_Time_O(n+m)_ Space_O(1) | 2 | 89.29
489
495
490
496
#### Day 6 Breadth First Search Depth First Search
491
497
@@ -552,6 +558,7 @@ Rust-based LeetCode algorithm problem solutions, regularly updated.
552
558
553
559
| <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- -->
554
560
|-|-|-|-|-|-
561
+ | 0300 |[ Longest Increasing Subsequence] ( src/main/rust/g0201_0300/s0300_longest_increasing_subsequence/Solution.rs ) | Medium | Top_100_Liked_Questions, Array, Dynamic_Programming, Binary_Search, Big_O_Time_O(n\* log_n)_ Space_O(n) | 0 | 100.00
555
562
556
563
#### Day 17 Dynamic Programming
557
564
@@ -563,6 +570,7 @@ Rust-based LeetCode algorithm problem solutions, regularly updated.
563
570
| <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- -->
564
571
|-|-|-|-|-|-
565
572
| 0072 |[ Edit Distance] ( src/main/rust/g0001_0100/s0072_edit_distance/Solution.rs ) | Medium | Top_100_Liked_Questions, String, Dynamic_Programming, Big_O_Time_O(n^2)_ Space_O(n2) | 0 | 100.00
573
+ | 0322 |[ Coin Change] ( src/main/rust/g0301_0400/s0322_coin_change/Solution.rs ) | Medium | Top_100_Liked_Questions, Array, Dynamic_Programming, Breadth_First_Search, Big_O_Time_O(m\* n)_ Space_O(amount) | 3 | 100.00
566
574
567
575
#### Day 19 Bit Manipulation
568
576
@@ -662,6 +670,7 @@ Rust-based LeetCode algorithm problem solutions, regularly updated.
662
670
663
671
| <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- -->
664
672
|-|-|-|-|-|-
673
+ | 0300 |[ Longest Increasing Subsequence] ( src/main/rust/g0201_0300/s0300_longest_increasing_subsequence/Solution.rs ) | Medium | Top_100_Liked_Questions, Array, Dynamic_Programming, Binary_Search, Big_O_Time_O(n\* log_n)_ Space_O(n) | 0 | 100.00
665
674
666
675
#### Day 4
667
676
@@ -855,6 +864,7 @@ Rust-based LeetCode algorithm problem solutions, regularly updated.
855
864
856
865
| <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- -->
857
866
|-|-|-|-|-|-
867
+ | 0300 |[ Longest Increasing Subsequence] ( src/main/rust/g0201_0300/s0300_longest_increasing_subsequence/Solution.rs ) | Medium | Top_100_Liked_Questions, Array, Dynamic_Programming, Binary_Search, Big_O_Time_O(n\* log_n)_ Space_O(n) | 0 | 100.00
858
868
859
869
#### Day 19
860
870
@@ -866,6 +876,7 @@ Rust-based LeetCode algorithm problem solutions, regularly updated.
866
876
867
877
| <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- -->
868
878
|-|-|-|-|-|-
879
+ | 0322 |[ Coin Change] ( src/main/rust/g0301_0400/s0322_coin_change/Solution.rs ) | Medium | Top_100_Liked_Questions, Array, Dynamic_Programming, Breadth_First_Search, Big_O_Time_O(m\* n)_ Space_O(amount) | 3 | 100.00
869
880
870
881
#### Day 21
871
882
@@ -999,6 +1010,7 @@ Rust-based LeetCode algorithm problem solutions, regularly updated.
999
1010
1000
1011
| <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- -->
1001
1012
|-|-|-|-|-|-
1013
+ | 0438 |[ Find All Anagrams in a String] ( src/main/rust/g0401_0500/s0438_find_all_anagrams_in_a_string/Solution.rs ) | Medium | Top_100_Liked_Questions, String, Hash_Table, Sliding_Window, Big_O_Time_O(n+m)_ Space_O(1) | 2 | 89.29
1002
1014
1003
1015
#### Day 13
1004
1016
@@ -1236,6 +1248,7 @@ Rust-based LeetCode algorithm problem solutions, regularly updated.
1236
1248
1237
1249
| <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- -->
1238
1250
|-|-|-|-|-|-
1251
+ | 0438 |[ Find All Anagrams in a String] ( src/main/rust/g0401_0500/s0438_find_all_anagrams_in_a_string/Solution.rs ) | Medium | Top_100_Liked_Questions, String, Hash_Table, Sliding_Window, Big_O_Time_O(n+m)_ Space_O(1) | 2 | 89.29
1239
1252
1240
1253
#### Day 13 Hashmap
1241
1254
@@ -1247,6 +1260,7 @@ Rust-based LeetCode algorithm problem solutions, regularly updated.
1247
1260
1248
1261
| <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- -->
1249
1262
|-|-|-|-|-|-
1263
+ | 0394 |[ Decode String] ( src/main/rust/g0301_0400/s0394_decode_string/Solution.rs ) | Medium | Top_100_Liked_Questions, String, Stack, Recursion, Big_O_Time_O(n)_ Space_O(n) | 0 | 100.00
1250
1264
1251
1265
#### Day 15 Heap
1252
1266
@@ -1293,6 +1307,8 @@ Rust-based LeetCode algorithm problem solutions, regularly updated.
1293
1307
1294
1308
| <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- -->
1295
1309
|-|-|-|-|-|-
1310
+ | 0543 |[ Diameter of Binary Tree] ( src/main/rust/g0501_0600/s0543_diameter_of_binary_tree/Solution.java ) | Easy | Top_100_Liked_Questions, Depth_First_Search, Tree, Binary_Tree, Big_O_Time_O(n)_ Space_O(n) | 1 | 65.86
1311
+ | 0437 |[ Path Sum III] ( src/main/rust/g0401_0500/s0437_path_sum_iii/Solution.rs ) | Medium | Depth_First_Search, Tree, Binary_Tree, Big_O_Time_O(n)_ Space_O(n) | 0 | 100.00
1296
1312
1297
1313
#### Day 8 Binary Search
1298
1314
@@ -1322,11 +1338,13 @@ Rust-based LeetCode algorithm problem solutions, regularly updated.
1322
1338
| <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- -->
1323
1339
|-|-|-|-|-|-
1324
1340
| 0198 |[ House Robber] ( src/main/rust/g0101_0200/s0198_house_robber/Solution.rs ) | Medium | Top_100_Liked_Questions, Top_Interview_Questions, Array, Dynamic_Programming, Big_O_Time_O(n)_ Space_O(n) | 0 | 100.00
1341
+ | 0322 |[ Coin Change] ( src/main/rust/g0301_0400/s0322_coin_change/Solution.rs ) | Medium | Top_100_Liked_Questions, Array, Dynamic_Programming, Breadth_First_Search, Big_O_Time_O(m\* n)_ Space_O(amount) | 3 | 100.00
1325
1342
1326
1343
#### Day 13 Dynamic Programming
1327
1344
1328
1345
| <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- -->
1329
1346
|-|-|-|-|-|-
1347
+ | 0416 |[ Partition Equal Subset Sum] ( src/main/rust/g0401_0500/s0416_partition_equal_subset_sum/Solution.rs ) | Medium | Top_100_Liked_Questions, Array, Dynamic_Programming, Big_O_Time_O(n\* sums)_ Space_O(n\* sums) | 20 | 74.07
1330
1348
| 0152 |[ Maximum Product Subarray] ( src/main/rust/g0101_0200/s0152_maximum_product_subarray/Solution.rs ) | Medium | Top_100_Liked_Questions, Top_Interview_Questions, Array, Dynamic_Programming, Big_O_Time_O(N)_ Space_O(1) | 1 | 71.23
1331
1349
1332
1350
#### Day 14 Sliding Window/Two Pointer
@@ -1376,6 +1394,16 @@ Rust-based LeetCode algorithm problem solutions, regularly updated.
1376
1394
1377
1395
| # | Title | Difficulty | Tag | Time, ms | Time, %
1378
1396
|------|----------------|-------------|-------------|----------|---------
1397
+ | 0543 |[ Diameter of Binary Tree] ( src/main/rust/g0501_0600/s0543_diameter_of_binary_tree/Solution.java ) | Easy | Top_100_Liked_Questions, Depth_First_Search, Tree, Binary_Tree, Level_2_Day_7_Tree, Udemy_Tree_Stack_Queue, Big_O_Time_O(n)_ Space_O(n) | 1 | 65.86
1398
+ | 0494 |[ Target Sum] ( src/main/rust/g0401_0500/s0494_target_sum/Solution.rs ) | Medium | Array, Dynamic_Programming, Backtracking, Big_O_Time_O(n\* (sum+s))_ Space_O(n\* (sum+s)) | 3 | 83.33
1399
+ | 0438 |[ Find All Anagrams in a String] ( src/main/rust/g0401_0500/s0438_find_all_anagrams_in_a_string/Solution.rs ) | Medium | Top_100_Liked_Questions, String, Hash_Table, Sliding_Window, Algorithm_II_Day_5_Sliding_Window, Programming_Skills_II_Day_12, Level_1_Day_12_Sliding_Window/Two_Pointer, Big_O_Time_O(n+m)_ Space_O(1) | 2 | 89.29
1400
+ | 0437 |[ Path Sum III] ( src/main/rust/g0401_0500/s0437_path_sum_iii/Solution.rs ) | Medium | Depth_First_Search, Tree, Binary_Tree, Level_2_Day_7_Tree, Big_O_Time_O(n)_ Space_O(n) | 0 | 100.00
1401
+ | 0416 |[ Partition Equal Subset Sum] ( src/main/rust/g0401_0500/s0416_partition_equal_subset_sum/Solution.rs ) | Medium | Top_100_Liked_Questions, Array, Dynamic_Programming, Level_2_Day_13_Dynamic_Programming, Big_O_Time_O(n\* sums)_ Space_O(n\* sums) | 20 | 74.07
1402
+ | 0394 |[ Decode String] ( src/main/rust/g0301_0400/s0394_decode_string/Solution.rs ) | Medium | Top_100_Liked_Questions, String, Stack, Recursion, Level_1_Day_14_Stack, Udemy_Strings, Big_O_Time_O(n)_ Space_O(n) | 0 | 100.00
1403
+ | 0347 |[ Top K Frequent Elements] ( src/main/rust/g0301_0400/s0347_top_k_frequent_elements/Solution.rs ) | Medium | Top_100_Liked_Questions, Array, Hash_Table, Sorting, Heap_Priority_Queue, Counting, Divide_and_Conquer, Quickselect, Bucket_Sort, Data_Structure_II_Day_20_Heap_Priority_Queue, Big_O_Time_O(n\* log(n))_ Space_O(k) | 0 | 100.00
1404
+ | 0338 |[ Counting Bits] ( src/main/rust/g0301_0400/s0338_counting_bits/Solution.rs ) | Easy | Dynamic_Programming, Bit_Manipulation, Udemy_Bit_Manipulation, Big_O_Time_O(num)_ Space_O(num) | 0 | 100.00
1405
+ | 0322 |[ Coin Change] ( src/main/rust/g0301_0400/s0322_coin_change/Solution.rs ) | Medium | Top_100_Liked_Questions, Array, Dynamic_Programming, Breadth_First_Search, Algorithm_II_Day_18_Dynamic_Programming, Dynamic_Programming_I_Day_20, Level_2_Day_12_Dynamic_Programming, Big_O_Time_O(m\* n)_ Space_O(amount) | 3 | 100.00
1406
+ | 0300 |[ Longest Increasing Subsequence] ( src/main/rust/g0201_0300/s0300_longest_increasing_subsequence/Solution.rs ) | Medium | Top_100_Liked_Questions, Array, Dynamic_Programming, Binary_Search, Algorithm_II_Day_16_Dynamic_Programming, Binary_Search_II_Day_3, Dynamic_Programming_I_Day_18, Udemy_Dynamic_Programming, Big_O_Time_O(n\* log_n)_ Space_O(n) | 0 | 100.00
1379
1407
| 0295 |[ Find Median from Data Stream] ( src/main/rust/g0201_0300/s0295_find_median_from_data_stream/MedianFinder.rs ) | Hard | Top_100_Liked_Questions, Sorting, Two_Pointers, Design, Heap_Priority_Queue, Data_Stream, Big_O_Time_O(n\* log_n)_ Space_O(n) | 58 | 99.02
1380
1408
| 0287 |[ Find the Duplicate Number] ( src/main/rust/g0201_0300/s0287_find_the_duplicate_number/Solution.rs ) | Medium | Top_100_Liked_Questions, Array, Binary_Search, Two_Pointers, Bit_Manipulation, Binary_Search_II_Day_5, Big_O_Time_O(n)_ Space_O(n) | 4 | 98.95
1381
1409
| 0283 |[ Move Zeroes] ( src/main/rust/g0201_0300/s0283_move_zeroes/Solution.rs ) | Easy | Top_100_Liked_Questions, Array, Two_Pointers, Algorithm_I_Day_3_Two_Pointers, Programming_Skills_I_Day_6_Array, Udemy_Arrays, Big_O_Time_O(n)_ Space_O(1) | 0 | 100.00
0 commit comments