Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/hitzzc/go-leetcode

Golang solution for leetcode
https://github.com/hitzzc/go-leetcode

go golang interview leetcode leetcode-golang

Last synced: 29 days ago
JSON representation

Golang solution for leetcode

Awesome Lists containing this project

README

        

go-leetcode
===
Golang solution for leetcode. For each problem, there is a simple *_test.go to test the solution, and you can run `go test` under corresponding folder.

#### [1. two sum](https://github.com/hitzzc/go-leetcode/tree/master/two_sum)
#### [2. add two numbers](https://github.com/hitzzc/go-leetcode/tree/master/add_two_numbers)
#### [3. longest substring without repeating characters](https://github.com/hitzzc/go-leetcode/tree/master/longest_substring_without_repeating_characters)
#### [4. median of two sorted arrays](https://github.com/hitzzc/go-leetcode/tree/master/median_of_two_sorted_arrays)
#### [5. longest palindromic substring](https://github.com/hitzzc/go-leetcode/tree/master/longest_palindromic_substring)
#### [6. zigzag conversion](https://github.com/hitzzc/go-leetcode/tree/master/zigzag_conversion)
#### [7. reverse integer](https://github.com/hitzzc/go-leetcode/tree/master/reverse_integer)
#### [8. string to integer](https://github.com/hitzzc/go-leetcode/tree/master/string_to_integer)
#### [9. palindrome number](https://github.com/hitzzc/go-leetcode/tree/master/palindrome_number)
#### [10. Regular Expression Matching](https://github.com/hitzzc/go-leetcode/tree/master/regular_expression_matching)
#### [11. container with most water](https://github.com/hitzzc/go-leetcode/tree/master/container_with_most_water)
#### [12. integer to roman](https://github.com/hitzzc/go-leetcode/tree/master/integer_to_roman)
#### [13. roman to integer](https://github.com/hitzzc/go-leetcode/tree/master/roman_to_integer)
#### [14. longest common prefix](https://github.com/hitzzc/go-leetcode/tree/master/longest_common_prefix)
#### [15. 3sum](https://github.com/hitzzc/go-leetcode/tree/master/three_sum)
#### [16. 3sum closest](https://github.com/hitzzc/go-leetcode/tree/master/three_sum_closest)
#### [17. letter combinations of a phone number](https://github.com/hitzzc/go-leetcode/tree/master/letter_combinations_of_a_phone_number)
#### [18. 4sum](https://github.com/hitzzc/go-leetcode/tree/master/four_sum)
#### [19. remove nth node from end of list](https://github.com/hitzzc/go-leetcode/tree/master/remove_nth_node_from_end_of_list)
#### [20. valid parentheses](https://github.com/hitzzc/go-leetcode/tree/master/valid_parentheses)
#### [21. merge two sorted lists](https://github.com/hitzzc/go-leetcode/tree/master/merge_two_sorted_lists)
#### [22. generate parentheses](https://github.com/hitzzc/go-leetcode/tree/master/generate_parentheses)
#### [23. merge k sorted lists](https://github.com/hitzzc/go-leetcode/tree/master/merge_k_sorted_lists)
#### [24. swap nodes in pairs](https://github.com/hitzzc/go-leetcode/tree/master/swap_nodes_in_pairs)
#### [25. reverse nodes in k group](https://github.com/hitzzc/go-leetcode/tree/master/reverse_nodes_in_k_group)
#### [26. Remove Duplicates from Sorted Array](https://github.com/hitzzc/go-leetcode/tree/master/remove_duplicates_from_sorted_array)
#### [27. Remove Element](https://github.com/hitzzc/go-leetcode/tree/master/remove_element)
#### [31. Next Permutation](https://github.com/hitzzc/go-leetcode/tree/master/next_permutation)
#### [32. longest valid parentheses](https://github.com/hitzzc/go-leetcode/tree/master/longest_valid_parentheses)
#### [33. search in rotated sorted array](https://github.com/hitzzc/go-leetcode/tree/master/search_in_rotated_sorted_array)
#### [34. search for a range](https://github.com/hitzzc/go-leetcode/tree/master/search_for_a_range)
#### [35. search insert position](https://github.com/hitzzc/go-leetcode/tree/master/search_insert_position)
#### [36. valid sudoku](https://github.com/hitzzc/go-leetcode/tree/master/valid_sudoku)
#### [38. count and say](https://github.com/hitzzc/go-leetcode/tree/master/count_and_say)
#### [39. combination sum](https://github.com/hitzzc/go-leetcode/tree/master/combination_sum)
#### [40. combination sum ii](https://github.com/hitzzc/go-leetcode/tree/master/combination_sum_II)
#### [41. first missing positive](https://github.com/hitzzc/go-leetcode/tree/master/first_missing_positive)
#### [42. trapping rain water](https://github.com/hitzzc/go-leetcode/tree/master/trapping_rain_water)
#### [43. multiply strings](https://github.com/hitzzc/go-leetcode/tree/master/multiply_strings)
#### [46. permutations](https://github.com/hitzzc/go-leetcode/tree/master/permutations)
#### [47. permutations II](https://github.com/hitzzc/go-leetcode/tree/master/permutations_II)
#### [48. rotate image](https://github.com/hitzzc/go-leetcode/tree/master/rotate_image)
#### [49. group anagrams](https://github.com/hitzzc/go-leetcode/tree/master/group_anagrams)
#### [50. pow(x,n)](https://github.com/hitzzc/go-leetcode/tree/master/pow_x_n)
#### [51. n queens](https://github.com/hitzzc/go-leetcode/tree/master/n_queens)
#### [52. n queens II](https://github.com/hitzzc/go-leetcode/tree/master/n_queens_II)
#### [53. maximum subarray](https://github.com/hitzzc/go-leetcode/tree/master/maximum_subarray)
#### [54. spiral matrix](https://github.com/hitzzc/go-leetcode/tree/master/spiral_matrix)
#### [55. jump game](https://github.com/hitzzc/go-leetcode/tree/master/jump_game)
#### [58. length of last word](https://github.com/hitzzc/go-leetcode/tree/master/length_of_last_word)
#### [59. spiral matrix II](https://github.com/hitzzc/go-leetcode/tree/master/spiral_matrix_II)
#### [60. permutation sequence](https://github.com/hitzzc/go-leetcode/tree/master/permutation_sequence)
#### [61. rotate list](https://github.com/hitzzc/go-leetcode/tree/master/rotate_list)
#### [62. unique paths](https://github.com/hitzzc/go-leetcode/tree/master/unique_paths)
#### [63. unique paths II](https://github.com/hitzzc/go-leetcode/tree/master/unique_paths_II)
#### [64. minimum path sum](https://github.com/hitzzc/go-leetcode/tree/master/minimum_path_sum)
#### [65. valid number](https://github.com/hitzzc/go-leetcode/tree/master/valid_number)
#### [66. plus one](https://github.com/hitzzc/go-leetcode/tree/master/plus_one)
#### [67. add binary](https://github.com/hitzzc/go-leetcode/tree/master/add_binary)
#### [70. climbing stairs](https://github.com/hitzzc/go-leetcode/tree/master/climbing_stairs)
#### [72. edit distance](https://github.com/hitzzc/go-leetcode/tree/master/edit_distance)
#### [73. set matrix zeroes](https://github.com/hitzzc/go-leetcode/tree/master/set_matrix_zeroes)
#### [74. search a 2D matrix](https://github.com/hitzzc/go-leetcode/tree/master/search_a_2D_matrix)
#### [75. sort colors](https://github.com/hitzzc/go-leetcode/tree/master/sort_colors)
#### [76. minimum window substring](https://github.com/hitzzc/go-leetcode/tree/master/minimum_window_substring)
#### [77. combinations](https://github.com/hitzzc/go-leetcode/tree/master/combinations)
#### [78. subsets](https://github.com/hitzzc/go-leetcode/tree/master/subsets)
#### [79. word search(not solved)](https://github.com/hitzzc/go-leetcode/tree/master/word_search)
#### [80. Remove Duplicates from Sorted Array II](https://github.com/hitzzc/go-leetcode/tree/master/remove_duplicates_from_sorted_array_II)
#### [81. Search in Rotated Sorted Array II](https://github.com/hitzzc/go-leetcode/tree/master/search_in_rotated_sorted_array_II)
#### [82. remove duplicates from sorted list II](https://github.com/hitzzc/go-leetcode/tree/master/remove_duplicates_from_sorted_list_II)
#### [83. remove duplicates from sorted list](https://github.com/hitzzc/go-leetcode/tree/master/remove_duplicates_from_sorted_list)
#### [84. largest rectangle in histogram](https://github.com/hitzzc/go-leetcode/tree/master/largest_rectangle_in_histogram)
#### [85. maximal rectangle](https://github.com/hitzzc/go-leetcode/tree/master/maximal_rectangle)
#### [86. partition list](https://github.com/hitzzc/go-leetcode/tree/master/partition_list)
#### [88. merge sorted array](https://github.com/hitzzc/go-leetcode/tree/master/merge_sorted_array)
#### [89. gray code](https://github.com/hitzzc/go-leetcode/tree/master/gray_code)
#### [90. subsets II](https://github.com/hitzzc/go-leetcode/tree/master/subsets_II)
#### [91. decode ways](https://github.com/hitzzc/go-leetcode/tree/master/decode_ways)
#### [92. reverse linked list II](https://github.com/hitzzc/go-leetcode/tree/master/reverse_linked_list_II)
#### [93. Restore IP Addresses](https://github.com/hitzzc/go-leetcode/tree/master/restore_IP_addresses)
#### [94. Binary Tree Inorder Traversal](https://github.com/hitzzc/go-leetcode/tree/master/binary_tree_inorder_traversal)
#### [95. Unique Binary Search Trees II](https://github.com/hitzzc/go-leetcode/tree/master/unique_binary_search_trees_II)
#### [96. Unique Binary Search Trees](https://github.com/hitzzc/go-leetcode/tree/master/unique_binary_search_trees)
#### [98. validate binary search tree](https://github.com/hitzzc/go-leetcode/tree/master/validate_binary_search_tree)
#### [100. same tree](https://github.com/hitzzc/go-leetcode/tree/master/same_tree)
#### [101. symmetric tree](https://github.com/hitzzc/go-leetcode/tree/master/symmetric_tree)
#### [102. Binary Tree Level Order Traversal](https://github.com/hitzzc/go-leetcode/tree/master/binary_tree_level_order_traversal)
#### [103. Binary Tree Zigzag Level Order Traversal](https://github.com/hitzzc/go-leetcode/tree/master/binary_tree_zigzag_level_order_traversal)
#### [104. maximum depth of binary tree](https://github.com/hitzzc/go-leetcode/tree/master/maximum_depth_of_binary_tree)
#### [105. construct binary tree from preorder and inorder traversal](https://github.com/hitzzc/go-leetcode/tree/master/construct_binary_tree_from_preorder_and_inorder_traversal)
#### [106. construct binary tree from inorder and postorder traversal](https://github.com/hitzzc/go-leetcode/tree/master/construct_binary_tree_from_inorder_and_postorder_traversal)
#### [107. Binary Tree Level Order Traversal II](https://github.com/hitzzc/go-leetcode/tree/master/binary_tree_level_order_traversal_II)
#### [108. Convert Sorted Array to Binary Search Tree](https://github.com/hitzzc/go-leetcode/tree/master/convert_sorted_array_to_binary_search_tree)
#### [109. Convert Sorted List to Binary Search Tree](https://github.com/hitzzc/go-leetcode/tree/master/convert_sorted_list_to_binary_search_tree)
#### [110. Balanced Binary Tree](https://github.com/hitzzc/go-leetcode/tree/master/balanced_bianry_tree)
#### [111. minimum depth of binary tree](https://github.com/hitzzc/go-leetcode/tree/master/minimum_depth_of_binary_tree)
#### [112. path sum](https://github.com/hitzzc/go-leetcode/tree/master/path_sum)
#### [113. path sum II](https://github.com/hitzzc/go-leetcode/tree/master/path_sum_II)
#### [114. Flatten Binary Tree to Linked List](https://github.com/hitzzc/go-leetcode/tree/master/flatten_binary_tree_to_linked_list)
#### [115. distinct subsequences](https://github.com/hitzzc/go-leetcode/tree/master/distinct_subsequences)
#### [116. Populating Next Right Pointers in Each Node](https://github.com/hitzzc/go-leetcode/tree/master/populating_next_right_pointers_in_each_node)
#### [117. Populating Next Right Pointers in Each Node II](https://github.com/hitzzc/go-leetcode/tree/master/populating_next_right_pointers_in_each_node_II)
#### [118. pascal's triangle](https://github.com/hitzzc/go-leetcode/tree/master/pascals_triangle)
#### [119. pascal's triangle II](https://github.com/hitzzc/go-leetcode/tree/master/pascals_triangle_II)
#### [120. triangle](https://github.com/hitzzc/go-leetcode/tree/master/triangle)
#### [121. Best Time to Buy and Sell Stock](https://github.com/hitzzc/go-leetcode/tree/master/best_time_to_buy_and_sell_stock)
#### [122. Best Time to Buy and Sell Stock II](https://github.com/hitzzc/go-leetcode/tree/master/best_time_to_buy_and_sell_stock_II)
#### [123. Best Time to Buy and Sell Stock III](https://github.com/hitzzc/go-leetcode/tree/master/best_time_to_buy_and_sell_stock_III)
#### [124. binary tree maximum path sum](https://github.com/hitzzc/go-leetcode/tree/master/binary_tree_maximum_path_sum)
#### [125. valid palindrome](https://github.com/hitzzc/go-leetcode/tree/master/valid_palindrome)
#### [126. word ladder II](https://github.com/hitzzc/go-leetcode/tree/master/word_ladder_II)
#### [127. word ladder](https://github.com/hitzzc/go-leetcode/tree/master/word_ladder)
#### [128. longest consecutive sequence](https://github.com/hitzzc/go-leetcode/tree/master/longest_consecutive_sequence)
#### [129. sum root to leaf numbers](https://github.com/hitzzc/go-leetcode/tree/master/sum_root_to_leaf_numbers)
#### [130. surrounded regions](https://github.com/hitzzc/go-leetcode/tree/master/surrounded_regions)
#### [131. palindrome partitioning](https://github.com/hitzzc/go-leetcode/tree/master/palindrome_partitioning)
#### [132. palindrome partitioning II](https://github.com/hitzzc/go-leetcode/tree/master/palindrome_partitioning_II)
#### [133. Clone Graph](https://github.com/hitzzc/go-leetcode/tree/master/clone_graph)
#### [134. gas station](https://github.com/hitzzc/go-leetcode/tree/master/gas_station)
#### [135. candy](https://github.com/hitzzc/go-leetcode/tree/master/candy)
#### [136. single number](https://github.com/hitzzc/go-leetcode/tree/master/single_number)
#### [137. single number II](https://github.com/hitzzc/go-leetcode/tree/master/single_number_II)
#### [138. copy_list_with_random_pointer](https://github.com/hitzzc/go-leetcode/tree/master/copy_list_with_random_pointer)
#### [139. word break](https://github.com/hitzzc/go-leetcode/tree/master/word_break)
#### [140. word break II](https://github.com/hitzzc/go-leetcode/tree/master/word_break_II)
#### [141. Linked List Cycle](https://github.com/hitzzc/go-leetcode/tree/master/linked_list_cycle)
#### [142. Linked List Cycle II](https://github.com/hitzzc/go-leetcode/tree/master/linked_list_cycle_II)
#### [143. reorder list](https://github.com/hitzzc/go-leetcode/tree/master/reorder_list)
#### [144. binary tree preorder traversal](https://github.com/hitzzc/go-leetcode/tree/master/binary_tree_preorder_traversal)
#### [145. binary tree postorder traversal](https://github.com/hitzzc/go-leetcode/tree/master/binary_tree_postorder_traversal)
#### [146. LRU Cache](https://github.com/hitzzc/go-leetcode/tree/master/lru_cache)
#### [147. insertion sort list](https://github.com/hitzzc/go-leetcode/tree/master/insertion_sort_list)
#### [148. sort list](https://github.com/hitzzc/go-leetcode/tree/master/sort_list)
#### [149. Max Points on a Line](https://github.com/hitzzc/go-leetcode/tree/master/max_points_on_a_line)
#### [150. evaluate reverse polish notation](https://github.com/hitzzc/go-leetcode/tree/master/evaluate_reverse_polish_notation)
#### [151. reverse words in a string](https://github.com/hitzzc/go-leetcode/tree/master/reverse_words_in_a_string)
#### [152. maximum product subarray](https://github.com/hitzzc/go-leetcode/tree/master/maximum_product_subarray)
#### [153. find minimum in rotated sorted array](https://github.com/hitzzc/go-leetcode/tree/master/find_minimum_in_rotated_sorted_array)
#### [154. find minimum in rotated sorted array II](https://github.com/hitzzc/go-leetcode/tree/master/find_minimum_in_rotated_sorted_array_II)
#### [155. Min Stack](https://github.com/hitzzc/go-leetcode/tree/master/min_stack)
#### [160. Intersection of Two Linked Lists](https://github.com/hitzzc/go-leetcode/tree/master/intersection_of_two_linked_lists)
#### [162. Find Peak Element](https://github.com/hitzzc/go-leetcode/tree/master/find_peak_element)
#### [164. Maximum Gap](https://github.com/hitzzc/go-leetcode/tree/master/maximum_gap)
#### [165. compare version numbers](https://github.com/hitzzc/go-leetcode/tree/master/compare_version_numbers)
#### [166. Fraction to Recurring Decimal](https://github.com/hitzzc/go-leetcode/tree/master/fraction_to_recurring_decimal)
#### [167. Two Sum II](https://github.com/hitzzc/go-leetcode/tree/master/two_sum_II)
#### [168. Excel Sheet Column Title](https://github.com/hitzzc/go-leetcode/tree/master/excel_sheet_column_title)
#### [169. Majority Element](https://github.com/hitzzc/go-leetcode/tree/master/majority_element)
#### [171. Excel Sheet Column Number](https://github.com/hitzzc/go-leetcode/tree/master/excel_sheet_column_number)
#### [172. Factorial Trailing Zeroes](https://github.com/hitzzc/go-leetcode/tree/master/factorial_trailing_zeroes)
#### [173. Binary Search Tree Iterator](https://github.com/hitzzc/go-leetcode/tree/master/binary_search_tree_iterator)
#### [174. Dungeon Game](https://github.com/hitzzc/go-leetcode/tree/master/dungeon_game)
#### [179. Largest Number](https://github.com/hitzzc/go-leetcode/tree/master/largest_number)
#### [187. Repeated DNA Sequences](https://github.com/hitzzc/go-leetcode/tree/master/repeated_dna_sequences)
#### [188. Best Time to Buy and Sell Stock IV](https://github.com/hitzzc/go-leetcode/tree/master/best_time_to_buy_and_sell_stock_IV)
#### [189. Rotate Array](https://github.com/hitzzc/go-leetcode/tree/master/rotate_array)
#### [190. Reverse Bits](https://github.com/hitzzc/go-leetcode/tree/master/reverse_bits)
#### [191. Number of 1 Bits](https://github.com/hitzzc/go-leetcode/tree/master/number_of_1bits)
#### [198. House Robber](https://github.com/hitzzc/go-leetcode/tree/master/house_robber)
#### [199. Binary Tree Right Side View](https://github.com/hitzzc/go-leetcode/tree/master/binary_tree_right_side_view)
#### [200. Number of Islands](https://github.com/hitzzc/go-leetcode/tree/master/number_of_islands)
#### [201. Bitwise AND of Numbers Range](https://github.com/hitzzc/go-leetcode/tree/master/bitwise_AND_of_numbers_range)
#### [202. Happy Number](https://github.com/hitzzc/go-leetcode/tree/master/happy_number)
#### [203. Remove Linked List Elements](https://github.com/hitzzc/go-leetcode/tree/master/remove_linked_list_elements)
#### [204. Count Primes](https://github.com/hitzzc/go-leetcode/tree/master/count_primes)
#### [205. Isomorphic Strings](https://github.com/hitzzc/go-leetcode/tree/master/isomorphic_strings)
#### [206. Reverse Linked List](https://github.com/hitzzc/go-leetcode/tree/master/reverse_linked_list)
#### [207. Course Schedule](https://github.com/hitzzc/go-leetcode/tree/master/course_schedule)
#### [208. Implement Trie (Prefix Tree)](https://github.com/hitzzc/go-leetcode/tree/master/implement_trie)
#### [209. Minimum Size Subarray Sum](https://github.com/hitzzc/go-leetcode/tree/master/minimum_size_subarray_sum)
#### [210. Course Schedule II](https://github.com/hitzzc/go-leetcode/tree/master/course_schedule_II)
#### [211. Add and Search Word - Data structure design](https://github.com/hitzzc/go-leetcode/tree/master/add_and_search_word)
#### [213. House Robber II](https://github.com/hitzzc/go-leetcode/tree/master/add_and_search_word)
#### [214. Shortest Palindrome (unsolved)](https://github.com/hitzzc/go-leetcode/tree/master/shortest_palindrome)
#### [215. Kth Largest Element in an Array](https://github.com/hitzzc/go-leetcode/tree/master/kth_largest_element_in_an_array)
#### [216. Combination Sum III](https://github.com/hitzzc/go-leetcode/tree/master/combinations_sum_III)
#### [217. Contains Duplicate](https://github.com/hitzzc/go-leetcode/tree/master/contains_duplicate)
#### [219. Contains Duplicate II](https://github.com/hitzzc/go-leetcode/tree/master/contains_duplicate_II)
#### [220. Contains Duplicate III (unsolved)](https://github.com/hitzzc/go-leetcode/tree/master/contains_duplicate_III)
#### [221. Maximal Square](https://github.com/hitzzc/go-leetcode/tree/master/maximal_square)
#### [222. Count Complete Tree Nodes](https://github.com/hitzzc/go-leetcode/tree/master/count_complete_tree_nodes)
#### [223. Rectangle Area](https://github.com/hitzzc/go-leetcode/tree/master/rectangle_area)
#### [224. Basic Calculator](https://github.com/hitzzc/go-leetcode/tree/master/basic_calculator)
#### [225. Implement Stack using Queues](https://github.com/hitzzc/go-leetcode/tree/master/implement_stack_using_queues)
#### [226. Invert Binary Tree](https://github.com/hitzzc/go-leetcode/tree/master/invert_binary_tree)
#### [227. Basic Calculator II](https://github.com/hitzzc/go-leetcode/tree/master/basic_calculator_II)
#### [228. Summary Ranges](https://github.com/hitzzc/go-leetcode/tree/master/summary_ranges)
#### [229. Majority Element II](https://github.com/hitzzc/go-leetcode/tree/master/majority_element_II)
#### [230. Kth Smallest Element in a BST](https://github.com/hitzzc/go-leetcode/tree/master/kth_smallest_element_in_a_BST)
#### [231. Power of Two](https://github.com/hitzzc/go-leetcode/tree/master/power_of_two)
#### [232. Implement Queue using Stacks](https://github.com/hitzzc/go-leetcode/tree/master/implement_queue_using_stacks)
#### [234. Palindrome Linked List](https://github.com/hitzzc/go-leetcode/tree/master/palindrome_lined_list)
#### [235. Lowest Common Ancestor of a Binary Search Tree](https://github.com/hitzzc/go-leetcode/tree/master/lowest_common_ancestor_of_a_binary_search_tree)
#### [236. Lowest Common Ancestor of a Binary Tree](https://github.com/hitzzc/go-leetcode/tree/master/lowest_common_ancestor_of_a_binary_tree)
#### [237. Delete Node in a Linked List](https://github.com/hitzzc/go-leetcode/tree/master/delete_node_in_a_linked_list)
#### [238. product of array except self](https://github.com/hitzzc/go-leetcode/tree/master/product_of_array_except_self)
#### [239. Sliding Window Maximum](https://github.com/hitzzc/go-leetcode/tree/master/sliding_window_maximum)
#### [240. Search a 2D Matrix II](https://github.com/hitzzc/go-leetcode/tree/master/search_a_2D_matrix_II)
#### [241. Different Ways to Add Parentheses](https://github.com/hitzzc/go-leetcode/tree/master/different_ways_to_add_parentheses)
#### [242. Valid Anagram](https://github.com/hitzzc/go-leetcode/tree/master/valid_anagram)
#### [257. Binary Tree Paths](https://github.com/hitzzc/go-leetcode/tree/master/binary_tree_paths)
#### [258. Add Digits](https://github.com/hitzzc/go-leetcode/tree/master/add_digits)
#### [260. Single Number III](https://github.com/hitzzc/go-leetcode/tree/master/single_number_III)
#### [263. Ugly Number](https://github.com/hitzzc/go-leetcode/tree/master/ugly_number)
#### [264. Ugly Number II](https://github.com/hitzzc/go-leetcode/tree/master/ugly_number_II)
#### [268. Missing Number](https://github.com/hitzzc/go-leetcode/tree/master/missing_number)
#### [278. First Bad Version](https://github.com/hitzzc/go-leetcode/tree/master/missing_number)
#### [279. Perfect Squares](https://github.com/hitzzc/go-leetcode/tree/master/perfect_squares)
#### [282. Expression Add Operators](https://github.com/hitzzc/go-leetcode/tree/master/expression_add_operators)
#### [283. Move Zeroes](https://github.com/hitzzc/go-leetcode/tree/master/expression_add_operators)
#### [284. Peeking Iterator](https://github.com/hitzzc/go-leetcode/tree/master/peeking_iterator)
#### [287. Find the Duplicate Number](https://github.com/hitzzc/go-leetcode/tree/master/find_the_duplicate_number)
#### [290. Word Pattern](https://github.com/hitzzc/go-leetcode/tree/master/word_pattern)
#### [292. Nim Game](https://github.com/hitzzc/go-leetcode/tree/master/nim_game)
#### [295. Find Median from Data Stream](https://github.com/hitzzc/go-leetcode/tree/master/find_median_from_data_stream)
#### [297. Serialize and Deserialize Binary Tree](https://github.com/hitzzc/go-leetcode/tree/master/serialize_and_deserialize_binary_tree)
#### [299. Bulls and Cows](https://github.com/hitzzc/go-leetcode/tree/master/bulls_and_cows)
#### [300. Longest Increasing Subsequence](https://github.com/hitzzc/go-leetcode/tree/master/longest_increasing_subsequence)
#### [301. Remove Invalid Parentheses](https://github.com/hitzzc/go-leetcode/tree/master/remove_invalid_parentheses)
#### [303. Range Sum Query - Immutable](https://github.com/hitzzc/go-leetcode/tree/master/range_sum_query_immutable)
#### [304. Range Sum Query 2D - Immutable](https://github.com/hitzzc/go-leetcode/tree/master/range_sum_query_immutable)
#### [306. Additive Number](https://github.com/hitzzc/go-leetcode/tree/master/additive_number)
#### [307. Range Sum Query - Mutable](https://github.com/hitzzc/go-leetcode/tree/master/range_sum_query_mutable)
#### [309. Best Time to Buy and Sell Stock with Cooldown](https://github.com/hitzzc/go-leetcode/tree/master/best_time_to_buy_and_sell_stock_with_cooldown)
#### [312. Burst Balloons](https://github.com/hitzzc/go-leetcode/tree/master/burst_balloons)
#### [313. Super Ugly Number](https://github.com/hitzzc/go-leetcode/tree/master/super_ugly_number)
#### [315. Count of Smaller Numbers After Self](https://github.com/hitzzc/go-leetcode/tree/master/count_of_smaller_numbers_after_self)
#### [316. Remove Duplicate Letters](https://github.com/hitzzc/go-leetcode/tree/master/remove_duplicate_letters)
#### [318. Maximum Product of Word Lengths ](https://github.com/hitzzc/go-leetcode/tree/master/maximum_product_of_word_lengths)
#### [319. Bulb Switcher](https://github.com/hitzzc/go-leetcode/tree/master/bulb_switcher)
#### [322. Coin Change](https://github.com/hitzzc/go-leetcode/tree/master/coin_change)
#### [326. Power of Three](https://github.com/hitzzc/go-leetcode/tree/master/power_of_three)
#### [327. Count of Range Sum](https://github.com/hitzzc/go-leetcode/tree/master/count_of_range_sum)
#### [329. Longest Increasing Path in a Matrix](https://github.com/hitzzc/go-leetcode/tree/master/longest_increasing_path_in_a_matrix)
#### [331. Verify Preorder Serialization of a Binary Tree](https://github.com/hitzzc/go-leetcode/tree/master/verify_preorder_serialization_of_a_binary_tree)
#### [332. Reconstruct Itinerary](https://github.com/hitzzc/go-leetcode/tree/master/reconstruct_ltinerary)
#### [334. Increasing Triplet Subsequence](https://github.com/hitzzc/go-leetcode/tree/master/increasing_triplet_subsequence)
#### [335. Self Crossing](https://github.com/hitzzc/go-leetcode/tree/master/self_crossing)
#### [336. Palindrome Pairs](https://github.com/hitzzc/go-leetcode/tree/master/palindrome_pairs)
#### [337. House Robber III](https://github.com/hitzzc/go-leetcode/tree/master/house_robber_III)
#### [338. Counting Bits](https://github.com/hitzzc/go-leetcode/tree/master/counting_bits)
#### [341. Flatten Nested List Iterator](https://github.com/hitzzc/go-leetcode/tree/master/flatten_nested_list_iterator)
#### [342. Power of Four](https://github.com/hitzzc/go-leetcode/tree/master/power_of_four)
#### [343. Integer Break](https://github.com/hitzzc/go-leetcode/tree/master/integer_break)
#### [344. Reverse String](https://github.com/hitzzc/go-leetcode/tree/master/reverse_string)
#### [345. Reverse Vowels of a String](https://github.com/hitzzc/go-leetcode/tree/master/reverse_vowels_of_a_string)
#### [347. Top K Frequent Elements](https://github.com/hitzzc/go-leetcode/tree/master/top_k_frequent_elements)
#### [349. Intersection of Two Arrays](https://github.com/hitzzc/go-leetcode/tree/master/intersection_of_two_arrays)
#### [350. Intersection of Two Arrays II](https://github.com/hitzzc/go-leetcode/tree/master/intersection_of_two_arrays_II)
#### [354. Russian Doll Envelopes](https://github.com/hitzzc/go-leetcode/tree/master/russian_doll_envelopes)
#### [367. Valid Perfect Square](https://github.com/hitzzc/go-leetcode/tree/master/valid_perfect_square)
#### [368. Largest Divisible Subset](https://github.com/hitzzc/go-leetcode/tree/master/largest_divisible_subset)
#### [371. Sum of Two Integers](https://github.com/hitzzc/go-leetcode/tree/master/sum_of_two_integers)
#### [373. Find K Pairs with Smallest Sums](https://github.com/hitzzc/go-leetcode/tree/master/find_k_pairs_with_smallest_sums)
#### [374. Guess Number Higher or Lower](https://github.com/hitzzc/go-leetcode/tree/master/guess_number_higher_or_lower)
#### [375. Guess Number Higher or Lower II](https://github.com/hitzzc/go-leetcode/tree/master/guess_number_higher_or_lower_II)
#### [376. Wiggle Subsequence](https://github.com/hitzzc/go-leetcode/tree/master/wiggle_subsequence)
#### [377. Combination Sum IV](https://github.com/hitzzc/go-leetcode/tree/master/combination_sum_IV)
#### [378. Kth Smallest Element in a Sorted Matrix](https://github.com/hitzzc/go-leetcode/tree/master/kth_smallest_element_in_a_sorted_matrix)
#### [383. Ransom Note](https://github.com/hitzzc/go-leetcode/tree/master/ransom_note)
#### [384. Shuffle an Array](https://github.com/hitzzc/go-leetcode/tree/master/shuffle_an_array)
#### [386. Lexicographical Numbers](https://github.com/hitzzc/go-leetcode/tree/master/lexicographical_numbers)
#### [387. First Unique Character in a String](https://github.com/hitzzc/go-leetcode/tree/master/first_unique_character_in_a_string)
#### [388. Longest Absolute File Path](https://github.com/hitzzc/go-leetcode/tree/master/longest_absolute_file_path)
#### [389. Find the Difference](https://github.com/hitzzc/go-leetcode/tree/master/find_the_difference)
#### [390. Elimination Game](https://github.com/hitzzc/go-leetcode/tree/master/elimination_game)
#### [391. Is Subsequence](https://github.com/hitzzc/go-leetcode/tree/master/is_subsequence)
#### [394. Decode String](https://github.com/hitzzc/go-leetcode/tree/master/decode_string)
#### [395. Longest Substring with At Least K Repeating Characters](https://github.com/hitzzc/go-leetcode/tree/master/longest_substring_with_at_least_k_repeating_characters)
#### [396. Rotate Function](https://github.com/hitzzc/go-leetcode/tree/master/rotate_function)
#### [400. Nth Digit](https://github.com/hitzzc/go-leetcode/tree/master/nth_digit)