@@ -91,6 +91,7 @@ Php-based LeetCode algorithm problem solutions, regularly updated.
91
91
92
92
| <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- -->
93
93
|-|-|-|-|-|-
94
+ | 0153 |[ Find Minimum in Rotated Sorted Array] ( src/main/php/g0101_0200/s0153_find_minimum_in_rotated_sorted_array/Solution.php ) | Medium | Top_100_Liked_Questions, Array, Binary_Search, Big_O_Time_O(log_N)_ Space_O(log_N) | 9 | 73.47
94
95
95
96
### Binary Search II
96
97
@@ -229,6 +230,7 @@ Php-based LeetCode algorithm problem solutions, regularly updated.
229
230
230
231
| <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- -->
231
232
|-|-|-|-|-|-
233
+ | 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
232
234
233
235
#### Day 7
234
236
@@ -245,6 +247,7 @@ Php-based LeetCode algorithm problem solutions, regularly updated.
245
247
246
248
| <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- -->
247
249
|-|-|-|-|-|-
250
+ | 0139 |[ Word Break] ( src/main/php/g0101_0200/s0139_word_break/Solution.php ) | 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) | 7 | 75.00
248
251
| 0042 |[ Trapping Rain Water] ( src/main/php/g0001_0100/s0042_trapping_rain_water/Solution.php ) | Hard | Top_100_Liked_Questions, Top_Interview_Questions, Array, Dynamic_Programming, Two_Pointers, Stack, Monotonic_Stack, Big_O_Time_O(n)_ Space_O(1) | 29 | 69.15
249
252
250
253
#### Day 10
@@ -448,6 +451,7 @@ Php-based LeetCode algorithm problem solutions, regularly updated.
448
451
449
452
| <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- -->
450
453
|-|-|-|-|-|-
454
+ | 0138 |[ Copy List with Random Pointer] ( src/main/php/g0101_0200/s0138_copy_list_with_random_pointer/Solution.php ) | Medium | Top_100_Liked_Questions, Top_Interview_Questions, Hash_Table, Linked_List, Big_O_Time_O(N)_ Space_O(N) | 2300 | 60.00
451
455
452
456
#### Day 15
453
457
@@ -469,6 +473,7 @@ Php-based LeetCode algorithm problem solutions, regularly updated.
469
473
470
474
| <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- -->
471
475
|-|-|-|-|-|-
476
+ | 0155 |[ Min Stack] ( src/main/php/g0101_0200/s0155_min_stack/MinStack.php ) | Easy | Top_100_Liked_Questions, Top_Interview_Questions, Stack, Design, Big_O_Time_O(1)_ Space_O(N) | 19 | 100.00
472
477
473
478
#### Day 19
474
479
@@ -626,6 +631,7 @@ Php-based LeetCode algorithm problem solutions, regularly updated.
626
631
627
632
| <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- -->
628
633
|-|-|-|-|-|-
634
+ | 0142 |[ Linked List Cycle II] ( src/main/php/g0101_0200/s0142_linked_list_cycle_ii/Solution.php ) | Medium | Top_100_Liked_Questions, Hash_Table, Two_Pointers, Linked_List, Big_O_Time_O(N)_ Space_O(1) | 7 | 100.00
629
635
630
636
#### Day 5 Greedy
631
637
@@ -710,6 +716,7 @@ Php-based LeetCode algorithm problem solutions, regularly updated.
710
716
711
717
| <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- -->
712
718
|-|-|-|-|-|-
719
+ | 0148 |[ Sort List] ( src/main/php/g0101_0200/s0148_sort_list/Solution.php ) | 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)) | 63 | 97.30
713
720
714
721
#### Day 5 Greedy
715
722
@@ -757,6 +764,7 @@ Php-based LeetCode algorithm problem solutions, regularly updated.
757
764
758
765
| <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- -->
759
766
|-|-|-|-|-|-
767
+ | 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
760
768
761
769
#### Day 14 Sliding Window/Two Pointer
762
770
@@ -775,6 +783,7 @@ Php-based LeetCode algorithm problem solutions, regularly updated.
775
783
776
784
| <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- -->
777
785
|-|-|-|-|-|-
786
+ | 0155 |[ Min Stack] ( src/main/php/g0101_0200/s0155_min_stack/MinStack.php ) | Easy | Top_100_Liked_Questions, Top_Interview_Questions, Stack, Design, Big_O_Time_O(1)_ Space_O(N) | 19 | 100.00
778
787
779
788
#### Day 17 Interval
780
789
@@ -823,6 +832,7 @@ Php-based LeetCode algorithm problem solutions, regularly updated.
823
832
| <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- -->
824
833
|-|-|-|-|-|-
825
834
| 0033 |[ Search in Rotated Sorted Array] ( src/main/php/g0001_0100/s0033_search_in_rotated_sorted_array/Solution.php ) | Medium | Top_100_Liked_Questions, Top_Interview_Questions, Array, Binary_Search, Big_O_Time_O(log_n)_ Space_O(1) | 7 | 83.17
835
+ | 0153 |[ Find Minimum in Rotated Sorted Array] ( src/main/php/g0101_0200/s0153_find_minimum_in_rotated_sorted_array/Solution.php ) | Medium | Top_100_Liked_Questions, Array, Binary_Search, Big_O_Time_O(log_N)_ Space_O(log_N) | 9 | 73.47
826
836
827
837
#### Udemy Arrays
828
838
@@ -867,8 +877,13 @@ Php-based LeetCode algorithm problem solutions, regularly updated.
867
877
|-|-|-|-|-|-
868
878
| 0114 |[ Flatten Binary Tree to Linked List] ( src/main/php/g0101_0200/s0114_flatten_binary_tree_to_linked_list/Solution.php ) | Medium | Top_100_Liked_Questions, Depth_First_Search, Tree, Binary_Tree, Stack, Linked_List, Big_O_Time_O(N)_ Space_O(N) | 3 | 100.00
869
879
| 0024 |[ Swap Nodes in Pairs] ( src/main/php/g0001_0100/s0024_swap_nodes_in_pairs/Solution.php ) | Medium | Top_100_Liked_Questions, Linked_List, Recursion, Big_O_Time_O(n)_ Space_O(1) | 3 | 85.71
880
+ | 0142 |[ Linked List Cycle II] ( src/main/php/g0101_0200/s0142_linked_list_cycle_ii/Solution.php ) | Medium | Top_100_Liked_Questions, Hash_Table, Two_Pointers, Linked_List, Big_O_Time_O(N)_ Space_O(1) | 7 | 100.00
881
+ | 0141 |[ Linked List Cycle] ( src/main/php/g0101_0200/s0141_linked_list_cycle/Solution.php ) | Easy | Top_100_Liked_Questions, Top_Interview_Questions, Hash_Table, Two_Pointers, Linked_List, Big_O_Time_O(N)_ Space_O(1) | 8 | 90.60
870
882
| 0021 |[ Merge Two Sorted Lists] ( src/main/php/g0001_0100/s0021_merge_two_sorted_lists/Solution.php ) | Easy | Top_100_Liked_Questions, Top_Interview_Questions, Linked_List, Recursion, Big_O_Time_O(m+n)_ Space_O(m+n) | 3 | 90.57
883
+ | 0160 |[ Intersection of Two Linked Lists] ( src/main/php/g0101_0200/s0160_intersection_of_two_linked_lists/Solution.php ) | Easy | Top_100_Liked_Questions, Top_Interview_Questions, Hash_Table, Two_Pointers, Linked_List, Big_O_Time_O(M+N)_ Space_O(1) | 30 | 81.67
884
+ | 0138 |[ Copy List with Random Pointer] ( src/main/php/g0101_0200/s0138_copy_list_with_random_pointer/Solution.php ) | Medium | Top_100_Liked_Questions, Top_Interview_Questions, Hash_Table, Linked_List, Big_O_Time_O(N)_ Space_O(N) | 2300 | 60.00
871
885
| 0025 |[ Reverse Nodes in k-Group] ( src/main/php/g0001_0100/s0025_reverse_nodes_in_k_group/Solution.php ) | Hard | Top_100_Liked_Questions, Linked_List, Recursion, Big_O_Time_O(n)_ Space_O(k) | 3 | 100.00
886
+ | 0146 |[ LRU Cache] ( src/main/php/g0101_0200/s0146_lru_cache/LRUCache.php ) | Medium | Top_100_Liked_Questions, Top_Interview_Questions, Hash_Table, Design, Linked_List, Doubly_Linked_List, Big_O_Time_O(1)_ Space_O(capacity) | 402 | 41.18
872
887
873
888
#### Udemy Tree Stack Queue
874
889
@@ -894,6 +909,8 @@ Php-based LeetCode algorithm problem solutions, regularly updated.
894
909
895
910
| <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- -->
896
911
|-|-|-|-|-|-
912
+ | 0139 |[ Word Break] ( src/main/php/g0101_0200/s0139_word_break/Solution.php ) | 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) | 7 | 75.00
913
+ | 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
897
914
| 0070 |[ Climbing Stairs] ( src/main/php/g0001_0100/s0070_climbing_stairs/Solution.php ) | Easy | Top_100_Liked_Questions, Top_Interview_Questions, Dynamic_Programming, Math, Memoization, Big_O_Time_O(n)_ Space_O(n) | 3 | 82.81
898
915
| 0064 |[ Minimum Path Sum] ( src/main/php/g0001_0100/s0064_minimum_path_sum/Solution.php ) | Medium | Top_100_Liked_Questions, Array, Dynamic_Programming, Matrix, Big_O_Time_O(m\* n)_ Space_O(m\* n) | 20 | 81.48
899
916
| 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
@@ -918,6 +935,7 @@ Php-based LeetCode algorithm problem solutions, regularly updated.
918
935
919
936
| <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- -->
920
937
|-|-|-|-|-|-
938
+ | 0155 |[ Min Stack] ( src/main/php/g0101_0200/s0155_min_stack/MinStack.php ) | Easy | Top_100_Liked_Questions, Top_Interview_Questions, Stack, Design, Big_O_Time_O(1)_ Space_O(N) | 19 | 100.00
921
939
922
940
### Data Structure I
923
941
@@ -959,6 +977,7 @@ Php-based LeetCode algorithm problem solutions, regularly updated.
959
977
960
978
| <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- -->
961
979
|-|-|-|-|-|-
980
+ | 0141 |[ Linked List Cycle] ( src/main/php/g0101_0200/s0141_linked_list_cycle/Solution.php ) | Easy | Top_100_Liked_Questions, Top_Interview_Questions, Hash_Table, Two_Pointers, Linked_List, Big_O_Time_O(N)_ Space_O(1) | 8 | 90.60
962
981
| 0021 |[ Merge Two Sorted Lists] ( src/main/php/g0001_0100/s0021_merge_two_sorted_lists/Solution.php ) | Easy | Top_100_Liked_Questions, Top_Interview_Questions, Linked_List, Recursion, Big_O_Time_O(m+n)_ Space_O(m+n) | 3 | 90.57
963
982
964
983
#### Day 8 Linked List
@@ -1061,11 +1080,13 @@ Php-based LeetCode algorithm problem solutions, regularly updated.
1061
1080
| <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- -->
1062
1081
|-|-|-|-|-|-
1063
1082
| 0002 |[ Add Two Numbers] ( src/main/php/g0001_0100/s0002_add_two_numbers/Solution.php ) | Medium | Top_100_Liked_Questions, Top_Interview_Questions, Math, Linked_List, Recursion, Big_O_Time_O(max(N,M))_ Space_O(max(N,M)) | 13 | 73.83
1083
+ | 0142 |[ Linked List Cycle II] ( src/main/php/g0101_0200/s0142_linked_list_cycle_ii/Solution.php ) | Medium | Top_100_Liked_Questions, Hash_Table, Two_Pointers, Linked_List, Big_O_Time_O(N)_ Space_O(1) | 7 | 100.00
1064
1084
1065
1085
#### Day 11 Linked List
1066
1086
1067
1087
| <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- -->
1068
1088
|-|-|-|-|-|-
1089
+ | 0160 |[ Intersection of Two Linked Lists] ( src/main/php/g0101_0200/s0160_intersection_of_two_linked_lists/Solution.php ) | Easy | Top_100_Liked_Questions, Top_Interview_Questions, Hash_Table, Two_Pointers, Linked_List, Big_O_Time_O(M+N)_ Space_O(1) | 30 | 81.67
1069
1090
1070
1091
#### Day 12 Linked List
1071
1092
@@ -1083,6 +1104,7 @@ Php-based LeetCode algorithm problem solutions, regularly updated.
1083
1104
1084
1105
| <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- -->
1085
1106
|-|-|-|-|-|-
1107
+ | 0155 |[ Min Stack] ( src/main/php/g0101_0200/s0155_min_stack/MinStack.php ) | Easy | Top_100_Liked_Questions, Top_Interview_Questions, Stack, Design, Big_O_Time_O(1)_ Space_O(N) | 19 | 100.00
1086
1108
1087
1109
#### Day 15 Tree
1088
1110
@@ -1213,6 +1235,7 @@ Php-based LeetCode algorithm problem solutions, regularly updated.
1213
1235
1214
1236
| <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- -->
1215
1237
|-|-|-|-|-|-
1238
+ | 0153 |[ Find Minimum in Rotated Sorted Array] ( src/main/php/g0101_0200/s0153_find_minimum_in_rotated_sorted_array/Solution.php ) | Medium | Top_100_Liked_Questions, Array, Binary_Search, Big_O_Time_O(log_N)_ Space_O(log_N) | 9 | 73.47
1216
1239
1217
1240
#### Day 3 Two Pointers
1218
1241
@@ -1289,6 +1312,7 @@ Php-based LeetCode algorithm problem solutions, regularly updated.
1289
1312
1290
1313
| <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- -->
1291
1314
|-|-|-|-|-|-
1315
+ | 0139 |[ Word Break] ( src/main/php/g0101_0200/s0139_word_break/Solution.php ) | 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) | 7 | 75.00
1292
1316
1293
1317
#### Day 16 Dynamic Programming
1294
1318
@@ -1325,6 +1349,16 @@ Php-based LeetCode algorithm problem solutions, regularly updated.
1325
1349
1326
1350
| # | Title | Difficulty | Tag | Time, ms | Time, %
1327
1351
|------|----------------|-------------|-------------|----------|---------
1352
+ | 0160 |[ Intersection of Two Linked Lists] ( src/main/php/g0101_0200/s0160_intersection_of_two_linked_lists/Solution.php ) | Easy | Top_100_Liked_Questions, Top_Interview_Questions, Hash_Table, Two_Pointers, Linked_List, Data_Structure_II_Day_11_Linked_List, Udemy_Linked_List, Big_O_Time_O(M+N)_ Space_O(1) | 30 | 81.67
1353
+ | 0155 |[ Min Stack] ( src/main/php/g0101_0200/s0155_min_stack/MinStack.php ) | Easy | Top_100_Liked_Questions, Top_Interview_Questions, Stack, Design, Data_Structure_II_Day_14_Stack_Queue, Programming_Skills_II_Day_18, Level_2_Day_16_Design, Udemy_Design, Big_O_Time_O(1)_ Space_O(N) | 19 | 100.00
1354
+ | 0153 |[ Find Minimum in Rotated Sorted Array] ( src/main/php/g0101_0200/s0153_find_minimum_in_rotated_sorted_array/Solution.php ) | 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) | 9 | 73.47
1355
+ | 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, Dynamic_Programming_I_Day_6, Level_2_Day_13_Dynamic_Programming, Udemy_Dynamic_Programming, Big_O_Time_O(N)_ Space_O(1) | 15 | 92.86
1356
+ | 0148 |[ Sort List] ( src/main/php/g0101_0200/s0148_sort_list/Solution.php ) | 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)) | 63 | 97.30
1357
+ | 0146 |[ LRU Cache] ( src/main/php/g0101_0200/s0146_lru_cache/LRUCache.php ) | 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) | 402 | 41.18
1358
+ | 0142 |[ Linked List Cycle II] ( src/main/php/g0101_0200/s0142_linked_list_cycle_ii/Solution.php ) | Medium | Top_100_Liked_Questions, Hash_Table, Two_Pointers, Linked_List, Data_Structure_II_Day_10_Linked_List, Level_1_Day_4_Linked_List, Udemy_Linked_List, Big_O_Time_O(N)_ Space_O(1) | 7 | 100.00
1359
+ | 0141 |[ Linked List Cycle] ( src/main/php/g0101_0200/s0141_linked_list_cycle/Solution.php ) | Easy | Top_100_Liked_Questions, Top_Interview_Questions, Hash_Table, Two_Pointers, Linked_List, Data_Structure_I_Day_7_Linked_List, Udemy_Linked_List, Big_O_Time_O(N)_ Space_O(1) | 8 | 90.60
1360
+ | 0139 |[ Word Break] ( src/main/php/g0101_0200/s0139_word_break/Solution.php ) | 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) | 7 | 75.00
1361
+ | 0138 |[ Copy List with Random Pointer] ( src/main/php/g0101_0200/s0138_copy_list_with_random_pointer/Solution.php ) | Medium | Top_100_Liked_Questions, Top_Interview_Questions, Hash_Table, Linked_List, Programming_Skills_II_Day_14, Udemy_Linked_List, Big_O_Time_O(N)_ Space_O(N) | 2300 | 60.00
1328
1362
| 0136 |[ Single Number] ( src/main/php/g0101_0200/s0136_single_number/Solution.php ) | 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) | 33 | 80.08
1329
1363
| 0131 |[ Palindrome Partitioning] ( src/main/php/g0101_0200/s0131_palindrome_partitioning/Solution.php ) | Medium | Top_100_Liked_Questions, Top_Interview_Questions, String, Dynamic_Programming, Backtracking, Big_O_Time_O(N\* 2^N)_ Space_O(2^N\* N) | 159 | 61.90
1330
1364
| 0128 |[ Longest Consecutive Sequence] ( src/main/php/g0101_0200/s0128_longest_consecutive_sequence/Solution.php ) | Medium | Top_100_Liked_Questions, Top_Interview_Questions, Array, Hash_Table, Union_Find, Big_O_Time_O(N_log_N)_ Space_O(1) | 154 | 75.61
0 commit comments