@@ -30,6 +30,7 @@ Rust-based LeetCode algorithm problem solutions, regularly updated.
30
30
31
31
| <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- -->
32
32
|-|-|-|-|-|-
33
+ | 0136 |[ Single Number] ( src/main/rust/g0101_0200/s0136_single_number/Solution.rs ) | Easy | Top_100_Liked_Questions, Top_Interview_Questions, Array, Bit_Manipulation, Big_O_Time_O(N)_ Space_O(1) | 0 | 100.00
33
34
| 0007 |[ Reverse Integer] ( src/main/rust/g0001_0100/s0007_reverse_integer/Solution.rs ) | Medium | Top_Interview_Questions, Math | 0 | 100.00
34
35
| 0009 |[ Palindrome Number] ( src/main/rust/g0001_0100/s0009_palindrome_number/Solution.rs ) | Easy | Math | 0 | 100.00
35
36
@@ -47,11 +48,13 @@ Rust-based LeetCode algorithm problem solutions, regularly updated.
47
48
| <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- -->
48
49
|-|-|-|-|-|-
49
50
| 0033 |[ Search in Rotated Sorted Array] ( src/main/rust/g0001_0100/s0033_search_in_rotated_sorted_array/Solution.rs ) | Medium | Top_100_Liked_Questions, Top_Interview_Questions, Array, Binary_Search, Big_O_Time_O(log_n)_ Space_O(1) | 0 | 100.00
51
+ | 0153 |[ Find Minimum in Rotated Sorted Array] ( src/main/rust/g0101_0200/s0153_find_minimum_in_rotated_sorted_array/Solution.rs ) | Medium | Top_100_Liked_Questions, Array, Binary_Search, Big_O_Time_O(log_N)_ Space_O(log_N) | 1 | 77.10
50
52
51
53
#### Udemy Arrays
52
54
53
55
| <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- -->
54
56
|-|-|-|-|-|-
57
+ | 0121 |[ Best Time to Buy and Sell Stock] ( src/main/rust/g0101_0200/s0121_best_time_to_buy_and_sell_stock/Solution.rs ) | Easy | Top_100_Liked_Questions, Top_Interview_Questions, Array, Dynamic_Programming, Big_O_Time_O(N)_ Space_O(1) | 3 | 98.62
55
58
| 0001 |[ Two Sum] ( src/main/rust/g0001_0100/s0001_two_sum/Solution.rs ) | Easy | Top_100_Liked_Questions, Top_Interview_Questions, Array, Hash_Table, Big_O_Time_O(n)_ Space_O(n) | 0 | 100.00
56
59
| 0055 |[ Jump Game] ( src/main/rust/g0001_0100/s0055_jump_game/Solution.rs ) | Medium | Top_100_Liked_Questions, Top_Interview_Questions, Array, Dynamic_Programming, Greedy, Big_O_Time_O(n)_ Space_O(1) | 0 | 100.00
57
60
| 0075 |[ Sort Colors] ( src/main/rust/g0001_0100/s0075_sort_colors/Solution.rs ) | Medium | Top_100_Liked_Questions, Top_Interview_Questions, Array, Sorting, Two_Pointers, Big_O_Time_O(n)_ Space_O(1) | 0 | 100.00
@@ -92,6 +95,7 @@ Rust-based LeetCode algorithm problem solutions, regularly updated.
92
95
| 0024 |[ Swap Nodes in Pairs] ( src/main/rust/g0001_0100/s0024_swap_nodes_in_pairs/Solution.rs ) | Medium | Top_100_Liked_Questions, Linked_List, Recursion, Big_O_Time_O(n)_ Space_O(1) | 0 | 100.00
93
96
| 0021 |[ Merge Two Sorted Lists] ( src/main/rust/g0001_0100/s0021_merge_two_sorted_lists/Solution.rs ) | Easy | Top_100_Liked_Questions, Top_Interview_Questions, Linked_List, Recursion, Big_O_Time_O(m+n)_ Space_O(m+n) | 0 | 100.00
94
97
| 0025 |[ Reverse Nodes in k-Group] ( src/main/rust/g0001_0100/s0025_reverse_nodes_in_k_group/Solution.rs ) | Hard | Top_100_Liked_Questions, Linked_List, Recursion, Big_O_Time_O(n)_ Space_O(k) | 0 | 100.00
98
+ | 0146 |[ LRU Cache] ( src/main/rust/g0101_0200/s0146_lru_cache/LRUCache.rs ) | Medium | Top_100_Liked_Questions, Top_Interview_Questions, Hash_Table, Design, Linked_List, Doubly_Linked_List, Big_O_Time_O(1)_ Space_O(capacity) | 90 | 75.18
95
99
96
100
#### Udemy Tree Stack Queue
97
101
@@ -100,6 +104,7 @@ Rust-based LeetCode algorithm problem solutions, regularly updated.
100
104
| 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
101
105
| 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
102
106
| 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
107
+ | 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
103
108
| 0098 |[ Validate Binary Search Tree] ( src/main/rust/g0001_0100/s0098_validate_binary_search_tree/Solution.rs ) | Medium | String, Dynamic_Programming | 1 | 77.46
104
109
105
110
#### Udemy Trie and Heap
@@ -116,6 +121,8 @@ Rust-based LeetCode algorithm problem solutions, regularly updated.
116
121
117
122
| <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- -->
118
123
|-|-|-|-|-|-
124
+ | 0139 |[ Word Break] ( src/main/rust/g0101_0200/s0139_word_break/Solution.rs ) | Medium | Top_100_Liked_Questions, Top_Interview_Questions, String, Hash_Table, Dynamic_Programming, Trie, Memoization, Big_O_Time_O(M+max\* N)_ Space_O(M+N+max) | 0 | 100.00
125
+ | 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
119
126
| 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
120
127
| 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
121
128
| 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
@@ -159,6 +166,7 @@ Rust-based LeetCode algorithm problem solutions, regularly updated.
159
166
160
167
| <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- -->
161
168
|-|-|-|-|-|-
169
+ | 0121 |[ Best Time to Buy and Sell Stock] ( src/main/rust/g0101_0200/s0121_best_time_to_buy_and_sell_stock/Solution.rs ) | Easy | Top_100_Liked_Questions, Top_Interview_Questions, Array, Dynamic_Programming, Big_O_Time_O(N)_ Space_O(1) | 3 | 98.62
162
170
163
171
#### Day 4 Array
164
172
@@ -229,6 +237,7 @@ Rust-based LeetCode algorithm problem solutions, regularly updated.
229
237
230
238
| <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- -->
231
239
|-|-|-|-|-|-
240
+ | 0136 |[ Single Number] ( src/main/rust/g0101_0200/s0136_single_number/Solution.rs ) | Easy | Top_100_Liked_Questions, Top_Interview_Questions, Array, Bit_Manipulation, Big_O_Time_O(N)_ Space_O(1) | 0 | 100.00
232
241
| 0015 |[ 3Sum] ( src/main/rust/g0001_0100/s0015_3sum/Solution.rs ) | Medium | Top_100_Liked_Questions, Top_Interview_Questions, Array, Sorting, Two_Pointers, Big_O_Time_O(n\* log(n))_ Space_O(n^2) | 27 | 81.94
233
242
234
243
#### Day 2 Array
@@ -417,6 +426,7 @@ Rust-based LeetCode algorithm problem solutions, regularly updated.
417
426
418
427
| <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- -->
419
428
|-|-|-|-|-|-
429
+ | 0136 |[ Single Number] ( src/main/rust/g0101_0200/s0136_single_number/Solution.rs ) | Easy | Top_100_Liked_Questions, Top_Interview_Questions, Array, Bit_Manipulation, Big_O_Time_O(N)_ Space_O(1) | 0 | 100.00
420
430
421
431
### Algorithm II
422
432
@@ -432,6 +442,7 @@ Rust-based LeetCode algorithm problem solutions, regularly updated.
432
442
433
443
| <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- -->
434
444
|-|-|-|-|-|-
445
+ | 0153 |[ Find Minimum in Rotated Sorted Array] ( src/main/rust/g0101_0200/s0153_find_minimum_in_rotated_sorted_array/Solution.rs ) | Medium | Top_100_Liked_Questions, Array, Binary_Search, Big_O_Time_O(log_N)_ Space_O(log_N) | 1 | 77.10
435
446
436
447
#### Day 3 Two Pointers
437
448
@@ -508,6 +519,7 @@ Rust-based LeetCode algorithm problem solutions, regularly updated.
508
519
509
520
| <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- -->
510
521
|-|-|-|-|-|-
522
+ | 0139 |[ Word Break] ( src/main/rust/g0101_0200/s0139_word_break/Solution.rs ) | Medium | Top_100_Liked_Questions, Top_Interview_Questions, String, Hash_Table, Dynamic_Programming, Trie, Memoization, Big_O_Time_O(M+max\* N)_ Space_O(M+N+max) | 0 | 100.00
511
523
512
524
#### Day 16 Dynamic Programming
513
525
@@ -605,6 +617,7 @@ Rust-based LeetCode algorithm problem solutions, regularly updated.
605
617
606
618
| <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- -->
607
619
|-|-|-|-|-|-
620
+ | 0153 |[ Find Minimum in Rotated Sorted Array] ( src/main/rust/g0101_0200/s0153_find_minimum_in_rotated_sorted_array/Solution.rs ) | Medium | Top_100_Liked_Questions, Array, Binary_Search, Big_O_Time_O(log_N)_ Space_O(log_N) | 1 | 77.10
608
621
609
622
### Binary Search II
610
623
@@ -743,11 +756,13 @@ Rust-based LeetCode algorithm problem solutions, regularly updated.
743
756
744
757
| <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- -->
745
758
|-|-|-|-|-|-
759
+ | 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
746
760
747
761
#### Day 7
748
762
749
763
| <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- -->
750
764
|-|-|-|-|-|-
765
+ | 0121 |[ Best Time to Buy and Sell Stock] ( src/main/rust/g0101_0200/s0121_best_time_to_buy_and_sell_stock/Solution.rs ) | Easy | Top_100_Liked_Questions, Top_Interview_Questions, Array, Dynamic_Programming, Big_O_Time_O(N)_ Space_O(1) | 3 | 98.62
751
766
752
767
#### Day 8
753
768
@@ -758,6 +773,7 @@ Rust-based LeetCode algorithm problem solutions, regularly updated.
758
773
759
774
| <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- -->
760
775
|-|-|-|-|-|-
776
+ | 0139 |[ Word Break] ( src/main/rust/g0101_0200/s0139_word_break/Solution.rs ) | Medium | Top_100_Liked_Questions, Top_Interview_Questions, String, Hash_Table, Dynamic_Programming, Trie, Memoization, Big_O_Time_O(M+max\* N)_ Space_O(M+N+max) | 0 | 100.00
761
777
| 0042 |[ Trapping Rain Water] ( src/main/rust/g0001_0100/s0042_trapping_rain_water/Solution.rs ) | Hard | Top_100_Liked_Questions, Top_Interview_Questions, Array, Dynamic_Programming, Two_Pointers, Stack, Monotonic_Stack, Big_O_Time_O(n)_ Space_O(1) | 0 | 100.00
762
778
763
779
#### Day 10
@@ -1144,6 +1160,7 @@ Rust-based LeetCode algorithm problem solutions, regularly updated.
1144
1160
1145
1161
| <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- -->
1146
1162
|-|-|-|-|-|-
1163
+ | 0121 |[ Best Time to Buy and Sell Stock] ( src/main/rust/g0101_0200/s0121_best_time_to_buy_and_sell_stock/Solution.rs ) | Easy | Top_100_Liked_Questions, Top_Interview_Questions, Array, Dynamic_Programming, Big_O_Time_O(N)_ Space_O(1) | 3 | 98.62
1147
1164
1148
1165
#### Day 6 Tree
1149
1166
@@ -1222,6 +1239,7 @@ Rust-based LeetCode algorithm problem solutions, regularly updated.
1222
1239
1223
1240
| <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- -->
1224
1241
|-|-|-|-|-|-
1242
+ | 0148 |[ Sort List] ( src/main/rust/g0101_0200/s0148_sort_list/Solution.rs ) | Medium | Top_100_Liked_Questions, Top_Interview_Questions, Sorting, Two_Pointers, Linked_List, Divide_and_Conquer, Merge_Sort, Big_O_Time_O(log(N))_ Space_O(log(N)) | 21 | 81.82
1225
1243
1226
1244
#### Day 5 Greedy
1227
1245
@@ -1269,6 +1287,7 @@ Rust-based LeetCode algorithm problem solutions, regularly updated.
1269
1287
1270
1288
| <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- -->
1271
1289
|-|-|-|-|-|-
1290
+ | 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
1272
1291
1273
1292
#### Day 14 Sliding Window/Two Pointer
1274
1293
@@ -1315,6 +1334,16 @@ Rust-based LeetCode algorithm problem solutions, regularly updated.
1315
1334
1316
1335
| # | Title | Difficulty | Tag | Time, ms | Time, %
1317
1336
|------|----------------|-------------|-------------|----------|---------
1337
+ | 0153 |[ Find Minimum in Rotated Sorted Array] ( src/main/rust/g0101_0200/s0153_find_minimum_in_rotated_sorted_array/Solution.rs ) | Medium | Top_100_Liked_Questions, Array, Binary_Search, Algorithm_II_Day_2_Binary_Search, Binary_Search_I_Day_12, Udemy_Binary_Search, Big_O_Time_O(log_N)_ Space_O(log_N) | 1 | 77.10
1338
+ | 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, Dynamic_Programming_I_Day_6, Level_2_Day_13_Dynamic_Programming, Udemy_Dynamic_Programming, Big_O_Time_O(N)_ Space_O(1) | 1 | 71.23
1339
+ | 0148 |[ Sort List] ( src/main/rust/g0101_0200/s0148_sort_list/Solution.rs ) | Medium | Top_100_Liked_Questions, Top_Interview_Questions, Sorting, Two_Pointers, Linked_List, Divide_and_Conquer, Merge_Sort, Level_2_Day_4_Linked_List, Big_O_Time_O(log(N))_ Space_O(log(N)) | 21 | 81.82
1340
+ | 0146 |[ LRU Cache] ( src/main/rust/g0101_0200/s0146_lru_cache/LRUCache.rs ) | Medium | Top_100_Liked_Questions, Top_Interview_Questions, Hash_Table, Design, Linked_List, Doubly_Linked_List, Udemy_Linked_List, Big_O_Time_O(1)_ Space_O(capacity) | 90 | 75.18
1341
+ | 0139 |[ Word Break] ( src/main/rust/g0101_0200/s0139_word_break/Solution.rs ) | Medium | Top_100_Liked_Questions, Top_Interview_Questions, String, Hash_Table, Dynamic_Programming, Trie, Memoization, Algorithm_II_Day_15_Dynamic_Programming, Dynamic_Programming_I_Day_9, Udemy_Dynamic_Programming, Big_O_Time_O(M+max\* N)_ Space_O(M+N+max) | 0 | 100.00
1342
+ | 0136 |[ Single Number] ( src/main/rust/g0101_0200/s0136_single_number/Solution.rs ) | Easy | Top_100_Liked_Questions, Top_Interview_Questions, Array, Bit_Manipulation, Data_Structure_II_Day_1_Array, Algorithm_I_Day_14_Bit_Manipulation, Udemy_Integers, Big_O_Time_O(N)_ Space_O(1) | 0 | 100.00
1343
+ | 0131 |[ Palindrome Partitioning] ( src/main/rust/g0101_0200/s0131_palindrome_partitioning/Solution.rs ) | Medium | Top_100_Liked_Questions, Top_Interview_Questions, String, Dynamic_Programming, Backtracking, Big_O_Time_O(N\* 2^N)_ Space_O(2^N\* N) | 65 | 85.18
1344
+ | 0128 |[ Longest Consecutive Sequence] ( src/main/rust/g0101_0200/s0128_longest_consecutive_sequence/Solution.rs ) | Medium | Top_100_Liked_Questions, Top_Interview_Questions, Array, Hash_Table, Union_Find, Big_O_Time_O(N_log_N)_ Space_O(1) | 4 | 99.44
1345
+ | 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, Udemy_Tree_Stack_Queue, Big_O_Time_O(N)_ Space_O(N) | 0 | 100.00
1346
+ | 0121 |[ Best Time to Buy and Sell Stock] ( src/main/rust/g0101_0200/s0121_best_time_to_buy_and_sell_stock/Solution.rs ) | Easy | Top_100_Liked_Questions, Top_Interview_Questions, Array, Dynamic_Programming, Data_Structure_I_Day_3_Array, Dynamic_Programming_I_Day_7, Level_1_Day_5_Greedy, Udemy_Arrays, Big_O_Time_O(N)_ Space_O(1) | 3 | 98.62
1318
1347
| 0114 |[ Flatten Binary Tree to Linked List] ( src/main/rust/g0101_0200/s0114_flatten_binary_tree_to_linked_list/Solution.rs ) | Medium | Array, Hash_Table, Tree, Binary_Tree, Divide_and_Conquer | 0 | 100.00
1319
1348
| 0105 |[ Construct Binary Tree from Preorder and Inorder Traversal] ( src/main/rust/g0101_0200/s0105_construct_binary_tree_from_preorder_and_inorder_traversal/Solution.rs ) | Medium | Top_100_Liked_Questions, Top_Interview_Questions, Array, Hash_Table, Tree, Binary_Tree, Divide_and_Conquer, Data_Structure_II_Day_15_Tree, Big_O_Time_O(N)_ Space_O(N) | 2 | 84.72
1320
1349
| 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, Data_Structure_I_Day_11_Tree, Programming_Skills_I_Day_10_Linked_List_and_Tree, Udemy_Tree_Stack_Queue, Big_O_Time_O(N)_ Space_O(H) | 1 | 80.46
0 commit comments