@@ -393,6 +393,7 @@ TypeScript-based LeetCode algorithm problem solutions, regularly updated.
393393
394394| <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- -->
395395|-|-|-|-|-|-
396+ | 0242 |[ Valid Anagram] ( src/main/ts/g0201_0300/s0242_valid_anagram/solution.ts ) | Easy | String, Hash_Table, Sorting | 4 | 97.99
396397
397398#### Day 12 Class and Object
398399
@@ -884,6 +885,7 @@ TypeScript-based LeetCode algorithm problem solutions, regularly updated.
884885| 0020 |[ Valid Parentheses] ( src/main/ts/g0001_0100/s0020_valid_parentheses/solution.ts ) | Easy | Top_100_Liked_Questions, Top_Interview_Questions, String, Stack, Big_O_Time_O(n)_ Space_O(n) | 1 | 86.85
885886| 0005 |[ Longest Palindromic Substring] ( src/main/ts/g0001_0100/s0005_longest_palindromic_substring/solution.ts ) | Medium | Top_100_Liked_Questions, Top_Interview_Questions, String, Dynamic_Programming, Big_O_Time_O(n)_ Space_O(n) | 8 | 99.14
886887| 0394 |[ Decode String] ( src/main/ts/g0301_0400/s0394_decode_string/solution.ts ) | Medium | Top_100_Liked_Questions, String, Stack, Recursion, Big_O_Time_O(n)_ Space_O(n) | 0 | 100.00
888+ | 0242 |[ Valid Anagram] ( src/main/ts/g0201_0300/s0242_valid_anagram/solution.ts ) | Easy | String, Hash_Table, Sorting | 4 | 97.99
887889| 0049 |[ Group Anagrams] ( src/main/ts/g0001_0100/s0049_group_anagrams/solution.ts ) | 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 | 78.99
888890| 0151 |[ Reverse Words in a String] ( src/main/ts/g0101_0200/s0151_reverse_words_in_a_string/solution.ts ) | Medium | String, Two_Pointers | 0 | 100.00
889891
@@ -1081,12 +1083,15 @@ TypeScript-based LeetCode algorithm problem solutions, regularly updated.
10811083| 0054 |[ Spiral Matrix] ( src/main/ts/g0001_0100/s0054_spiral_matrix/solution.ts ) | Medium | Top_100_Liked_Questions, Top_Interview_Questions, Array, Matrix, Simulation | 0 | 100.00
10821084| 0048 |[ Rotate Image] ( src/main/ts/g0001_0100/s0048_rotate_image/solution.ts ) | Medium | Top_100_Liked_Questions, Top_Interview_Questions, Array, Math, Matrix, Big_O_Time_O(n^2)_ Space_O(1) | 0 | 100.00
10831085| 0073 |[ Set Matrix Zeroes] ( src/main/ts/g0001_0100/s0073_set_matrix_zeroes/solution.ts ) | Medium | Top_100_Liked_Questions, Top_Interview_Questions, Array, Hash_Table, Matrix, Big_O_Time_O(m\* n)_ Space_O(1) | 4 | 50.63
1086+ | 0289 |[ Game of Life] ( src/main/ts/g0201_0300/s0289_game_of_life/solution.ts ) | Medium | Array, Matrix, Simulation | 0 | 100.00
10841087
10851088#### Top Interview 150 Hashmap
10861089
10871090| <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- -->
10881091|-|-|-|-|-|-
10891092| 0205 |[ Isomorphic Strings] ( src/main/ts/g0201_0300/s0205_isomorphic_strings/solution.ts ) | Easy | String, Hash_Table | 3 | 96.02
1093+ | 0290 |[ Word Pattern] ( src/main/ts/g0201_0300/s0290_word_pattern/solution.ts ) | Easy | String, Hash_Table | 0 | 100.00
1094+ | 0242 |[ Valid Anagram] ( src/main/ts/g0201_0300/s0242_valid_anagram/solution.ts ) | Easy | String, Hash_Table, Sorting | 4 | 97.99
10901095| 0049 |[ Group Anagrams] ( src/main/ts/g0001_0100/s0049_group_anagrams/solution.ts ) | 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 | 78.99
10911096| 0001 |[ Two Sum] ( src/main/ts/g0001_0100/s0001_two_sum/solution.ts ) | Easy | Top_100_Liked_Questions, Top_Interview_Questions, Array, Hash_Table, Big_O_Time_O(n)_ Space_O(n), AI_can_be_used_to_solve_the_task | 1 | 89.70
10921097| 0202 |[ Happy Number] ( src/main/ts/g0201_0300/s0202_happy_number/solution.ts ) | Easy | Top_Interview_Questions, Hash_Table, Math, Two_Pointers | 0 | 100.00
@@ -1097,6 +1102,7 @@ TypeScript-based LeetCode algorithm problem solutions, regularly updated.
10971102
10981103| <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- -->
10991104|-|-|-|-|-|-
1105+ | 0228 |[ Summary Ranges] ( src/main/ts/g0201_0300/s0228_summary_ranges/solution.ts ) | Easy | Array | 0 | 100.00
11001106| 0056 |[ Merge Intervals] ( src/main/ts/g0001_0100/s0056_merge_intervals/solution.ts ) | Medium | Top_100_Liked_Questions, Top_Interview_Questions, Array, Sorting, Big_O_Time_O(n_log_n)_ Space_O(n) | 7 | 87.99
11011107| 0057 |[ Insert Interval] ( src/main/ts/g0001_0100/s0057_insert_interval/solution.ts ) | Medium | Array | 0 | 100.00
11021108
@@ -1108,6 +1114,7 @@ TypeScript-based LeetCode algorithm problem solutions, regularly updated.
11081114| 0071 |[ Simplify Path] ( src/main/ts/g0001_0100/s0071_simplify_path/solution.ts ) | Medium | String, Stack | 0 | 100.00
11091115| 0155 |[ Min Stack] ( src/main/ts/g0101_0200/s0155_min_stack/solution.ts ) | Medium | Top_100_Liked_Questions, Top_Interview_Questions, Stack, Design, Big_O_Time_O(1)_ Space_O(N) | 5 | 99.10
11101116| 0150 |[ Evaluate Reverse Polish Notation] ( src/main/ts/g0101_0200/s0150_evaluate_reverse_polish_notation/solution.ts ) | Medium | Top_Interview_Questions, Array, Math, Stack | 1 | 97.48
1117+ | 0224 |[ Basic Calculator] ( src/main/ts/g0201_0300/s0224_basic_calculator/solution.ts ) | Hard | String, Math, Stack, Recursion | 6 | 96.62
11111118
11121119#### Top Interview 150 Linked List
11131120
@@ -1178,7 +1185,7 @@ TypeScript-based LeetCode algorithm problem solutions, regularly updated.
11781185|-|-|-|-|-|-
11791186| 0208 |[ Implement Trie (Prefix Tree)] ( src/main/ts/g0201_0300/s0208_implement_trie_prefix_tree/solution.ts ) | 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) | 48 | 63.95
11801187| 0211 |[ Design Add and Search Words Data Structure] ( src/main/ts/g0201_0300/s0211_design_add_and_search_words_data_structure/solution.ts ) | Medium | String, Depth_First_Search, Design, Trie | 450 | 92.88
1181- | 0212 |[ Word Search II] ( src/main/ts/g0201_0300/s0212_word_search_ii/solution.ts ) | Hard | Top_Interview_Questions, Array, String, Matrix, Backtracking, Trie | ew 150 | ew 150 Trie
1188+ | 0212 |[ Word Search II] ( src/main/ts/g0201_0300/s0212_word_search_ii/solution.ts ) | Hard | Top_Interview_Questions, Array, String, Matrix, Backtracking, Trie | 62 | 99.46
11821189
11831190#### Top Interview 150 Backtracking
11841191
@@ -1308,6 +1315,7 @@ TypeScript-based LeetCode algorithm problem solutions, regularly updated.
13081315
13091316| <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- -->
13101317|-|-|-|-|-|-
1318+ | 0242 |[ Valid Anagram] ( src/main/ts/g0201_0300/s0242_valid_anagram/solution.ts ) | Easy | String, Hash_Table, Sorting | 4 | 97.99
13111319
13121320#### Day 7 Linked List
13131321
@@ -1405,6 +1413,7 @@ TypeScript-based LeetCode algorithm problem solutions, regularly updated.
14051413
14061414| <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- -->
14071415|-|-|-|-|-|-
1416+ | 0290 |[ Word Pattern] ( src/main/ts/g0201_0300/s0290_word_pattern/solution.ts ) | Easy | String, Hash_Table | 0 | 100.00
14081417| 0763 |[ Partition Labels] ( src/main/ts/g0701_0800/s0763_partition_labels/solution.ts ) | Medium | String, Hash_Table, Greedy, Two_Pointers, Big_O_Time_O(n)_ Space_O(1) | 4 | 86.89
14091418
14101419#### Day 8 String
@@ -1739,20 +1748,25 @@ TypeScript-based LeetCode algorithm problem solutions, regularly updated.
17391748| 0322 |[ Coin Change] ( src/main/ts/g0301_0400/s0322_coin_change/solution.ts ) | Medium | Top_100_Liked_Questions, Array, Dynamic_Programming, Breadth_First_Search, Algorithm_II_Day_18_Dynamic_Programming, Dynamic_Programming_I_Day_20, Level_2_Day_12_Dynamic_Programming, Top_Interview_150_1D_DP, Big_O_Time_O(m\* n)_ Space_O(amount) | 27 | 89.42
17401749| 0300 |[ Longest Increasing Subsequence] ( src/main/ts/g0201_0300/s0300_longest_increasing_subsequence/solution.ts ) | Medium | Top_100_Liked_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, Top_Interview_150_1D_DP, Big_O_Time_O(n\* log_n)_ Space_O(n) | 6 | 84.68
17411750| 0295 |[ Find Median from Data Stream] ( src/main/ts/g0201_0300/s0295_find_median_from_data_stream/solution.ts ) | Hard | Top_100_Liked_Questions, Sorting, Two_Pointers, Design, Heap_Priority_Queue, Data_Stream, Top_Interview_150_Heap, Big_O_Time_O(n\* log_n)_ Space_O(n) | 106 | 92.31
1751+ | 0290 |[ Word Pattern] ( src/main/ts/g0201_0300/s0290_word_pattern/solution.ts ) | Easy | String, Hash_Table, Data_Structure_II_Day_7_String, Top_Interview_150_Hashmap | 0 | 100.00
1752+ | 0289 |[ Game of Life] ( src/main/ts/g0201_0300/s0289_game_of_life/solution.ts ) | Medium | Array, Matrix, Simulation, Top_Interview_150_Matrix | 0 | 100.00
17421753| 0287 |[ Find the Duplicate Number] ( src/main/ts/g0201_0300/s0287_find_the_duplicate_number/solution.ts ) | Medium | Top_100_Liked_Questions, Array, Binary_Search, Two_Pointers, Bit_Manipulation, Binary_Search_II_Day_5, Big_O_Time_O(n)_ Space_O(n) | 5 | 88.65
17431754| 0283 |[ Move Zeroes] ( src/main/ts/g0201_0300/s0283_move_zeroes/solution.ts ) | 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) | 1 | 82.86
1755+ | 0242 |[ Valid Anagram] ( src/main/ts/g0201_0300/s0242_valid_anagram/solution.ts ) | Easy | String, Hash_Table, Sorting, Data_Structure_I_Day_6_String, Programming_Skills_I_Day_11_Containers_and_Libraries, Udemy_Strings, Top_Interview_150_Hashmap | 4 | 97.99
17441756| 0240 |[ Search a 2D Matrix II] ( src/main/ts/g0201_0300/s0240_search_a_2d_matrix_ii/solution.ts ) | 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) | 42 | 94.61
17451757| 0239 |[ Sliding Window Maximum] ( src/main/ts/g0201_0300/s0239_sliding_window_maximum/solution.ts ) | 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) | 26 | 99.07
17461758| 0238 |[ Product of Array Except Self] ( src/main/ts/g0201_0300/s0238_product_of_array_except_self/solution.ts ) | Medium | Top_100_Liked_Questions, Array, Prefix_Sum, Data_Structure_II_Day_5_Array, Udemy_Arrays, Top_Interview_150_Array/String, Big_O_Time_O(n^2)_ Space_O(n) | 3 | 92.81
17471759| 0236 |[ Lowest Common Ancestor of a Binary Tree] ( src/main/ts/g0201_0300/s0236_lowest_common_ancestor_of_a_binary_tree/solution.ts ) | Medium | Top_100_Liked_Questions, Depth_First_Search, Tree, Binary_Tree, Data_Structure_II_Day_18_Tree, Udemy_Tree_Stack_Queue, Top_Interview_150_Binary_Tree_General, Big_O_Time_O(n)_ Space_O(n) | 61 | 75.97
17481760| 0234 |[ Palindrome Linked List] ( src/main/ts/g0201_0300/s0234_palindrome_linked_list/solution.ts ) | 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) | 3 | 92.85
17491761| 0230 |[ Kth Smallest Element in a BST] ( src/main/ts/g0201_0300/s0230_kth_smallest_element_in_a_bst/solution.ts ) | 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, Top_Interview_150_Binary_Search_Tree, Big_O_Time_O(n)_ Space_O(n) | 0 | 100.00
1762+ | 0228 |[ Summary Ranges] ( src/main/ts/g0201_0300/s0228_summary_ranges/solution.ts ) | Easy | Array, Top_Interview_150_Intervals | 0 | 100.00
17501763| 0226 |[ Invert Binary Tree] ( src/main/ts/g0201_0300/s0226_invert_binary_tree/solution.ts ) | 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, Top_Interview_150_Binary_Tree_General, Big_O_Time_O(n)_ Space_O(n) | 0 | 100.00
1764+ | 0224 |[ Basic Calculator] ( src/main/ts/g0201_0300/s0224_basic_calculator/solution.ts ) | Hard | String, Math, Stack, Recursion, Top_Interview_150_Stack | 6 | 96.62
17511765| 0222 |[ Count Complete Tree Nodes] ( src/main/ts/g0201_0300/s0222_count_complete_tree_nodes/solution.ts ) | Easy | Depth_First_Search, Tree, Binary_Search, Binary_Tree, Binary_Search_II_Day_10, Top_Interview_150_Binary_Tree_General | 0 | 100.00
17521766| 0221 |[ Maximal Square] ( src/main/ts/g0201_0300/s0221_maximal_square/solution.ts ) | Medium | Array, Dynamic_Programming, Matrix, Dynamic_Programming_I_Day_16, Top_Interview_150_Multidimensional_DP, Big_O_Time_O(m\* n)_ Space_O(m\* n) | 18 | 59.02
17531767| 0219 |[ Contains Duplicate II] ( src/main/ts/g0201_0300/s0219_contains_duplicate_ii/solution.ts ) | Easy | Array, Hash_Table, Sliding_Window, Top_Interview_150_Hashmap | 17 | 79.29
17541768| 0215 |[ Kth Largest Element in an Array] ( src/main/ts/g0201_0300/s0215_kth_largest_element_in_an_array/solution.ts ) | 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, Top_Interview_150_Heap, Big_O_Time_O(n\* log(n))_ Space_O(log(n)) | 4 | 99.64
1755- | 0212 |[ Word Search II] ( src/main/ts/g0201_0300/s0212_word_search_ii/solution.ts ) | Hard | Top_Interview_Questions, Array, String, Matrix, Backtracking, Trie | ew 150 | ew 150 Trie
1769+ | 0212 |[ Word Search II] ( src/main/ts/g0201_0300/s0212_word_search_ii/solution.ts ) | Hard | Top_Interview_Questions, Array, String, Matrix, Backtracking, Trie, Top_Interview_150_Trie | 62 | 99.46
17561770| 0211 |[ Design Add and Search Words Data Structure] ( src/main/ts/g0201_0300/s0211_design_add_and_search_words_data_structure/solution.ts ) | Medium | String, Depth_First_Search, Design, Trie, Top_Interview_150_Trie | 450 | 92.88
17571771| 0210 |[ Course Schedule II] ( src/main/ts/g0201_0300/s0210_course_schedule_ii/solution.ts ) | Medium | Top_Interview_Questions, Depth_First_Search, Breadth_First_Search, Graph, Topological_Sort, Level_2_Day_11_Graph/BFS/DFS, Top_Interview_150_Graph_General | 2 | 99.76
17581772| 0209 |[ Minimum Size Subarray Sum] ( src/main/ts/g0201_0300/s0209_minimum_size_subarray_sum/solution.ts ) | Medium | Array, Binary_Search, Prefix_Sum, Sliding_Window, Algorithm_II_Day_5_Sliding_Window, Binary_Search_II_Day_1, Top_Interview_150_Sliding_Window | 2 | 88.11
0 commit comments