@@ -315,6 +315,7 @@ Php-based LeetCode algorithm problem solutions, regularly updated.
315
315
316
316
| <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- -->
317
317
|-|-|-|-|-|-
318
+ | 0322 |[ Coin Change] ( src/main/php/g0301_0400/s0322_coin_change/Solution.php ) | Medium | Top_100_Liked_Questions, Top_Interview_Questions, Array, Dynamic_Programming, Breadth_First_Search, Big_O_Time_O(m\* n)_ Space_O(amount) | 185 | 96.30
318
319
319
320
#### Day 21
320
321
@@ -448,6 +449,7 @@ Php-based LeetCode algorithm problem solutions, regularly updated.
448
449
449
450
| <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- -->
450
451
|-|-|-|-|-|-
452
+ | 0438 |[ Find All Anagrams in a String] ( src/main/php/g0401_0500/s0438_find_all_anagrams_in_a_string/Solution.php ) | Medium | Top_100_Liked_Questions, String, Hash_Table, Sliding_Window, Big_O_Time_O(n+m)_ Space_O(1) | 29 | 66.67
451
453
452
454
#### Day 13
453
455
@@ -687,6 +689,7 @@ Php-based LeetCode algorithm problem solutions, regularly updated.
687
689
688
690
| <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- -->
689
691
|-|-|-|-|-|-
692
+ | 0438 |[ Find All Anagrams in a String] ( src/main/php/g0401_0500/s0438_find_all_anagrams_in_a_string/Solution.php ) | Medium | Top_100_Liked_Questions, String, Hash_Table, Sliding_Window, Big_O_Time_O(n+m)_ Space_O(1) | 29 | 66.67
690
693
691
694
#### Day 13 Hashmap
692
695
@@ -698,6 +701,7 @@ Php-based LeetCode algorithm problem solutions, regularly updated.
698
701
699
702
| <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- -->
700
703
|-|-|-|-|-|-
704
+ | 0394 |[ Decode String] ( src/main/php/g0301_0400/s0394_decode_string/Solution.php ) | Medium | Top_100_Liked_Questions, String, Stack, Recursion, Big_O_Time_O(n)_ Space_O(n) | 3 | 77.78
701
705
702
706
#### Day 15 Heap
703
707
@@ -744,6 +748,8 @@ Php-based LeetCode algorithm problem solutions, regularly updated.
744
748
745
749
| <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- -->
746
750
|-|-|-|-|-|-
751
+ | 0543 |[ Diameter of Binary Tree] ( src/main/php/g0501_0600/s0543_diameter_of_binary_tree/Solution.php ) | Easy | Top_100_Liked_Questions, Depth_First_Search, Tree, Binary_Tree, Big_O_Time_O(n)_ Space_O(n) | 0 | 100.00
752
+ | 0437 |[ Path Sum III] ( src/main/php/g0401_0500/s0437_path_sum_iii/Solution.php ) | Medium | Top_100_Liked_Questions, Depth_First_Search, Tree, Binary_Tree, Big_O_Time_O(n)_ Space_O(n) | 8 | 100.00
747
753
748
754
#### Day 8 Binary Search
749
755
@@ -773,11 +779,13 @@ Php-based LeetCode algorithm problem solutions, regularly updated.
773
779
| <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- -->
774
780
|-|-|-|-|-|-
775
781
| 0198 |[ House Robber] ( src/main/php/g0101_0200/s0198_house_robber/Solution.php ) | Medium | Top_100_Liked_Questions, Top_Interview_Questions, Array, Dynamic_Programming, Big_O_Time_O(n)_ Space_O(n) | 4 | 64.29
782
+ | 0322 |[ Coin Change] ( src/main/php/g0301_0400/s0322_coin_change/Solution.php ) | Medium | Top_100_Liked_Questions, Top_Interview_Questions, Array, Dynamic_Programming, Breadth_First_Search, Big_O_Time_O(m\* n)_ Space_O(amount) | 185 | 96.30
776
783
777
784
#### Day 13 Dynamic Programming
778
785
779
786
| <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- -->
780
787
|-|-|-|-|-|-
788
+ | 0416 |[ Partition Equal Subset Sum] ( src/main/php/g0401_0500/s0416_partition_equal_subset_sum/Solution.php ) | Medium | Top_100_Liked_Questions, Array, Dynamic_Programming, Big_O_Time_O(n\* sums)_ Space_O(n\* sums) | 245 | 86.67
781
789
| 0152 |[ Maximum Product Subarray] ( src/main/php/g0101_0200/s0152_maximum_product_subarray/Solution.php ) | Medium | Top_100_Liked_Questions, Top_Interview_Questions, Array, Dynamic_Programming, Big_O_Time_O(N)_ Space_O(1) | 15 | 92.86
782
790
783
791
#### Day 14 Sliding Window/Two Pointer
@@ -840,6 +848,7 @@ Php-based LeetCode algorithm problem solutions, regularly updated.
840
848
| 0003 |[ Longest Substring Without Repeating Characters] ( src/main/php/g0001_0100/s0003_longest_substring_without_repeating_characters/Solution.php ) | Medium | Top_100_Liked_Questions, Top_Interview_Questions, String, Hash_Table, Sliding_Window, Big_O_Time_O(n)_ Space_O(1) | 4 | 99.33
841
849
| 0020 |[ Valid Parentheses] ( src/main/php/g0001_0100/s0020_valid_parentheses/Solution.php ) | Easy | Top_100_Liked_Questions, Top_Interview_Questions, String, Stack, Big_O_Time_O(n)_ Space_O(n) | 3 | 88.14
842
850
| 0005 |[ Longest Palindromic Substring] ( src/main/php/g0001_0100/s0005_longest_palindromic_substring/Solution.php ) | Medium | Top_100_Liked_Questions, Top_Interview_Questions, String, Dynamic_Programming, Big_O_Time_O(n)_ Space_O(n) | 13 | 98.57
851
+ | 0394 |[ Decode String] ( src/main/php/g0301_0400/s0
F987
394_decode_string/Solution.php ) | Medium | Top_100_Liked_Questions, String, Stack, Recursion, Big_O_Time_O(n)_ Space_O(n) | 3 | 77.78
843
852
| 0049 |[ Group Anagrams] ( src/main/php/g0001_0100/s0049_group_anagrams/Solution.php ) | Medium | Top_100_Liked_Questions, Top_Interview_Questions, Array, String, Hash_Table, Sorting, Big_O_Time_O(n\* k_log_k)_ Space_O(n) | 27 | 80.85
844
853
845
854
#### Udemy Binary Search
@@ -913,6 +922,7 @@ Php-based LeetCode algorithm problem solutions, regularly updated.
913
922
|-|-|-|-|-|-
914
923
| 0094 |[ Binary Tree Inorder Traversal] ( src/main/php/g0001_0100/s0094_binary_tree_inorder_traversal/Solution.php ) | Easy | Top_100_Liked_Questions, Top_Interview_Questions, Depth_First_Search, Tree, Binary_Tree, Stack, Big_O_Time_O(n)_ Space_O(n) | 3 | 82.09
915
924
| 0102 |[ Binary Tree Level Order Traversal] ( src/main/php/g0101_0200/s0102_binary_tree_level_order_traversal/Solution.php ) | Medium | Top_100_Liked_Questions, Top_Interview_Questions, Breadth_First_Search, Tree, Binary_Tree, Big_O_Time_O(N)_ Space_O(N) | 4 | 96.08
925
+ | 0543 |[ Diameter of Binary Tree] ( src/main/php/g0501_0600/s0543_diameter_of_binary_tree/Solution.php ) | Easy | Top_100_Liked_Questions, Depth_First_Search, Tree, Binary_Tree, Big_O_Time_O(n)_ Space_O(n) | 0 | 100.00
916
926
| 0226 |[ Invert Binary Tree] ( src/main/php/g0201_0300/s0226_invert_binary_tree/Solution.php ) | Easy | Top_100_Liked_Questions, Depth_First_Search, Breadth_First_Search, Tree, Binary_Tree, Big_O_Time_O(n)_ Space_O(n) | 6 | 62.79
917
927
| 0104 |[ Maximum Depth of Binary Tree] ( src/main/php/g0101_0200/s0104_maximum_depth_of_binary_tree/Solution.php ) | 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) | 9 | 63.06
918
928
| 0124 |[ Binary Tree Maximum Path Sum] ( src/main/php/g0101_0200/s0124_binary_tree_maximum_path_sum/Solution.php ) | Hard | Top_100_Liked_Questions, Top_Interview_Questions, Dynamic_Programming, Depth_First_Search, Tree, Binary_Tree, Big_O_Time_O(N)_ Space_O(N) | 16 | 100.00
@@ -958,6 +968,7 @@ Php-based LeetCode algorithm problem solutions, regularly updated.
958
968
959
969
| <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- -->
960
970
|-|-|-|-|-|-
971
+ | 0338 |[ Counting Bits] ( src/main/php/g0301_0400/s0338_counting_bits/Solution.php ) | Easy | Top_100_Liked_Questions, Dynamic_Programming, Bit_Manipulation, Big_O_Time_O(num)_ Space_O(num) | 13 | 97.92
961
972
962
973
#### Udemy Design
963
974
@@ -1085,6 +1096,7 @@ Php-based LeetCode algorithm problem solutions, regularly updated.
1085
1096
| <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- -->
1086
1097
|-|-|-|-|-|-
1087
1098
| 0238 |[ Product of Array Except Self] ( src/main/php/g0201_0300/s0238_product_of_array_except_self/Solution.php ) | Medium | Top_100_Liked_Questions, Top_Interview_Questions, Array, Prefix_Sum, Big_O_Time_O(n^2)_ Space_O(n) | 58 | 86.76
1099
+ | 0560 |[ Subarray Sum Equals K] ( src/main/php/g0501_0600/s0560_subarray_sum_equals_k/Solution.php ) | Medium | Top_100_Liked_Questions, Array, Hash_Table, Prefix_Sum, Big_O_Time_O(n)_ Space_O(n) | 82 | 100.00
1088
1100
1089
1101
#### Day 6 String
1090
1102
@@ -1172,6 +1184,7 @@ Php-based LeetCode algorithm problem solutions, regularly updated.
1172
1184
| <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- -->
1173
1185
|-|-|-|-|-|-
1174
1186
| 0215 |[ Kth Largest Element in an Array] ( src/main/php/g0201_0300/s0215_kth_largest_element_in_an_array/Solution.php ) | 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)) | 222 | 49.15
1187
+ | 0347 |[ Top K Frequent Elements] ( src/main/php/g0301_0400/s0347_top_k_frequent_elements/Solution.php ) | Medium | Top_100_Liked_Questions, Top_Interview_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) | 23 | 84.85
1175
1188
1176
1189
#### Day 21 Heap Priority Queue
1177
1190
@@ -1293,6 +1306,7 @@ Php-based LeetCode algorithm problem solutions, regularly updated.
1293
1306
1294
1307
| <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- -->
1295
1308
|-|-|-|-|-|-
1309
+ | 0438 |[ Find All Anagrams in a String] ( src/main/php/g0401_0500/s0438_find_all_anagrams_in_a_string/Solution.php ) | Medium | Top_100_Liked_Questions, String, Hash_Table, Sliding_Window, Big_O_Time_O(n+m)_ Space_O(1) | 29 | 66.67
1296
1310
1297
1311
#### Day 6 Breadth First Search Depth First Search
1298
1312
@@ -1371,6 +1385,7 @@ Php-based LeetCode algorithm problem solutions, regularly updated.
1371
1385
| <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- -->
1372
1386
|-|-|-|-|-|-
1373
1387
| 0072 |[ Edit Distance] ( src/main/php/g0001_0100/s0072_edit_distance/Solution.php ) | Hard | Top_100_Liked_Questions, String, Dynamic_Programming, Big_O_Time_O(n^2)_ Space_O(n2) | 29 | 75.00
1388
+ | 0322 |[ Coin Change] ( src/main/php/g0301_0400/s0322_coin_change/Solution.php ) | Medium | Top_100_Liked_Questions, Top_Interview_Questions, Array, Dynamic_Programming, Breadth_First_Search, Big_O_Time_O(m\* n)_ Space_O(amount) | 185 | 96.30
1374
1389
1375
1390
#### Day 19 Bit Manipulation
1376
1391
@@ -1391,6 +1406,16 @@ Php-based LeetCode algorithm problem solutions, regularly updated.
1391
1406
1392
1407
| # | Title | Difficulty | Tag | Time, ms | Time, %
1393
1408
|------|----------------|-------------|-------------|----------|---------
1409
+ | 0560 |[ Subarray Sum Equals K] ( src/main/php/g0501_0600/s0560_subarray_sum_equals_k/Solution.php ) | Medium | Top_100_Liked_Questions, Array, Hash_Table, Prefix_Sum, Data_Structure_II_Day_5_Array, Big_O_Time_O(n)_ Space_O(n) | 82 | 100.00
1410
+ | 0543 |[ Diameter of Binary Tree] ( src/main/php/g0501_0600/s0543_diameter_of_binary_tree/Solution.php ) | 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) | 0 | 100.00
1411
+ | 0494 |[ Target Sum] ( src/main/php/g0401_0500/s0494_target_sum/Solution.php ) | Medium | Top_100_Liked_Questions, Array, Dynamic_Programming, Backtracking, Big_O_Time_O(n\* (sum+s))_ Space_O(n\* (sum+s)) | 27 | 75.00
1412
+ | 0438 |[ Find All Anagrams in a String] ( src/main/php/g0401_0500/s0438_find_all_anagrams_in_a_string/Solution.php ) | 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) | 29 | 66.67
1413
+ | 0437 |[ Path Sum III] ( src/main/php/g0401_0500/s0437_path_sum_iii/Solution.php ) | Medium | Top_100_Liked_Questions, Depth_First_Search, Tree, Binary_Tree, Level_2_Day_7_Tree, Big_O_Time_O(n)_ Space_O(n) | 8 | 100.00
1414
+ | 0416 |[ Partition Equal Subset Sum] ( src/main/php/g0401_0500/s0416_partition_equal_subset_sum/Solution.php ) | Medium | Top_100_Liked_Questions, Array, Dynamic_Programming, Level_2_Day_13_Dynamic_Programming, Big_O_Time_O(n\* sums)_ Space_O(n\* sums) | 245 | 86.67
1415
+ | 0394 |[ Decode String] ( src/main/php/g0301_0400/s0394_decode_string/Solution.php ) | Medium | Top_100_Liked_Questions, String, Stack, Recursion, Level_1_Day_14_Stack, Udemy_Strings, Big_O_Time_O(n)_ Space_O(n) | 3 | 77.78
1416
+ | 0347 |[ Top K Frequent Elements] ( src/main/php/g0301_0400/s0347_top_k_frequent_elements/Solution.php ) | Medium | Top_100_Liked_Questions, Top_Interview_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) | 23 | 84.85
1417
+ | 0338 |[ Counting Bits] ( src/main/php/g0301_0400/s0338_counting_bits/Solution.php ) | Easy | Top_100_Liked_Questions, Dynamic_Programming, Bit_Manipulation, Udemy_Bit_Manipulation, Big_O_Time_O(num)_ Space_O(num) | 13 | 97.92
1418
+ | 0322 |[ Coin Change] ( src/main/php/g0301_0400/s0322_coin_change/Solution.php ) | Medium | Top_100_Liked_Questions, Top_Interview_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) | 185 | 96.30
1394
1419
| 0300 |[ Longest Increasing Subsequence] ( src/main/php/g0201_0300/s0300_longest_increasing_subsequence/Solution.php ) | Medium | Top_100_Liked_Questions, Top_Interview_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) | 24 | 90.91
1395
1420
| 0295 |[ Find Median from Data Stream] ( src/main/php/g0201_0300/s0295_find_median_from_data_stream/MedianFinder.php ) | Hard | Top_100_Liked_Questions, Top_Interview_Questions, Sorting, Two_Pointers, Design, Heap_Priority_Queue, Data_Stream, Big_O_Time_O(n\* log_n)_ Space_O(n) | 332 | 75.00
1396
1421
| 0287 |[ Find the Duplicate Number] ( src/main/php/g0201_0300/s0287_find_the_duplicate_number/Solution.php ) | Medium | Top_100_Liked_Questions, Top_In
10000
terview_Questions, Array, Binary_Search, Two_Pointers, Bit_Manipulation, Binary_Search_II_Day_5, Big_O_Time_O(n)_ Space_O(n) | 174 | 76.92
0 commit comments