@@ -88,6 +88,7 @@ Rust-based LeetCode algorithm problem solutions, regularly updated.
88
88
89
89
| <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- -->
90
90
|-|-|-|-|-|-
91
+ | 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, 2024_09_08_Time_0_ms_ (100.00%)_ Space_2.7_MB_ (50.00%) | ug, | ug,
91
92
| 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
92
93
| 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
93
94
| 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
@@ -96,6 +97,10 @@ Rust-based LeetCode algorithm problem solutions, regularly updated.
96
97
97
98
| <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- -->
98
99
|-|-|-|-|-|-
100
+ | 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), 2024_09_08_Time_0_ms_ (100.00%)_ Space_2.2_MB_ (33.33%) | ug, | ug,
101
+ | 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), 2024_09_08_Time_1_ms_ (80.61%)_ Space_2.4_MB_ (24.49%) | ug, | ug,
102
+ | 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), 2024_09_08_Time_1_ms_ (80.46%)_ Space_2.7_MB_ (50.19%) | ug, | ug,
103
+ | 0098 |[ Validate Binary Search Tree] ( src/main/rust/g0001_0100/s0098_validate_binary_search_tree/Solution.rs ) | Medium | String, Dynamic_Programming | 1 | 77.46
99
104
100
105
#### Udemy Trie and Heap
101
106
@@ -192,11 +197,15 @@ Rust-based LeetCode algorithm problem solutions, regularly updated.
192
197
193
198
| <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- -->
194
199
|-|-|-|-|-|-
200
+ | 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), 2024_09_08_Time_0_ms_ (100.00%)_ Space_2.2_MB_ (33.33%) | ug, | ug,
195
201
196
202
#### Day 11 Tree
197
203
198
204
| <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- -->
199
205
|-|-|-|-|-|-
206
+ | 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), 2024_09_08_Time_1_ms_ (80.61%)_ Space_2.4_MB_ (24.49%) | ug, | ug,
207
+ | 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), 2024_09_08_Time_1_ms_ (80.46%)_ Space_2.7_MB_ (50.19%) | ug, | ug,
208
+ | 0101 |[ Symmetric Tree] ( src/main/rust/g0101_0200/s0101_symmetric_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(log(N)), 2024_09_08_Time_0_ms_ (100.00%)_ Space_2.2_MB_ (78.98%) | ug, | ug,
200
209
201
210
#### Day 12 Tree
202
211
@@ -212,6 +221,7 @@ Rust-based LeetCode algorithm problem solutions, regularly updated.
212
221
213
222
| <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- -->
214
223
|-|-|-|-|-|-
224
+ | 0098 |[ Validate Binary Search Tree] ( src/main/rust/g0001_0100/s0098_validate_binary_search_tree/Solution.rs ) | Medium | String, Dynamic_Programming | 1 | 77.46
215
225
216
226
### Data Structure II
217
227
@@ -298,6 +308,7 @@ Rust-based LeetCode algorithm problem solutions, regularly updated.
298
308
299
309
| <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- -->
300
310
|-|-|-|-|-|-
311
+ | 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, Big_O_Time_O(N)_ Space_O(N), 2024_09_08_Time_2_ms_ (84.72%)_ Space_2.9_MB_ (25.00%) | ug, | ug,
301
312
302
313
#### Day 16 Tree
303
314
@@ -472,6 +483,7 @@ Rust-based LeetCode algorithm problem solutions, regularly updated.
472
483
|-|-|-|-|-|-
473
484
| 0017 |[ Letter Combinations of a Phone Number] ( src/main/rust/g0001_0100/s0017_letter_combinations_of_a_phone_number/Solution.rs ) | Medium | Top_100_Liked_Questions, Top_Interview_Questions, String, Hash_Table, Backtracking, Big_O_Time_O(4^n)_ Space_O(n) | 0 | 100.00
474
485
| 0022 |[ Generate Parentheses] ( src/main/rust/g0001_0100/s0022_generate_parentheses/Solution.rs ) | Medium | Top_100_Liked_Questions, Top_Interview_Questions, String, Dynamic_Programming, Backtracking, Big_O_Time_O(2^n)_ Space_O(n) | 1 | 83.92
486
+ | 0079 |[ Word Search] ( src/main/rust/g0001_0100/s0079_word_search/Solution.rs ) | Medium | Top_100_Liked_Questions, Top_Interview_Questions, Array, Matrix, Backtracking, Big_O_Time_O(4^(m\* n))_ Space_O(m\* n) | 1 | 99.28
475
487
476
488
#### Day 12 Dynamic Programming
477
489
@@ -757,6 +769,7 @@ Rust-based LeetCode algorithm problem solutions, regularly updated.
757
769
758
770
| <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- -->
759
771
|-|-|-|-|-|-
772
+ | 0096 |[ Unique Binary Search Trees] ( src/main/rust/g0001_0100/s0096_unique_binary_search_trees/Solution.rs ) | Medium | Dynamic_Programming, Math, Tree, Binary_Tree, Binary_Search_Tree, Big_O_Time_O(n)_ Space_O(1) | 0 | 100.00
760
773
761
774
#### Day 12
762
775
@@ -863,6 +876,7 @@ Rust-based LeetCode algorithm problem solutions, regularly updated.
863
876
864
877
| <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- -->
865
878
|-|-|-|-|-|-
879
+ | 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), 2024_09_08_Time_1_ms_ (80.46%)_ Space_2.7_MB_ (50.19%) | ug, | ug,
866
880
867
881
#### Day 11 Containers and Libraries
868
882
@@ -1135,6 +1149,7 @@ Rust-based LeetCode algorithm problem solutions, regularly updated.
1135
1149
1136
1150
| <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- -->
1137
1151
|-|-|-|-|-|-
1152
+ | 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), 2024_09_08_Time_1_ms_ (80.61%)_ Space_2.4_MB_ (24.49%) | ug, | ug,
1138
1153
1139
1154
#### Day 7 Binary Search
1140
1155
@@ -1145,6 +1160,7 @@ Rust-based LeetCode algorithm problem solutions, regularly updated.
1145
1160
1146
1161
| <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- -->
1147
1162
|-|-|-|-|-|-
1163
+ | 0098 |[ Validate Binary Search Tree] ( src/main/rust/g0001_0100/s0098_validate_binary_search_tree/Solution.rs ) | Medium | String, Dynamic_Programming | 1 | 77.46
1148
1164
1149
1165
#### Day 9 Graph/BFS/DFS
1150
1166
@@ -1265,6 +1281,7 @@ Rust-based LeetCode algorithm problem solutions, regularly updated.
1265
1281
1266
1282
| <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- -->
1267
1283
|-|-|-|-|-|-
1284
+ | 0101 |[ Symmetric Tree] ( src/main/rust/g0101_0200/s0101_symmetric_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(log(N)), 2024_09_08_Time_0_ms_ (100.00%)_ Space_2.2_MB_ (78.98%) | ug, | ug,
1268
1285
1269
1286
#### Day 16 Design
1270
1287
@@ -1298,6 +1315,16 @@ Rust-based LeetCode algorithm problem solutions, regularly updated.
1298
1315
1299
1316
| # | Title | Difficulty | Tag | Time, ms | Time, %
1300
1317
|------|----------------|-------------|-------------|----------|---------
1318
+ | 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, 2024_09_08_Time_0_ms_ (100.00%)_ Space_2.7_MB_ (50.00%) | ug, | ug,
1319
+ | 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), 2024_09_08_Time_2_ms_ (84.72%)_ Space_2.9_MB_ (25.00%) | ug, | ug,
1320
+ | 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), 2024_09_08_Time_1_ms_ (80.46%)_ Space_2.7_MB_ (50.19%) | ug, | ug,
1321
+ | 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, Data_Structure_I_Day_11_Tree, Level_1_Day_6_Tree, Udemy_Tree_Stack_Queue, Big_O_Time_O(N)_ Space_O(N), 2024_09_08_Time_1_ms_ (80.61%)_ Space_2.4_MB_ (24.49%) | ug, | ug,
1322
+ | 0101 |[ Symmetric Tree] ( src/main/rust/g0101_0200/s0101_symmetric_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, Level_2_Day_15_Tree, Big_O_Time_O(N)_ Space_O(log(N)), 2024_09_08_Time_0_ms_ (100.00%)_ Space_2.2_MB_ (78.98%) | ug, | ug,
1323
+ | 0098 |[ Validate Binary Search Tree] ( src/main/rust/g0001_0100/s0098_validate_binary_search_tree/Solution.rs ) | Medium | String, Dynamic_Programming | 1 | 77.46
1324
+ | 0096 |[ Unique Binary Search Trees] ( src/main/rust/g0001_0100/s0096_unique_binary_search_trees/Solution.rs ) | Medium | Dynamic_Programming, Math, Tree, Binary_Tree, Binary_Search_Tree, Dynamic_Programming_I_Day_11, Big_O_Time_O(n)_ Space_O(1) | 0 | 100.00
1325
+ | 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, Data_Structure_I_Day_10_Tree, Udemy_Tree_Stack_Queue, Big_O_Time_O(n)_ Space_O(n), 2024_09_08_Time_0_ms_ (100.00%)_ Space_2.2_MB_ (33.33%) | ug, | ug,
1326
+ | 0084 |[ Largest Rectangle in Histogram] ( src/main/rust/g0001_0100/s0084_largest_rectangle_in_histogram/Solution.rs ) | Hard | Top_100_Liked_Questions, Top_Interview_Questions, Array, Stack, Monotonic_Stack, Big_O_Time_O(n_log_n)_ Space_O(log_n) | 7 | 92.48
1327
+ | 0079 |[ Word Search] ( src/main/rust/g0001_0100/s0079_word_search/Solution.rs ) | Medium | Top_100_Liked_Questions, Top_Interview_Questions, Array, Matrix, Backtracking, Algorithm_II_Day_11_Recursion_Backtracking, Big_O_Time_O(4^(m\* n))_ Space_O(m\* n) | 1 | 99.28
1301
1328
| 0078 |[ Subsets] ( src/main/rust/g0001_0100/s0078_subsets/Solution.rs ) | Medium | Top_100_Liked_Questions, Top_Interview_Questions, Array, Bit_Manipulation, Backtracking, Algorithm_II_Day_9_Recursion_Backtracking, Udemy_Backtracking/Recursion, Big_O_Time_O(2^n)_ Space_O(n\* 2^n) | 0 | 100.00
1302
1329
| 0076 |[ Minimum Window Substring] ( src/main/rust/g0001_0100/s0076_minimum_window_substring/Solution.rs ) | Hard | Top_100_Liked_Questions, Top_Interview_Questions, String, Hash_Table, Sliding_Window, Level_2_Day_14_Sliding_Window/Two_Pointer, Big_O_Time_O(s.length())_ Space_O(1) | 0 | 100.00
1303
1330
| 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, Data_Structure_II_Day_2_Array, Udemy_Arrays, Big_O_Time_O(n)_ Space_O(1) | 0 | 100.00
0 commit comments