From fd75bdf8e372573fc5e6ea4c7c2c6b15674e0c6d Mon Sep 17 00:00:00 2001 From: Kaamy Date: Thu, 13 Feb 2025 19:30:51 +0330 Subject: [PATCH] fixed readme --- solutions/README.md | 224 ++++++++++++++++++++++---------------------- 1 file changed, 112 insertions(+), 112 deletions(-) diff --git a/solutions/README.md b/solutions/README.md index d5b1d68..c1e9568 100644 --- a/solutions/README.md +++ b/solutions/README.md @@ -2,117 +2,117 @@ |ID|Title && solution|Coefficient of difficulty|remarks| |:---:|:---|:---:|:---:| -|0001|[Two Sum](0001_two_sum/twosum.go)|Easy|*`array;`* *`lookup table`*| -|0002|[Add Two Numbers](0002_add_two_numbers/add_two_numbers.go)|Medium|*`linked list`*| -|0003|[Longest Substring Without Repeating Characters](0003_longest_substring_without_repeating_characters/longest_substring_without_repeating_characters.go)|Medium|*`sliding window`*| -|0004|[4. Median of Two Sorted Arrays](0004_median_of_two_sorted_arrays/motsa.go)|Hard|*`binary search`*| -|0007|[7. Reverse Integer](0007_reverse_integer/reverse_integer.go)|Easy|*`math`*| -|0009|[9. Palindrome Number](0009_palindrome_number/palindrome_number.go)|Easy|*`math`*| -|0011|[11. Container With Most Water](0011_container_with_most_water/container_with_most_water.go)|Medium|*`array;`* *`double index`*| -|0013|[13. Roman to Integer](0013_roman_to_integer/roman_to_integer.go)|Easy|*`math`*| -|0014|[14. Longest Common Prefix](0014_longest_common_prefix/lcp.go)|Easy|| -|0015|[15. 3Sum](0015_3Sum/3sum.go)|Medium|| -|0017|[Letter Combinations of a Phone Number](0017_letter_combination_of_a_phone_number/letter_combination_of_phone_number.go)|Medium|*`tree`*| -|0019|[19. Remove Nth Node From End of List](0019_remove_nth_node_from_end_of_list/remove_nth_node_from_end_of_list.go)|Medium|*`linked list`*| -|0020|[Valid Parentheses](0020_valid_parentheses/valid_parentheses.go)|Easy|*`string;`* *`stack`*| -|0021|[Merge Two Sorted Lists](0021_merge_two_sorted_lists/mergeTwoLists.go)|Easy|*`linked list`*| -|0023|[23. Merge k Sorted Lists](0023_merge_k_sorted_lists/mksl.go)|Hard|*`linked list;`* *`heap`*| -|0024|[24. Swap Nodes in Pairs](0024_swap_nodes_in_pairs/swap_nodes_in_pairs.go)|Medium|*`linked list`*| -|0025|[Reverse Nodes in k-Group](./0025_reverse_nodes_in_k_group/reverse_node_k_group.go)|Hard|*`linked list`*| -|0026|[Remove Duplicates from Sorted Array](0026_remove_duplicates_from_sorted_array/rdfsa.go)|Easy|*`array;`* *`double index`*| -|0027|[Remove Element](0027_remove_element/remove_element.go)|Easy|*`array`*| -|0028|[28. Implement strStr()](0028_implement_strstr/implement_strstr.go)|Easy|*`double index`*| -|0033|[Search in Rotated Sorted Array](0033_search_in_rotated_sorted_array/search_in_rotated_sorted_array.go)|Medium|*`binary search`*| -|0034|[Find First and Last Position of Element in Sorted Array](0034_find_first_and_last_position_of_element_in_sorted_array/find_first_and_last_position_of_element_in_sorted_array.go)|Medium|*`binary search`*| -|0035|[35. Search Insert Position](0035_search_insert_position/search_insert_position.go)|Easy|*`binary search`*| -|0048|[48. Rotate Image](0048_rotate_image/rotate_image.go)|Medium|*`array`*| -|0053|[53. Maximum Subarray](0053_maximum_subarray/maximum_subarray.go)|Easy|*`dynamic programming`*| -|0058|[58. Length of Last Word](0058_length_of_last_word/len_of_last_word.go)|Easy|| -|0061|[Rotate List](./0061_rotate_list/rotate_list.go)|Medium|*`linked list`*| -|0062|[Unique Paths](./0062_unique_paths/unique_paths.go)|Medium|*`recursion;`* *`memory search;`* *`dynamic programming`*| -|0063|[Unique Paths 2](./0063_unique_paths_2/unique_paths2.go)|Medium|*`recursion;`* *`memory search;`* *`dynamic programming`*| -|0064|[Minimum Path Sum](./0064_minimum_path_sum/minimum_path_sum.go)|Medium|*`dynamic programming;`* *` dfs`*| -|0066|[66. Plus One](0066_plus_one/plus_one.go)|Easy|*`math`*| -|0067|[add Binary](./0067_add_binary/add_binary.go)|Easy|| -|0069|[Sqrt(x)](0069_sqrtx/sqrtx.go)|Easy|*`binary search`*| -|0070|[Climbing Stairs](./0070_climbing_stairs/climbing_stairs.go)|Easy|*`dynamic programming`*| -|0075|[75. Sort Colors](0075_sort_colors/sort_colors.go)|Medium|*`sort`*| -|0076|[Minimum Window Substring](./0076_minimum_window_substring/minimum_window_substring.go)|Hard|*`sliding window`*| -|0077|[77. Combinations](0077_combinations/combinations.go)|Medium|*`backtracking;`* *`combine`*| -|0079|[79. Word Search](0079_word_search/word_search.go)|Medium|*`backtracking;`* *`array`*| -|0080|[80. Remove Duplicates from Sorted Array II](0080_remove_duplicates_from_sorted_array2/rdfsa2.go)|Medium|*`double index`*| -|0082|[82. Remove Duplicates from Sorted List II](0082_remove_duplicates_from_sorted_list_2/rdfsl.go)|Medium|*`linked list`*| -|0083|[83. Remove Duplicates from Sorted List](0083_remove_duplicates_from_sorted_list/rdfsl.go)|Easy|*`linked list`*| -|0086|[86. Partition List](0086_partition_list/partition_list.go)|Medium|*`linked list`*| -|0088|[88. Merge Sorted Array](0088_merge_sorted_array/msa.go)|Easy|*`sort`*| -|0092|[92. Reverse Linked List II](0092_reverse_linked_list_2/reverse_linked_list2.go)|Medium|*`linked list`*| -|0094|[Binary Tree Inorder Traversal](./0094_binary_tree_inorder_traversal/binary_tree_inorder_traversal.go)|Medium|*`binary tree`*| -|0100|[Same Tree](./0100_same_tree/same_tree.go)|Easy|*`binary tree`*| -|0101|[Symmetric Tree](./0101_symmetric_tree/symmetric_tree.go)|Easy|*`stack;`* *`recursion; `* *`iterative`*| -|0102|[102. Binary Tree Level Order Traversal](0102_binary_tree_level_order_traversal/binary_tree_level_order_traversal.go)|Medium|*`binary tree;`* *`bfs`*| -|0104|[104. Maximum Depth of Binary Tree](0104_maximun_depth_of_binary_tree/maxdobt.go)|Easy|*`binary tree`*| -|0107|[Binary Tree Level Order Traversal II](./0107_binary_tree_level_order_traversal_2/binary_tree_level_order_traversal2.go)|Easy|*`binary tree`*| -|0111|[Minimum Depth of Binary Tree](./0111_minimum_depth_of_binary_tree/minimum_depth_of_binary_tree.go)|Easy|*`binary tree`*| -|0112|[Path Sum](./0112_path_sum/path_sum.go)|Easy|*`binary tree`*| -|0120|[Triangle](./0120_triangle/triangle.go)|Medium|*`dynamic programming;`* *` dfs`*| -|0121|[121. Best Time to Buy and Sell Stock](0121_best_time_to_buy_and_sell_stock/maxprofit.go)|Easy|| -|0122|[122. Best Time to Buy and Sell Stock II](0122_best_time_to_buy_and_sell_stock_2/maxprofit.go)|Easy|*`greedy`*| -|0125|[Valid Palindrome](0125_valid_palindrome/valid_palindrome.go)|Easy|| -|0136|[136. Single Number](0136_single_number/single_number.go)|Easy|*`hash table;`* *`bit manipulation`*| -|0144|[144. Binary Tree Preorder Traversal](0144_binary_tree_preorder_traversal/binary_tree_preorder_traversal.go)|Medium|*`binary tree`*| +|0001|[Two Sum](./solutions/0001_two_sum/twosum.go)|Easy|*`array;`* *`lookup table`*| +|0002|[Add Two Numbers](./solutions/0002_add_two_numbers/add_two_numbers.go)|Medium|*`linked list`*| +|0003|[Longest Substring Without Repeating Characters](./solutions/0003_longest_substring_without_repeating_characters/longest_substring_without_repeating_characters.go)|Medium|*`sliding window`*| +|0004|[4. Median of Two Sorted Arrays](./solutions/0004_median_of_two_sorted_arrays/motsa.go)|Hard|*`binary search`*| +|0007|[7. Reverse Integer](./solutions/0007_reverse_integer/reverse_integer.go)|Easy|*`math`*| +|0009|[9. Palindrome Number](./solutions/0009_palindrome_number/palindrome_number.go)|Easy|*`math`*| +|0011|[11. Container With Most Water](./solutions/0011_container_with_most_water/container_with_most_water.go)|Medium|*`array;`* *`double index`*| +|0013|[13. Roman to Integer](./solutions/0013_roman_to_integer/roman_to_integer.go)|Easy|*`math`*| +|0014|[14. Longest Common Prefix](./solutions/0014_longest_common_prefix/lcp.go)|Easy|| +|0015|[15. 3Sum](./solutions/0015_3Sum/3sum.go)|Medium|| +|0017|[Letter Combinations of a Phone Number](./solutions/0017_letter_combination_of_a_phone_number/letter_combination_of_phone_number.go)|Medium|*`tree`*| +|0019|[19. Remove Nth Node From End of List](./solutions/0019_remove_nth_node_from_end_of_list/remove_nth_node_from_end_of_list.go)|Medium|*`linked list`*| +|0020|[Valid Parentheses](./solutions/0020_valid_parentheses/valid_parentheses.go)|Easy|*`string;`* *`stack`*| +|0021|[Merge Two Sorted Lists](./solutions/0021_merge_two_sorted_lists/mergeTwoLists.go)|Easy|*`linked list`*| +|0023|[23. Merge k Sorted Lists](./solutions/0023_merge_k_sorted_lists/mksl.go)|Hard|*`linked list;`* *`heap`*| +|0024|[24. Swap Nodes in Pairs](./solutions/0024_swap_nodes_in_pairs/swap_nodes_in_pairs.go)|Medium|*`linked list`*| +|0025|[Reverse Nodes in k-Group](./solutions/0025_reverse_nodes_in_k_group/reverse_node_k_group.go)|Hard|*`linked list`*| +|0026|[Remove Duplicates from Sorted Array](./solutions/0026_remove_duplicates_from_sorted_array/rdfsa.go)|Easy|*`array;`* *`double index`*| +|0027|[Remove Element](./solutions/0027_remove_element/remove_element.go)|Easy|*`array`*| +|0028|[28. Implement strStr()](./solutions/0028_implement_strstr/implement_strstr.go)|Easy|*`double index`*| +|0033|[Search in Rotated Sorted Array](./solutions/0033_search_in_rotated_sorted_array/search_in_rotated_sorted_array.go)|Medium|*`binary search`*| +|0034|[Find First and Last Position of Element in Sorted Array](./solutions/0034_find_first_and_last_position_of_element_in_sorted_array/find_first_and_last_position_of_element_in_sorted_array.go)|Medium|*`binary search`*| +|0035|[35. Search Insert Position](./solutions/0035_search_insert_position/search_insert_position.go)|Easy|*`binary search`*| +|0048|[48. Rotate Image](./solutions/0048_rotate_image/rotate_image.go)|Medium|*`array`*| +|0053|[53. Maximum Subarray](./solutions/0053_maximum_subarray/maximum_subarray.go)|Easy|*`dynamic programming`*| +|0058|[58. Length of Last Word](./solutions/0058_length_of_last_word/len_of_last_word.go)|Easy|| +|0061|[Rotate List](./solutions/0061_rotate_list/rotate_list.go)|Medium|*`linked list`*| +|0062|[Unique Paths](./solutions/0062_unique_paths/unique_paths.go)|Medium|*`recursion;`* *`memory search;`* *`dynamic programming`*| +|0063|[Unique Paths 2](./solutions/0063_unique_paths_2/unique_paths2.go)|Medium|*`recursion;`* *`memory search;`* *`dynamic programming`*| +|0064|[Minimum Path Sum](./solutions/0064_minimum_path_sum/minimum_path_sum.go)|Medium|*`dynamic programming;`* *` dfs`*| +|0066|[66. Plus One](./solutions/0066_plus_one/plus_one.go)|Easy|*`math`*| +|0067|[add Binary](./solutions/0067_add_binary/add_binary.go)|Easy|| +|0069|[Sqrt(x)](./solutions/0069_sqrtx/sqrtx.go)|Easy|*`binary search`*| +|0070|[Climbing Stairs](./solutions/0070_climbing_stairs/climbing_stairs.go)|Easy|*`dynamic programming`*| +|0075|[75. Sort Colors](./solutions/0075_sort_colors/sort_colors.go)|Medium|*`sort`*| +|0076|[Minimum Window Substring](./solutions/0076_minimum_window_substring/minimum_window_substring.go)|Hard|*`sliding window`*| +|0077|[77. Combinations](./solutions/0077_combinations/combinations.go)|Medium|*`backtracking;`* *`combine`*| +|0079|[79. Word Search](./solutions/0079_word_search/word_search.go)|Medium|*`backtracking;`* *`array`*| +|0080|[80. Remove Duplicates from Sorted Array II](./solutions/0080_remove_duplicates_from_sorted_array2/rdfsa2.go)|Medium|*`double index`*| +|0082|[82. Remove Duplicates from Sorted List II](./solutions/0082_remove_duplicates_from_sorted_list_2/rdfsl.go)|Medium|*`linked list`*| +|0083|[83. Remove Duplicates from Sorted List](./solutions/0083_remove_duplicates_from_sorted_list/rdfsl.go)|Easy|*`linked list`*| +|0086|[86. Partition List](./solutions/0086_partition_list/partition_list.go)|Medium|*`linked list`*| +|0088|[88. Merge Sorted Array](./solutions/0088_merge_sorted_array/msa.go)|Easy|*`sort`*| +|0092|[92. Reverse Linked List II](./solutions/0092_reverse_linked_list_2/reverse_linked_list2.go)|Medium|*`linked list`*| +|0094|[Binary Tree Inorder Traversal](./solutions/0094_binary_tree_inorder_traversal/binary_tree_inorder_traversal.go)|Medium|*`binary tree`*| +|0100|[Same Tree](./solutions/0100_same_tree/same_tree.go)|Easy|*`binary tree`*| +|0101|[Symmetric Tree](./solutions/0101_symmetric_tree/symmetric_tree.go)|Easy|*`stack;`* *`recursion; `* *`iterative`*| +|0102|[102. Binary Tree Level Order Traversal](./solutions/0102_binary_tree_level_order_traversal/binary_tree_level_order_traversal.go)|Medium|*`binary tree;`* *`bfs`*| +|0104|[104. Maximum Depth of Binary Tree](./solutions/0104_maximun_depth_of_binary_tree/maxdobt.go)|Easy|*`binary tree`*| +|0107|[Binary Tree Level Order Traversal II](./solutions/0107_binary_tree_level_order_traversal_2/binary_tree_level_order_traversal2.go)|Easy|*`binary tree`*| +|0111|[Minimum Depth of Binary Tree](./solutions/0111_minimum_depth_of_binary_tree/minimum_depth_of_binary_tree.go)|Easy|*`binary tree`*| +|0112|[Path Sum](./solutions/0112_path_sum/path_sum.go)|Easy|*`binary tree`*| +|0120|[Triangle](./solutions/0120_triangle/triangle.go)|Medium|*`dynamic programming;`* *` dfs`*| +|0121|[121. Best Time to Buy and Sell Stock](./solutions/0121_best_time_to_buy_and_sell_stock/maxprofit.go)|Easy|| +|0122|[122. Best Time to Buy and Sell Stock II](./solutions/0122_best_time_to_buy_and_sell_stock_2/maxprofit.go)|Easy|*`greedy`*| +|0125|[Valid Palindrome](./solutions/0125_valid_palindrome/valid_palindrome.go)|Easy|| +|0136|[136. Single Number](./solutions/0136_single_number/single_number.go)|Easy|*`hash table;`* *`bit manipulation`*| +|0144|[144. Binary Tree Preorder Traversal](./solutions/0144_binary_tree_preorder_traversal/binary_tree_preorder_traversal.go)|Medium|*`binary tree`*| |0148|[148. Sort List](148_Sort_List/sortlist.go)|Medium|*`sort;`* *`linked list`*| -|0150|[150. Evaluate Reverse Polish Notation](0150_evaluate_reverse_polish_notation/evaluate_reverse_polish_notation.go)|Medium|*`stack`*| -|0153|[153. Find Minimum in Rotated Sorted Array](0153_find_minimum_in_rotated_sorted_array/fmirsa.go)|Medium|*`binary search`*| -|0155|[155. Min Stack](0155_min_stack/min_stack.go)|Easy|*`stack`*| -|0165|[165. Compare Version Numbers](0165_compare_version_numbers/compare_version_numbers.go)|Medium|*`string`*| -|0167|[Two Sum II - Input array is sorted](./0167_two_sum2/two_sum2.go)|Easy|*`对撞指针(双索引)`*| -|0179|[179. Largest Number](0179_largest_number/ln.go)|Medium|*`sort`*| -|0198|[House Robber](./0198_house_robber/house_robber.go)|Easy|*`memory search;`* *`dynamic programming`*| -|0200|[200. Number of Islands](0200_number_of_island/number_of_island.go)|Medium|*`dfs;`* *`bfs`*| -|0203|[203. Remove Linked List Elements](0203_remove_linked_list_elements/remove_linked_list_elements.go)|Easy|*`linked list`*| -|0206|[206. Reverse Linked List](0206_reverse_linked_list/reverse_linked_list.go)|Easy|*`linked list`*| -|0208|[208. Implement Trie (Prefix Tree)](0208_implement_trie_prefix_tree/impltrie.go)|Medium|*`trie`*| -|0209|[Minimum Size Subarray Sum](./0209_minimum_size_subarray_sum/minimum_size_subarray_sum.go)|Medium|*`sliding window`*| -|0211|[211. Add and Search Word - Data structure design](0211_add_and_search_word/add_and_search_word.go)|Medium|*`trie`*| -|0215|[215. Kth Largest Element in an Array](0215_kth_largest_element_in_an_array/kthleiaa.go)|Medium|*`sort`*| -|0217|[217. Contains Duplicate](0217_contains_duplicate/contains_duplicate.go)|Easy|*`map`*| -|0219|[219. Contains Duplicate II](0219_contains_duplicate_2/contains_duplicate_2.go)|Easy|*`map`*| -|0226|[Invert Binary Tree](./0226_invert_binary_tree/invert_binary_tree.go)|Easy|*`recursion; `* *`binary tree`*| -|0235|[235. Lowest Common Ancestor of a Binary Search Tree](0235_lowest_common_ancestor_of_a_binary_search_tree/lcaoabst.go)|Easy|*`recursion; `* *`binary tree`*| -|0236|[236. Lowest Common Ancestor of a Binary Tree](0236_Lowest_Common_Ancestor_of_a_Binary_Tree/lca.go)|Medium|*`recursion; `* *`binary tree`*| -|0237|[237. Delete Node in a Linked List](0237_delete_node_in_a_linked_list/dniall.go)|Easy|*`linked list`*| -|0257|[257. Binary Tree Paths](0257_binary_tree_paths/binary_tree_paths.go)|Easy|*`binary tree`*| -|0258|[258. Add Digits](0258_add_digits/add_digits.go)|Easy|*`math`*| -|0283|[Move Zeroes(solution1)](./0283_move_zeroes/move_zeroes.go)
[Move Zeroes(solution2)](./0283_move_zeroes/move_zeroes2.go)|Easy|*`array`*| -|0300|[Longest Increasing Subsequence](./0300_longest_increasing_subsequence/lis.go)|Medium|*`dp`*| -|0303|[303. Range Sum Query - Immutable](0303_range_sum_query/rsqim.go)|Easy|| +|0150|[150. Evaluate Reverse Polish Notation](./solutions/0150_evaluate_reverse_polish_notation/evaluate_reverse_polish_notation.go)|Medium|*`stack`*| +|0153|[153. Find Minimum in Rotated Sorted Array](./solutions/0153_find_minimum_in_rotated_sorted_array/fmirsa.go)|Medium|*`binary search`*| +|0155|[155. Min Stack](./solutions/0155_min_stack/min_stack.go)|Easy|*`stack`*| +|0165|[165. Compare Version Numbers](./solutions/0165_compare_version_numbers/compare_version_numbers.go)|Medium|*`string`*| +|0167|[Two Sum II - Input array is sorted](./solutions/0167_two_sum2/two_sum2.go)|Easy|*`对撞指针(双索引)`*| +|0179|[179. Largest Number](./solutions/0179_largest_number/ln.go)|Medium|*`sort`*| +|0198|[House Robber](./solutions/0198_house_robber/house_robber.go)|Easy|*`memory search;`* *`dynamic programming`*| +|0200|[200. Number of Islands](./solutions/0200_number_of_island/number_of_island.go)|Medium|*`dfs;`* *`bfs`*| +|0203|[203. Remove Linked List Elements](./solutions/0203_remove_linked_list_elements/remove_linked_list_elements.go)|Easy|*`linked list`*| +|0206|[206. Reverse Linked List](./solutions/0206_reverse_linked_list/reverse_linked_list.go)|Easy|*`linked list`*| +|0208|[208. Implement Trie (Prefix Tree)](./solutions/0208_implement_trie_prefix_tree/impltrie.go)|Medium|*`trie`*| +|0209|[Minimum Size Subarray Sum](./solutions/0209_minimum_size_subarray_sum/minimum_size_subarray_sum.go)|Medium|*`sliding window`*| +|0211|[211. Add and Search Word - Data structure design](./solutions/0211_add_and_search_word/add_and_search_word.go)|Medium|*`trie`*| +|0215|[215. Kth Largest Element in an Array](./solutions/0215_kth_largest_element_in_an_array/kthleiaa.go)|Medium|*`sort`*| +|0217|[217. Contains Duplicate](./solutions/0217_contains_duplicate/contains_duplicate.go)|Easy|*`map`*| +|0219|[219. Contains Duplicate II](./solutions/0219_contains_duplicate_2/contains_duplicate_2.go)|Easy|*`map`*| +|0226|[Invert Binary Tree](./solutions/0226_invert_binary_tree/invert_binary_tree.go)|Easy|*`recursion; `* *`binary tree`*| +|0235|[235. Lowest Common Ancestor of a Binary Search Tree](./solutions/0235_lowest_common_ancestor_of_a_binary_search_tree/lcaoabst.go)|Easy|*`recursion; `* *`binary tree`*| +|0236|[236. Lowest Common Ancestor of a Binary Tree](./solutions/0236_Lowest_Common_Ancestor_of_a_Binary_Tree/lca.go)|Medium|*`recursion; `* *`binary tree`*| +|0237|[237. Delete Node in a Linked List](./solutions/0237_delete_node_in_a_linked_list/dniall.go)|Easy|*`linked list`*| +|0257|[257. Binary Tree Paths](./solutions/0257_binary_tree_paths/binary_tree_paths.go)|Easy|*`binary tree`*| +|0258|[258. Add Digits](./solutions/0258_add_digits/add_digits.go)|Easy|*`math`*| +|0283|[Move Zeroes(solution1)](./solutions/0283_move_zeroes/move_zeroes.go)
[Move Zeroes(solution2)](./solutions/0283_move_zeroes/move_zeroes2.go)|Easy|*`array`*| +|0300|[Longest Increasing Subsequence](./solutions/0300_longest_increasing_subsequence/lis.go)|Medium|*`dp`*| +|0303|[303. Range Sum Query - Immutable](./solutions/0303_range_sum_query/rsqim.go)|Easy|| |0304|[304. Range Sum Query 2D - Immutable](304_Range_Sum_Query_2D/rsq.go)|Medium|*`dp`*| -|0307|[307. Range Sum Query - Mutable](0307_Range_Sum_Query_Mutable/range_sum_query_mut.go)|Medium|*`segment tree`*| -|0328|[328. Odd Even Linked List](0328_odd_even_linked_list/odd_even_linked_list.go)|Medium|*`singly linked list`*| -|0343|[Integer Break](./0343_integer_break/integer_break.go)|Medium|*`recursion;`* *`memory search;`* *`dynamic programming`*| -|0344|[344. Reverse String](0344_reverse_string/reverse_string.go)|Easy|*`double index`*| -|0345|[345. Reverse Vowels of a String](0345_reverse_vowels_of_a_string/reverse_vowels.go)|Easy|*`double index`*| -|0347|[347. Top K Frequent Elements](0347_top_k_frequent_elements/topkfe.go)|Medium|*`map;`* *`heap;`* *`array`*| -|0349|[Intersection of Two Arrays](./0349_intersection_of_2_arrays/intersection_of_two_arrays.go)|Easy|*`set`*| -|0350| [Intersection of Two Arrays II](./0350_intersection_of_two_arrays2/intersection_of_two_arrays2.go)|Easy|*`map`*| -|0376|[Wiggle Subsequence](./0376_wiggle_subsequence/wiggle_subsequence.go)|Medium|*`dp`*| -|0392|[Is Subsequence](./0392_is_subsequence/is_subsequence.go)|Medium|*`greedy algorithm`*| -|0404|[404. Sum of Left Leaves](0404_sum_of_left_leaves/sum_of_left_leaves.go)|Easy|*`binary tree`*| -|0416|[Partition Equal Subset Sum](./0416_partition_equal_subset_sum/partition_equal_subset_sum.go)|Medium|*`dp;`* *`0-1 knapsack problem`*| -|0435|[Non-overlapping Intervals(dp solution)](./0435_non_overlapping_intervals/dp_solution.go)
[Non-overlapping Intervals(greedy solution)](./0435_non_overlapping_intervals/greedy_solution.go)|Medium|*`dp;`* *`0-1 knapsack problem`*| -|0437|[437. Path Sum III](0437_path_sum_3/path_sum_3.go)|Easy|*`binary tree`*| -|0438|[ Find All Anagrams in a String](./0438_all_anagrams_in_a_string/all_anagrams_in_a_string.go)|Easy|*`sliding window`*| -|0447|[Number of Boomerangs](./0447_number_of_boomerangs/number_of_boomerangs.go)|Easy|| -|0454|[4Sum II](./0454_4sum2/4sum2.go)|Medium|| -|0455|[Assign Cookies](./0455_assign_cookies/assign_cookies.go)|Easy|*`greedy algorithm`*| -|0557|[557. Reverse Words in a String III](0557_reverse_words_in_a_string_3/reverse_words_in_a_string_3.go)|Easy|*`string`*| -|0674|[674. Longest Continuous Increasing Subsequence](0674_longest_continuous_increasing_subsequence/lcis.go)|Easy|| -|0677|[677. Map Sum Pairs](0677_map_sum_pairs/map_sum_pairs.go)|Medium|*`trie`*| -|0704|[Binary Search](0704_binary_search/binary_search.go)|Easy|*`binary search`*| -|0713|[713. Subarray Product Less Than K](0713_subarray_product_less_than_k/spltk.go)|Medium|*`sliding window`*| -|0717|[717. 1-bit and 2-bit Characters](0717_1_bit_and_2_bit_characters/1bitand2bitc.go)|Easy|| -|0728|[Self Dividing Numbers](./0728_self_dividing_numbers/self_dividing_numbers.go)|Easy|| -|0735|[735. Asteroid Collision](0735_asteroid_collision/ac.go)|Medium|*`stack`*| -|0747|[Largest Number At Least Twice of Others](./0747_largest_number_at_least_twice_of_others/largest_number_at_least_twice_of_others.go)|Easy|| -|0872|[872. Leaf-Similar Trees](0872_leaf_similar_trees/leaf_similar_trees.go)|Easy|*`binary tree`*| -|1021|[1021. Remove Outermost Parentheses](1021_Remove_Outermost_Parentheses/remove_outmost_parentheses.go)|Easy|*`stack`*| +|0307|[307. Range Sum Query - Mutable](./solutions/0307_Range_Sum_Query_Mutable/range_sum_query_mut.go)|Medium|*`segment tree`*| +|0328|[328. Odd Even Linked List](./solutions/0328_odd_even_linked_list/odd_even_linked_list.go)|Medium|*`singly linked list`*| +|0343|[Integer Break](./solutions/0343_integer_break/integer_break.go)|Medium|*`recursion;`* *`memory search;`* *`dynamic programming`*| +|0344|[344. Reverse String](./solutions/0344_reverse_string/reverse_string.go)|Easy|*`double index`*| +|0345|[345. Reverse Vowels of a String](./solutions/0345_reverse_vowels_of_a_string/reverse_vowels.go)|Easy|*`double index`*| +|0347|[347. Top K Frequent Elements](./solutions/0347_top_k_frequent_elements/topkfe.go)|Medium|*`map;`* *`heap;`* *`array`*| +|0349|[Intersection of Two Arrays](./solutions/0349_intersection_of_2_arrays/intersection_of_two_arrays.go)|Easy|*`set`*| +|0350| [Intersection of Two Arrays II](./solutions/0350_intersection_of_two_arrays2/intersection_of_two_arrays2.go)|Easy|*`map`*| +|0376|[Wiggle Subsequence](./solutions/0376_wiggle_subsequence/wiggle_subsequence.go)|Medium|*`dp`*| +|0392|[Is Subsequence](./solutions/0392_is_subsequence/is_subsequence.go)|Medium|*`greedy algorithm`*| +|0404|[404. Sum of Left Leaves](./solutions/0404_sum_of_left_leaves/sum_of_left_leaves.go)|Easy|*`binary tree`*| +|0416|[Partition Equal Subset Sum](./solutions/0416_partition_equal_subset_sum/partition_equal_subset_sum.go)|Medium|*`dp;`* *`0-1 knapsack problem`*| +|0435|[Non-overlapping Intervals(dp solution)](./solutions/0435_non_overlapping_intervals/dp_solution.go)
[Non-overlapping Intervals(greedy solution)](./solutions/0435_non_overlapping_intervals/greedy_solution.go)|Medium|*`dp;`* *`0-1 knapsack problem`*| +|0437|[437. Path Sum III](./solutions/0437_path_sum_3/path_sum_3.go)|Easy|*`binary tree`*| +|0438|[ Find All Anagrams in a String](./solutions/0438_all_anagrams_in_a_string/all_anagrams_in_a_string.go)|Easy|*`sliding window`*| +|0447|[Number of Boomerangs](./solutions/0447_number_of_boomerangs/number_of_boomerangs.go)|Easy|| +|0454|[4Sum II](./solutions/0454_4sum2/4sum2.go)|Medium|| +|0455|[Assign Cookies](./solutions/0455_assign_cookies/assign_cookies.go)|Easy|*`greedy algorithm`*| +|0557|[557. Reverse Words in a String III](./solutions/0557_reverse_words_in_a_string_3/reverse_words_in_a_string_3.go)|Easy|*`string`*| +|0674|[674. Longest Continuous Increasing Subsequence](./solutions/0674_longest_continuous_increasing_subsequence/lcis.go)|Easy|| +|0677|[677. Map Sum Pairs](./solutions/0677_map_sum_pairs/map_sum_pairs.go)|Medium|*`trie`*| +|0704|[Binary Search](./solutions/0704_binary_search/binary_search.go)|Easy|*`binary search`*| +|0713|[713. Subarray Product Less Than K](./solutions/0713_subarray_product_less_than_k/spltk.go)|Medium|*`sliding window`*| +|0717|[717. 1-bit and 2-bit Characters](./solutions/0717_1_bit_and_2_bit_characters/1bitand2bitc.go)|Easy|| +|0728|[Self Dividing Numbers](./solutions/0728_self_dividing_numbers/self_dividing_numbers.go)|Easy|| +|0735|[735. Asteroid Collision](./solutions/0735_asteroid_collision/ac.go)|Medium|*`stack`*| +|0747|[Largest Number At Least Twice of Others](./solutions/0747_largest_number_at_least_twice_of_others/largest_number_at_least_twice_of_others.go)|Easy|| +|0872|[872. Leaf-Similar Trees](./solutions/0872_leaf_similar_trees/leaf_similar_trees.go)|Easy|*`binary tree`*| +|1021|[1021. Remove Outermost Parentheses](./solutions/1021_Remove_Outermost_Parentheses/remove_outmost_parentheses.go)|Easy|*`stack`*|