|
2 | 2 | [](https://github.com/LeetCode-in-Rust/LeetCode-in-Rust/fork) |
3 | 3 | > ["For coding interview preparation, LeetCode is one of the best online resource providing a rich library of more than 300 real coding interview questions for you to practice from using one of the 7 supported languages - C, C++, Java, Python, C#, JavaScript, Ruby."](https://www.quora.com/How-effective-is-Leetcode-for-preparing-for-technical-interviews) |
4 | 4 |
|
5 | | -* [Level 2](#level-2) |
6 | 5 | * [Udemy](#udemy) |
7 | 6 | * [Data Structure I](#data-structure-i) |
8 | 7 | * [Data Structure II](#data-structure-ii) |
|
16 | 15 | * [Graph Theory I](#graph-theory-i) |
17 | 16 | * [SQL I](#sql-i) |
18 | 17 | * [Level 1](#level-1) |
19 | | - |
20 | | -### Level 2 |
21 | | - |
22 | | -#### Day 1 Implementation/Simulation |
23 | | - |
24 | | -| <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- --> |
25 | | -|-|-|-|-|-|- |
26 | | - |
27 | | -#### Day 2 String |
28 | | - |
29 | | -| <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- --> |
30 | | -|-|-|-|-|-|- |
31 | | - |
32 | | -#### Day 3 Linked List |
33 | | - |
34 | | -| <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- --> |
35 | | -|-|-|-|-|-|- |
36 | | - |
37 | | -#### Day 4 Linked List |
38 | | - |
39 | | -| <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- --> |
40 | | -|-|-|-|-|-|- |
41 | | - |
42 | | -#### Day 5 Greedy |
43 | | - |
44 | | -| <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- --> |
45 | | -|-|-|-|-|-|- |
46 | | - |
47 | | -#### Day 6 Tree |
48 | | - |
49 | | -| <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- --> |
50 | | -|-|-|-|-|-|- |
51 | | - |
52 | | -#### Day 7 Tree |
53 | | - |
54 | | -| <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- --> |
55 | | -|-|-|-|-|-|- |
56 | | - |
57 | | -#### Day 8 Binary Search |
58 | | - |
59 | | -| <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- --> |
60 | | -|-|-|-|-|-|- |
61 | | - |
62 | | -#### Day 9 Binary Search Tree |
63 | | - |
64 | | -| <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- --> |
65 | | -|-|-|-|-|-|- |
66 | | - |
67 | | -#### Day 10 Graph/BFS/DFS |
68 | | - |
69 | | -| <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- --> |
70 | | -|-|-|-|-|-|- |
71 | | - |
72 | | -#### Day 11 Graph/BFS/DFS |
73 | | - |
74 | | -| <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- --> |
75 | | -|-|-|-|-|-|- |
76 | | - |
77 | | -#### Day 12 Dynamic Programming |
78 | | - |
79 | | -| <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- --> |
80 | | -|-|-|-|-|-|- |
81 | | - |
82 | | -#### Day 13 Dynamic Programming |
83 | | - |
84 | | -| <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- --> |
85 | | -|-|-|-|-|-|- |
86 | | - |
87 | | -#### Day 14 Sliding Window/Two Pointer |
88 | | - |
89 | | -| <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- --> |
90 | | -|-|-|-|-|-|- |
91 | | -| 0003 |[Longest Substring Without Repeating Characters](src/main/rust/g0001_0100/s0003_longest_substring_without_repeating_characters)| Medium | Top_100_Liked_Questions, Top_Interview_Questions, String, Hash_Table, Sliding_Window, Big_O_Time_O(n)_Space_O(1) | 0 | 100.00 |
92 | | - |
93 | | -#### Day 15 Tree |
94 | | - |
95 | | -| <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- --> |
96 | | -|-|-|-|-|-|- |
97 | | - |
98 | | -#### Day 16 Design |
99 | | - |
100 | | -| <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- --> |
101 | | -|-|-|-|-|-|- |
102 | | - |
103 | | -#### Day 17 Interval |
104 | | - |
105 | | -| <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- --> |
106 | | -|-|-|-|-|-|- |
107 | | - |
108 | | -#### Day 18 Stack |
109 | | - |
110 | | -| <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- --> |
111 | | -|-|-|-|-|-|- |
112 | | - |
113 | | -#### Day 19 Union Find |
114 | | - |
115 | | -| <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- --> |
116 | | -|-|-|-|-|-|- |
117 | | - |
118 | | -#### Day 20 Brute Force/Backtracking |
119 | | - |
120 | | -| <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- --> |
121 | | -|-|-|-|-|-|- |
| 18 | +* [Level 2](#level-2) |
122 | 19 |
|
123 | 20 | ### Udemy |
124 | 21 |
|
125 | 22 | #### Udemy Integers |
126 | 23 |
|
127 | 24 | | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- --> |
128 | 25 | |-|-|-|-|-|- |
| 26 | +| 0007 |[Reverse Integer](src/main/rust/g0001_0100/s0007_reverse_integer)| Medium | Top_Interview_Questions, Math | 0 | 100.00 |
| 27 | +| 0009 |[Palindrome Number](src/main/rust/g0001_0100/s0009_palindrome_number)| Easy | Math | 0 | 100.00 |
129 | 28 |
|
130 | 29 | #### Udemy Strings |
131 | 30 |
|
132 | 31 | | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- --> |
133 | 32 | |-|-|-|-|-|- |
134 | 33 | | 0003 |[Longest Substring Without Repeating Characters](src/main/rust/g0001_0100/s0003_longest_substring_without_repeating_characters)| Medium | Top_100_Liked_Questions, Top_Interview_Questions, String, Hash_Table, Sliding_Window, Big_O_Time_O(n)_Space_O(1) | 0 | 100.00 |
| 34 | +| 0020 |[Valid Parentheses](src/main/rust/g0001_0100/s0020_valid_parentheses)| Easy | Top_100_Liked_Questions, Top_Interview_Questions, String, Stack, Big_O_Time_O(n)_Space_O(n) | 0 | 100.00 |
135 | 35 | | 0005 |[Longest Palindromic Substring](src/main/rust/g0001_0100/s0005_longest_palindromic_substring)| Medium | Top_100_Liked_Questions, Top_Interview_Questions, String, Dynamic_Programming, Big_O_Time_O(n)_Space_O(n) | 1 | 92.60 |
136 | 36 |
|
137 | 37 | #### Udemy Binary Search |
|
149 | 49 |
|
150 | 50 | | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- --> |
151 | 51 | |-|-|-|-|-|- |
| 52 | +| 0015 |[3Sum](src/main/rust/g0001_0100/s0015_3sum)| 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 |
152 | 53 |
|
153 | 54 | #### Udemy Famous Algorithm |
154 | 55 |
|
|
189 | 90 |
|
190 | 91 | | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- --> |
191 | 92 | |-|-|-|-|-|- |
| 93 | +| 0010 |[Regular Expression Matching](src/main/rust/g0001_0100/s0010_regular_expression_matching)| Hard | Top_Interview_Questions, String, Dynamic_Programming, Recursion, Big_O_Time_O(m\*n)_Space_O(m\*n) | 0 | 100.00 |
192 | 94 |
|
193 | 95 | #### Udemy Backtracking/Recursion |
194 | 96 |
|
195 | 97 | | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- --> |
196 | 98 | |-|-|-|-|-|- |
| 99 | +| 0017 |[Letter Combinations of a Phone Number](src/main/rust/g0001_0100/s0017_letter_combinations_of_a_phone_number)| Medium | Top_100_Liked_Questions, Top_Interview_Questions, String, Hash_Table, Backtracking, Big_O_Time_O(4^n)_Space_O(n) | 0 | 100.00 |
197 | 100 |
|
198 | 101 | #### Udemy Bit Manipulation |
199 | 102 |
|
|
252 | 155 |
|
253 | 156 | | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- --> |
254 | 157 | |-|-|-|-|-|- |
| 158 | +| 0020 |[Valid Parentheses](src/main/rust/g0001_0100/s0020_valid_parentheses)| Easy | Top_100_Liked_Questions, Top_Interview_Questions, String, Stack, Big_O_Time_O(n)_Space_O(n) | 0 | 100.00 |
255 | 159 |
|
256 | 160 | #### Day 10 Tree |
257 | 161 |
|
|
284 | 188 |
|
285 | 189 | | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- --> |
286 | 190 | |-|-|-|-|-|- |
| 191 | +| 0015 |[3Sum](src/main/rust/g0001_0100/s0015_3sum)| 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 |
287 | 192 |
|
288 | 193 | #### Day 2 Array |
289 | 194 |
|
|
413 | 318 |
|
414 | 319 | | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- --> |
415 | 320 | |-|-|-|-|-|- |
| 321 | +| 0019 |[Remove Nth Node From End of List](src/main/rust/g0001_0100/s0019_remove_nth_node_from_end_of_list)| Medium | Top_100_Liked_Questions, Top_Interview_Questions, Two_Pointers, Linked_List, Big_O_Time_O(L)_Space_O(L) | 0 | 100.00 |
416 | 322 |
|
417 | 323 | #### Day 6 Sliding Window |
418 | 324 |
|
|
476 | 382 |
|
477 | 383 | | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- --> |
478 | 384 | |-|-|-|-|-|- |
| 385 | +| 0015 |[3Sum](src/main/rust/g0001_0100/s0015_3sum)| 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 |
479 | 386 |
|
480 | 387 | #### Day 4 Two Pointers |
481 | 388 |
|
482 | 389 | | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- --> |
483 | 390 | |-|-|-|-|-|- |
| 391 | +| 0011 |[Container With Most Water](src/main/rust/g0001_0100/s0011_container_with_most_water)| Medium | Top_100_Liked_Questions, Top_Interview_Questions, Array, Greedy, Two_Pointers, Big_O_Time_O(n)_Space_O(1) | 4 | 95.02 |
484 | 392 |
|
485 | 393 | #### Day 5 Sliding Window |
486 | 394 |
|
|
516 | 424 |
|
517 | 425 | | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- --> |
518 | 426 | |-|-|-|-|-|- |
| 427 | +| 0017 |[Letter Combinations of a Phone Number](src/main/rust/g0001_0100/s0017_letter_combinations_of_a_phone_number)| Medium | Top_100_Liked_Questions, Top_Interview_Questions, String, Hash_Table, Backtracking, Big_O_Time_O(4^n)_Space_O(n) | 0 | 100.00 |
519 | 428 |
|
520 | 429 | #### Day 12 Dynamic Programming |
521 | 430 |
|
|
1207 | 1116 | | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- --> |
1208 | 1117 | |-|-|-|-|-|- |
1209 | 1118 |
|
| 1119 | +### Level 2 |
| 1120 | + |
| 1121 | +#### Day 1 Implementation/Simulation |
| 1122 | + |
| 1123 | +| <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- --> |
| 1124 | +|-|-|-|-|-|- |
| 1125 | + |
| 1126 | +#### Day 2 String |
| 1127 | + |
| 1128 | +| <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- --> |
| 1129 | +|-|-|-|-|-|- |
| 1130 | + |
| 1131 | +#### Day 3 Linked List |
| 1132 | + |
| 1133 | +| <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- --> |
| 1134 | +|-|-|-|-|-|- |
| 1135 | +| 0019 |[Remove Nth Node From End of List](src/main/rust/g0001_0100/s0019_remove_nth_node_from_end_of_list)| Medium | Top_100_Liked_Questions, Top_Interview_Questions, Two_Pointers, Linked_List, Big_O_Time_O(L)_Space_O(L) | 0 | 100.00 |
| 1136 | + |
| 1137 | +#### Day 4 Linked List |
| 1138 | + |
| 1139 | +| <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- --> |
| 1140 | +|-|-|-|-|-|- |
| 1141 | + |
| 1142 | +#### Day 5 Greedy |
| 1143 | + |
| 1144 | +| <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- --> |
| 1145 | +|-|-|-|-|-|- |
| 1146 | + |
| 1147 | +#### Day 6 Tree |
| 1148 | + |
| 1149 | +| <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- --> |
| 1150 | +|-|-|-|-|-|- |
| 1151 | + |
| 1152 | +#### Day 7 Tree |
| 1153 | + |
| 1154 | +| <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- --> |
| 1155 | +|-|-|-|-|-|- |
| 1156 | + |
| 1157 | +#### Day 8 Binary Search |
| 1158 | + |
| 1159 | +| <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- --> |
| 1160 | +|-|-|-|-|-|- |
| 1161 | + |
| 1162 | +#### Day 9 Binary Search Tree |
| 1163 | + |
| 1164 | +| <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- --> |
| 1165 | +|-|-|-|-|-|- |
| 1166 | + |
| 1167 | +#### Day 10 Graph/BFS/DFS |
| 1168 | + |
| 1169 | +| <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- --> |
| 1170 | +|-|-|-|-|-|- |
| 1171 | + |
| 1172 | +#### Day 11 Graph/BFS/DFS |
| 1173 | + |
| 1174 | +| <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- --> |
| 1175 | +|-|-|-|-|-|- |
| 1176 | + |
| 1177 | +#### Day 12 Dynamic Programming |
| 1178 | + |
| 1179 | +| <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- --> |
| 1180 | +|-|-|-|-|-|- |
| 1181 | + |
| 1182 | +#### Day 13 Dynamic Programming |
| 1183 | + |
| 1184 | +| <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- --> |
| 1185 | +|-|-|-|-|-|- |
| 1186 | + |
| 1187 | +#### Day 14 Sliding Window/Two Pointer |
| 1188 | + |
| 1189 | +| <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- --> |
| 1190 | +|-|-|-|-|-|- |
| 1191 | +| 0003 |[Longest Substring Without Repeating Characters](src/main/rust/g0001_0100/s0003_longest_substring_without_repeating_characters)| Medium | Top_100_Liked_Questions, Top_Interview_Questions, String, Hash_Table, Sliding_Window, Big_O_Time_O(n)_Space_O(1) | 0 | 100.00 |
| 1192 | + |
| 1193 | +#### Day 15 Tree |
| 1194 | + |
| 1195 | +| <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- --> |
| 1196 | +|-|-|-|-|-|- |
| 1197 | + |
| 1198 | +#### Day 16 Design |
| 1199 | + |
| 1200 | +| <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- --> |
| 1201 | +|-|-|-|-|-|- |
| 1202 | + |
| 1203 | +#### Day 17 Interval |
| 1204 | + |
| 1205 | +| <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- --> |
| 1206 | +|-|-|-|-|-|- |
| 1207 | + |
| 1208 | +#### Day 18 Stack |
| 1209 | + |
| 1210 | +| <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- --> |
| 1211 | +|-|-|-|-|-|- |
| 1212 | + |
| 1213 | +#### Day 19 Union Find |
| 1214 | + |
| 1215 | +| <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- --> |
| 1216 | +|-|-|-|-|-|- |
| 1217 | + |
| 1218 | +#### Day 20 Brute Force/Backtracking |
| 1219 | + |
| 1220 | +| <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- --> |
| 1221 | +|-|-|-|-|-|- |
| 1222 | + |
1210 | 1223 | ## Algorithms |
1211 | 1224 |
|
1212 | 1225 | | # | Title | Difficulty | Tag | Time, ms | Time, % |
1213 | 1226 | |------|----------------|-------------|-------------|----------|-------- |
| 1227 | +| 0020 |[Valid Parentheses](src/main/rust/g0001_0100/s0020_valid_parentheses)| Easy | Top_100_Liked_Questions, Top_Interview_Questions, String, Stack, Data_Structure_I_Day_9_Stack_Queue, Udemy_Strings, Big_O_Time_O(n)_Space_O(n) | 0 | 100.00 |
| 1228 | +| 0019 |[Remove Nth Node From End of List](src/main/rust/g0001_0100/s0019_remove_nth_node_from_end_of_list)| Medium | Top_100_Liked_Questions, Top_Interview_Questions, Two_Pointers, Linked_List, Algorithm_I_Day_5_Two_Pointers, Level_2_Day_3_Linked_List, Big_O_Time_O(L)_Space_O(L) | 0 | 100.00 |
| 1229 | +| 0017 |[Letter Combinations of a Phone Number](src/main/rust/g0001_0100/s0017_letter_combinations_of_a_phone_number)| Medium | Top_100_Liked_Questions, Top_Interview_Questions, String, Hash_Table, Backtracking, Algorithm_II_Day_11_Recursion_Backtracking, Udemy_Backtracking/Recursion, Big_O_Time_O(4^n)_Space_O(n) | 0 | 100.00 |
| 1230 | +| 0015 |[3Sum](src/main/rust/g0001_0100/s0015_3sum)| Medium | Top_100_Liked_Questions, Top_Interview_Questions, Array, Sorting, Two_Pointers, Data_Structure_II_Day_1_Array, Algorithm_II_Day_3_Two_Pointers, Udemy_Two_Pointers, Big_O_Time_O(n\*log(n))_Space_O(n^2) | 27 | 81.94 |
| 1231 | +| 0011 |[Container With Most Water](src/main/rust/g0001_0100/s0011_container_with_most_water)| Medium | Top_100_Liked_Questions, Top_Interview_Questions, Array, Greedy, Two_Pointers, Algorithm_II_Day_4_Two_Pointers, Big_O_Time_O(n)_Space_O(1) | 4 | 95.02 |
| 1232 | +| 0010 |[Regular Expression Matching](src/main/rust/g0001_0100/s0010_regular_expression_matching)| Hard | Top_Interview_Questions, String, Dynamic_Programming, Recursion, Udemy_Dynamic_Programming, Big_O_Time_O(m\*n)_Space_O(m\*n) | 0 | 100.00 |
| 1233 | +| 0009 |[Palindrome Number](src/main/rust/g0001_0100/s0009_palindrome_number)| Easy | Math, Udemy_Integers | 0 | 100.00 |
| 1234 | +| 0008 |[String to Integer (atoi)](src/main/rust/g0001_0100/s0008_string_to_integer_atoi)| Medium | Top_Interview_Questions, String | 0 | 100.00 |
| 1235 | +| 0007 |[Reverse Integer](src/main/rust/g0001_0100/s0007_reverse_integer)| Medium | Top_Interview_Questions, Math, Udemy_Integers | 0 | 100.00 |
| 1236 | +| 0006 |[Zigzag Conversion](src/main/rust/g0001_0100/s0006_zigzag_conversion)| Medium | String | 0 | 100.00 |
1214 | 1237 | | 0005 |[Longest Palindromic Substring](src/main/rust/g0001_0100/s0005_longest_palindromic_substring)| Medium | Top_100_Liked_Questions, Top_Interview_Questions, String, Dynamic_Programming, Data_Structure_II_Day_9_String, Algorithm_II_Day_14_Dynamic_Programming, Dynamic_Programming_I_Day_17, Udemy_Strings, Big_O_Time_O(n)_Space_O(n) | 1 | 92.60 |
1215 | 1238 | | 0004 |[Median of Two Sorted Arrays](src/main/rust/g0001_0100/s0004_median_of_two_sorted_arrays)| Hard | Top_100_Liked_Questions, Top_Interview_Questions, Array, Binary_Search, Divide_and_Conquer, Big_O_Time_O(log(min(N,M)))_Space_O(1) | 0 | 100.00 |
1216 | 1239 | | 0003 |[Longest Substring Without Repeating Characters](src/main/rust/g0001_0100/s0003_longest_substring_without_repeating_characters)| Medium | Top_100_Liked_Questions, Top_Interview_Questions, String, Hash_Table, Sliding_Window, Algorithm_I_Day_6_Sliding_Window, Level_2_Day_14_Sliding_Window/Two_Pointer, Udemy_Strings, Big_O_Time_O(n)_Space_O(1) | 0 | 100.00 |
|
0 commit comments