@@ -93,6 +93,7 @@ Python-based LeetCode algorithm problem solutions, regularly updated.
9393| <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- -->
9494|-|-|-|-|-|-
9595| 0021 |[ Merge Two Sorted Lists] ( src/main/python/g0001_0100/s0021_merge_two_sorted_lists/Solution.py ) | Easy | Top_100_Liked_Questions, Top_Interview_Questions, Linked_List, Recursion, Big_O_Time_O(m+n)_ Space_O(m+n) | 31 | 92.02
96+ | 0206 |[ Reverse Linked List] ( src/main/python/g0201_0300/s0206_reverse_linked_list/Solution.py ) | Easy | Top_100_Liked_Questions, Top_Interview_Questions, Linked_List, Recursion, Big_O_Time_O(N)_ Space_O(1) | 35 | 72.56
9697
9798#### Day 4 Linked List
9899
@@ -176,6 +177,7 @@ Python-based LeetCode algorithm problem solutions, regularly updated.
176177| <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- -->
177178|-|-|-|-|-|-
178179| 0019 |[ Remove Nth Node From End of List] ( src/main/python/g0001_0100/s0019_remove_nth_node_from_end_of_list/Solution.py ) | Medium | Top_100_Liked_Questions, Top_Interview_Questions, Two_Pointers, Linked_List, Big_O_Time_O(L)_ Space_O(L) | 21 | 99.70
180+ | 0234 |[ Palindrome Linked List] ( src/main/python/g0201_0300/s0234_palindrome_linked_list/Solution.py ) | Easy | Top_100_Liked_Questions, Two_Pointers, Stack, Linked_List, Recursion, Big_O_Time_O(n)_ Space_O(1) | 282 | 75.97
179181
180182#### Day 4 Linked List
181183
@@ -191,6 +193,7 @@ Python-based LeetCode algorithm problem solutions, regularly updated.
191193
192194| <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- -->
193195|-|-|-|-|-|-
196+ | 0226 |[ Invert Binary Tree] ( src/main/python/g0201_0300/s0226_invert_binary_tree/Solution.py ) | Easy | Top_100_Liked_Questions, Depth_First_Search, Breadth_First_Search, Tree, Binary_Tree, Big_O_Time_O(n)_ Space_O(n) | 30 | 87.85
194197
195198#### Day 7 Tree
196199
@@ -209,6 +212,7 @@ Python-based LeetCode algorithm problem solutions, regularly updated.
209212
210213| <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- -->
211214|-|-|-|-|-|-
215+ | 0230 |[ Kth Smallest Element in a BST] ( src/main/python/g0201_0300/s0230_kth_smallest_element_in_a_bst/Solution.py ) | Medium | Top_100_Liked_Questions, Depth_First_Search, Tree, Binary_Tree, Binary_Search_Tree, Big_O_Time_O(n)_ Space_O(n) | 44 | 61.91
212216
213217#### Day 10 Graph/BFS/DFS
214218
@@ -247,6 +251,7 @@ Python-based LeetCode algorithm problem solutions, regularly updated.
247251
248252| <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- -->
249253|-|-|-|-|-|-
254+ | 0208 |[ Implement Trie (Prefix Tree)] ( src/main/python/g0201_0300/s0208_implement_trie_prefix_tree/Trie.py ) | Medium | Top_100_Liked_Questions, Top_Interview_Questions, String, Hash_Table, Design, Trie, Big_O_Time_O(word.length())_ or_O(prefix.length())_ Space_O(N) | 140 | 28.87
250255
251256#### Day 17 Interval
252257
@@ -303,6 +308,7 @@ Python-based LeetCode algorithm problem solutions, regularly updated.
303308| 0283 |[ Move Zeroes] ( src/main/python/g0201_0300/s0283_move_zeroes/Solution.py ) | Easy | Top_100_Liked_Questions, Array, Two_Pointers, Big_O_Time_O(n)_ Space_O(1) | 113 | 97.70
304309| 0001 |[ Two Sum] ( src/main/python/g0001_0100/s0001_two_sum/Solution.py ) | Easy | Top_100_Liked_Questions, Top_Interview_Questions, Array, Hash_Table, Big_O_Time_O(n)_ Space_O(n) | 62 | 53.52
305310| 0055 |[ Jump Game] ( src/main/python/g0001_0100/s0055_jump_game/Solution.py ) | Medium | Top_100_Liked_Questions, Top_Interview_Questions, Array, Dynamic_Programming, Greedy, Big_O_Time_O(n)_ Space_O(1) | 333 | 97.58
311+ | 0238 |[ Product of Array Except Self] ( src/main/python/g0201_0300/s0238_product_of_array_except_self/Solution.py ) | Medium | Top_100_Liked_Questions, Array, Prefix_Sum, Big_O_Time_O(n^2)_ Space_O(n) | 241 | 99.65
306312| 0041 |[ First Missing Positive] ( src/main/python/g0001_0100/s0041_first_missing_positive/Solution.py ) | Hard | Top_100_Liked_Questions, Top_Interview_Questions, Array, Hash_Table, Big_O_Time_O(n)_ Space_O(n) | 334 | 98.05
307313| 0239 |[ Sliding Window Maximum] ( src/main/python/g0201_0300/s0239_sliding_window_maximum/Solution.py ) | Hard | Top_100_Liked_Questions, Array, Heap_Priority_Queue, Sliding_Window, Queue, Monotonic_Queue, Big_O_Time_O(n\* k)_ Space_O(n+k) | 1093 | 66.83
308314
@@ -336,19 +342,24 @@ Python-based LeetCode algorithm problem solutions, regularly updated.
336342| <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- -->
337343|-|-|-|-|-|-
338344| 0024 |[ Swap Nodes in Pairs] ( src/main/python/g0001_0100/s0024_swap_nodes_in_pairs/Solution.py ) | Medium | Top_100_Liked_Questions, Linked_List, Recursion, Big_O_Time_O(n)_ Space_O(1) | 27 | 93.88
345+ | 0206 |[ Reverse Linked List] ( src/main/python/g0201_0300/s0206_reverse_linked_list/Solution.py ) | Easy | Top_100_Liked_Questions, Top_Interview_Questions, Linked_List, Recursion, Big_O_Time_O(N)_ Space_O(1) | 35 | 72.56
339346| 0021 |[ Merge Two Sorted Lists] ( src/main/python/g0001_0100/s0021_merge_two_sorted_lists/Solution.py ) | Easy | Top_100_Liked_Questions, Top_Interview_Questions, Linked_List, Recursion, Big_O_Time_O(m+n)_ Space_O(m+n) | 31 | 92.02
347+ | 0234 |[ Palindrome Linked List] ( src/main/python/g0201_0300/s0234_palindrome_linked_list/Solution.py ) | Easy | Top_100_Liked_Questions, Two_Pointers, Stack, Linked_List, Recursion, Big_O_Time_O(n)_ Space_O(1) | 282 | 75.97
340348| 0025 |[ Reverse Nodes in k-Group] ( src/main/python/g0001_0100/s0025_reverse_nodes_in_k_group/Solution.py ) | Hard | Top_100_Liked_Questions, Linked_List, Recursion, Big_O_Time_O(n)_ Space_O(k) | 36 | 90.51
341349
342350#### Udemy Tree Stack Queue
343351
344352| <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- -->
345353|-|-|-|-|-|-
346354| 0543 |[ Diameter of Binary Tree] ( src/main/python/g0501_0600/s0543_diameter_of_binary_tree/Solution.py ) | Easy | Top_100_Liked_Questions, Depth_First_Search, Tree, Binary_Tree, Big_O_Time_O(n)_ Space_O(n) | 51 | 36.84
355+ | 0226 |[ Invert Binary Tree] ( src/main/python/g0201_0300/s0226_invert_binary_tree/Solution.py ) | Easy | Top_100_Liked_Questions, Depth_First_Search, Breadth_First_Search, Tree, Binary_Tree, Big_O_Time_O(n)_ Space_O(n) | 30 | 87.85
356+ | 0236 |[ Lowest Common Ancestor of a Binary Tree] ( src/main/python/g0201_0300/s0236_lowest_common_ancestor_of_a_binary_tree/Solution.py ) | Medium | Top_100_Liked_Questions, Depth_First_Search, Tree, Binary_Tree, Big_O_Time_O(n)_ Space_O(n) | 43 | 89.34
347357
348358#### Udemy Trie and Heap
349359
350360| <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- -->
351361|-|-|-|-|-|-
362+ | 0208 |[ Implement Trie (Prefix Tree)] ( src/main/python/g0201_0300/s0208_implement_trie_prefix_tree/Trie.py ) | Medium | Top_100_Liked_Questions, Top_Interview_Questions, String, Hash_Table, Design, Trie, Big_O_Time_O(word.length())_ or_O(prefix.length())_ Space_O(N) | 140 | 28.87
352363
353364#### Udemy Graph
354365
@@ -430,6 +441,7 @@ Python-based LeetCode algorithm problem solutions, regularly updated.
430441
431442| <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- -->
432443|-|-|-|-|-|-
444+ | 0206 |[ Reverse Linked List] ( src/main/python/g0201_0300/s0206_reverse_linked_list/Solution.py ) | Easy | Top_100_Liked_Questions, Top_Interview_Questions, Linked_List, Recursion, Big_O_Time_O(N)_ Space_O(1) | 35 | 72.56
433445
434446#### Day 9 Stack Queue
435447
@@ -451,6 +463,7 @@ Python-based LeetCode algorithm problem solutions, regularly updated.
451463
452464| <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- -->
453465|-|-|-|-|-|-
466+ | 0226 |[ Invert Binary Tree] ( src/main/python/g0201_0300/s0226_invert_binary_tree/Solution.py ) | Easy | Top_100_Liked_Questions, Depth_First_Search, Breadth_First_Search, Tree, Binary_Tree, Big_O_Time_O(n)_ Space_O(n) | 30 | 87.85
454467
455468#### Day 13 Tree
456469
@@ -492,6 +505,7 @@ Python-based LeetCode algorithm problem solutions, regularly updated.
492505
493506| <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- -->
494507|-|-|-|-|-|-
508+ | 0238 |[ Product of Array Except Self] ( src/main/python/g0201_0300/s0238_product_of_array_except_self/Solution.py ) | Medium | Top_100_Liked_Questions, Array, Prefix_Sum, Big_O_Time_O(n^2)_ Space_O(n) | 241 | 99.65
495509| 0560 |[ Subarray Sum Equals K] ( src/main/python/g0501_0600/s0560_subarray_sum_equals_k/Solution.py ) | Medium | Top_100_Liked_Questions, Array, Hash_Table, Prefix_Sum, Big_O_Time_O(n)_ Space_O(n) | 224 | 72.29
496510
497511#### Day 6 String
@@ -559,11 +573,13 @@ Python-based LeetCode algorithm problem solutions, regularly updated.
559573
560574| <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- -->
561575|-|-|-|-|-|-
576+ | 0230 |[ Kth Smallest Element in a BST] ( src/main/python/g0201_0300/s0230_kth_smallest_element_in_a_bst/Solution.py ) | Medium | Top_100_Liked_Questions, Depth_First_Search, Tree, Binary_Tree, Binary_Search_Tree, Big_O_Time_O(n)_ Space_O(n) | 44 | 61.91
562577
563578#### Day 18 Tree
564579
565580| <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- -->
566581|-|-|-|-|-|-
582+ | 0236 |[ Lowest Common Ancestor of a Binary Tree] ( src/main/python/g0201_0300/s0236_lowest_common_ancestor_of_a_binary_tree/Solution.py ) | Medium | Top_100_Liked_Questions, Depth_First_Search, Tree, Binary_Tree, Big_O_Time_O(n)_ Space_O(n) | 43 | 89.34
567583
568584#### Day 19 Graph
569585
@@ -574,6 +590,7 @@ Python-based LeetCode algorithm problem solutions, regularly updated.
574590
575591| <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- -->
576592|-|-|-|-|-|-
593+ | 0215 |[ Kth Largest Element in an Array] ( src/main/python/g0201_0300/s0215_kth_largest_element_in_an_array/Solution.py ) | 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)) | 446 | 79.92
577594| 0347 |[ Top K Frequent Elements] ( src/main/python/g0301_0400/s0347_top_k_frequent_elements/Solution.py ) | 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) | 86 | 71.64
578595
579596#### Day 21 Heap Priority Queue
@@ -637,6 +654,7 @@ Python-based LeetCode algorithm problem solutions, regularly updated.
637654| <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- -->
638655|-|-|-|-|-|-
639656| 0021 |[ Merge Two Sorted Lists] ( src/main/python/g0001_0100/s0021_merge_two_sorted_lists/Solution.py ) | Easy | Top_100_Liked_Questions, Top_Interview_Questions, Linked_List, Recursion, Big_O_Time_O(m+n)_ Space_O(m+n) | 31 | 92.02
657+ | 0206 |[ Reverse Linked List] ( src/main/python/g0201_0300/s0206_reverse_linked_list/Solution.py ) | Easy | Top_100_Liked_Questions, Top_Interview_Questions, Linked_List, Recursion, Big_O_Time_O(N)_ Space_O(1) | 35 | 72.56
640658
641659#### Day 11 Recursion Backtracking
642660
@@ -1041,6 +1059,7 @@ Python-based LeetCode algorithm problem solutions, regularly updated.
10411059| <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- -->
10421060|-|-|-|-|-|-
10431061| 0064 |[ Minimum Path Sum] ( src/main/python/g0001_0100/s0064_minimum_path_sum/Solution.py ) | Medium | Top_100_Liked_Questions, Array, Dynamic_Programming, Matrix, Big_O_Time_O(m\* n)_ Space_O(m\* n) | 72 | 97.25
1062+ | 0221 |[ Maximal Square] ( src/main/python/g0201_0300/s0221_maximal_square/Solution.py ) | Medium | Array, Dynamic_Programming, Matrix, Big_O_Time_O(m\* n)_ Space_O(m\* n) | 510 | 82.54
10441063
10451064#### Day 17
10461065
@@ -1338,6 +1357,16 @@ Python-based LeetCode algorithm problem solutions, regularly updated.
13381357| 0283 |[ Move Zeroes] ( src/main/python/g0201_0300/s0283_move_zeroes/Solution.py ) | 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) | 113 | 97.70
13391358| 0240 |[ Search a 2D Matrix II] ( src/main/python/g0201_0300/s0240_search_a_2d_matrix_ii/Solution.py ) | Medium | Top_100_Liked_Questions, Array, Binary_Search, Matrix, Divide_and_Conquer, Data_Structure_II_Day_4_Array, Binary_Search_II_Day_8, Big_O_Time_O(n+m)_ Space_O(1) | 130 | 91.49
13401359| 0239 |[ Sliding Window Maximum] ( src/main/python/g0201_0300/s0239_sliding_window_maximum/Solution.py ) | Hard | Top_100_Liked_Questions, Array, Heap_Priority_Queue, Sliding_Window, Queue, Monotonic_Queue, Udemy_Arrays, Big_O_Time_O(n\* k)_ Space_O(n+k) | 1093 | 66.83
1360+ | 0238 |[ Product of Array Except Self] ( src/main/python/g0201_0300/s0238_product_of_array_except_self/Solution.py ) | Medium | Top_100_Liked_Questions, Array, Prefix_Sum, Data_Structure_II_Day_5_Array, Udemy_Arrays, Big_O_Time_O(n^2)_ Space_O(n) | 241 | 99.65
1361+ | 0236 |[ Lowest Common Ancestor of a Binary Tree] ( src/main/python/g0201_0300/s0236_lowest_common_ancestor_of_a_binary_tree/Solution.py ) | Medium | Top_100_Liked_Questions, Depth_First_Search, Tree, Binary_Tree, Data_Structure_II_Day_18_Tree, Udemy_Tree_Stack_Queue, Big_O_Time_O(n)_ Space_O(n) | 43 | 89.34
1362+ | 0234 |[ Palindrome Linked List] ( src/main/python/g0201_0300/s0234_palindrome_linked_list/Solution.py ) | Easy | Top_100_Liked_Questions, Two_Pointers, Stack, Linked_List, Recursion, Level_2_Day_3_Linked_List, Udemy_Linked_List, Big_O_Time_O(n)_ Space_O(1) | 282 | 75.97
1363+ | 0230 |[ Kth Smallest Element in a BST] ( src/main/python/g0201_0300/s0230_kth_smallest_element_in_a_bst/Solution.py ) | Medium | Top_100_Liked_Questions, Depth_First_Search, Tree, Binary_Tree, Binary_Search_Tree, Data_Structure_II_Day_17_Tree, Level_2_Day_9_Binary_Search_Tree, Big_O_Time_O(n)_ Space_O(n) | 44 | 61.91
1364+ | 0226 |[ Invert Binary Tree] ( src/main/python/g0201_0300/s0226_invert_binary_tree/Solution.py ) | Easy | Top_100_Liked_Questions, Depth_First_Search, Breadth_First_Search, Tree, Binary_Tree, Data_Structure_I_Day_12_Tree, Level_2_Day_6_Tree, Udemy_Tree_Stack_Queue, Big_O_Time_O(n)_ Space_O(n) | 30 | 87.85
1365+ | 0221 |[ Maximal Square] ( src/main/python/g0201_0300/s0221_maximal_square/Solution.py ) | Medium | Array, Dynamic_Programming, Matrix, Dynamic_Programming_I_Day_16, Big_O_Time_O(m\* n)_ Space_O(m\* n) | 510 | 82.54
1366+ | 0215 |[ Kth Largest Element in an Array] ( src/main/python/g0201_0300/s0215_kth_largest_element_in_an_array/Solution.py ) | Medium | Top_100_Liked_Questions, Top_Interview_Questions, Array, Sorting, Heap_Priority_Queue, Divide_and_Conquer, Quickselect, Data_Structure_II_Day_20_Heap_Priority_Queue, Big_O_Time_O(n\* log(n))_ Space_O(log(n)) | 446 | 79.92
1367+ | 0208 |[ Implement Trie (Prefix Tree)] ( src/main/python/g0201_0300/s0208_implement_trie_prefix_tree/Trie.py ) | Medium | Top_100_Liked_Questions, Top_Interview_Questions, String, Hash_Table, Design, Trie, Level_2_Day_16_Design, Udemy_Trie_and_Heap, Big_O_Time_O(word.length())_ or_O(prefix.length())_ Space_O(N) | 140 | 28.87
1368+ | 0207 |[ Course Schedule] ( src/main/python/g0201_0300/s0207_course_schedule/Solution.py ) | Medium | Top_100_Liked_Questions, Top_Interview_Questions, Depth_First_Search, Breadth_First_Search, Graph, Topological_Sort, Big_O_Time_O(N)_ Space_O(N) | 86 | 76.64
1369+ | 0206 |[ Reverse Linked List] ( src/main/python/g0201_0300/s0206_reverse_linked_list/Solution.py ) | Easy | Top_100_Liked_Questions, Top_Interview_Questions, Linked_List, Recursion, Data_Structure_I_Day_8_Linked_List, Algorithm_I_Day_10_Recursion_Backtracking, Level_1_Day_3_Linked_List, Udemy_Linked_List, Big_O_Time_O(N)_ Space_O(1) | 35 | 72.56
13411370| 0072 |[ Edit Distance] ( src/main/python/g0001_0100/s0072_edit_distance/Solution.py ) | Medium | Top_100_Liked_Questions, String, Dynamic_Programming, Algorithm_II_Day_18_Dynamic_Programming, Dynamic_Programming_I_Day_19, Udemy_Dynamic_Programming, Big_O_Time_O(n^2)_ Space_O(n2) | 60 | 98.17
13421371| 0070 |[ Climbing Stairs] ( src/main/python/g0001_0100/s0070_climbing_stairs/Solution.py ) | Easy | Top_100_Liked_Questions, Top_Interview_Questions, Dynamic_Programming, Math, Memoization, Algorithm_I_Day_12_Dynamic_Programming, Dynamic_Programming_I_Day_2, Level_1_Day_10_Dynamic_Programming, Udemy_Dynamic_Programming, Big_O_Time_O(n)_ Space_O(n) | 29 | 87.37
13431372| 0064 |[ Minimum Path Sum] ( src/main/python/g0001_0100/s0064_minimum_path_sum/Solution.py ) | Medium | Top_100_Liked_Questions, Array, Dynamic_Programming, Matrix, Dynamic_Programming_I_Day_16, Udemy_Dynamic_Programming, Big_O_Time_O(m\* n)_ Space_O(m\* n) | 72 | 97.25
0 commit comments