Go C++
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
add_and_search_word solve 4 problems Oct 16, 2016
add_binary add_binary/ Sep 25, 2016
add_digits add_digits Oct 20, 2016
add_two_numbers Delete .DS_Store Sep 9, 2016
additive_number 2 problem Oct 25, 2016
balanced_bianry_tree balanced_bianry_tree Oct 3, 2016
basic_calculator basic_calculator/ Oct 17, 2016
basic_calculator_II basic_calculator_II Oct 17, 2016
best_time_to_buy_and_sell_stock stock Oct 27, 2016
best_time_to_buy_and_sell_stock_II stock Oct 27, 2016
best_time_to_buy_and_sell_stock_III stock Oct 27, 2016
best_time_to_buy_and_sell_stock_IV stock Oct 27, 2016
best_time_to_buy_and_sell_stock_with_cooldown stock Oct 27, 2016
binary_search_tree_iterator binary_search_tree_iterator Oct 15, 2016
binary_tree_inorder_traversal binary_tree_inorder_traversal Sep 29, 2016
binary_tree_level_order_traversal binary_tree_level_order_traversal Oct 1, 2016
binary_tree_level_order_traversal_II binary_tree_level_order_traversal_II Oct 3, 2016
binary_tree_maximum_path_sum binary_tree_maximum_path_sum Oct 8, 2016
binary_tree_paths binary_tree_paths Oct 20, 2016
binary_tree_postorder_traversal binary_tree_postorder_traversal Oct 12, 2016
binary_tree_preorder_traversal binary_tree_preorder_traversal Oct 12, 2016
binary_tree_right_side_view binary_tree_right_side_view Oct 15, 2016
binary_tree_zigzag_level_order_traversal binary_tree_zigzag_level_order_traversal Oct 1, 2016
bitwise_AND_of_numbers_range bitwise_AND_of_numbers_range Oct 15, 2016
bulb_switcher 3 problems Oct 30, 2016
bulls_and_cows 2 problems Oct 24, 2016
burst_balloons 2 problem Oct 29, 2016
candy candy Oct 11, 2016
climbing_stairs climbing_stairs Sep 25, 2016
clone_graph clone_graph Oct 10, 2016
coin_change 3 problems Oct 30, 2016
combination_sum combination_sum Sep 21, 2016
combination_sum_II combination_sum_II Sep 21, 2016
combination_sum_IV 2 Nov 3, 2016
combinations combinations Sep 26, 2016
combinations_sum_III combinations_sum_III Oct 16, 2016
compare_version_numbers compare_version_numbers Oct 14, 2016
construct_binary_tree_from_inorder_and_postorder_traversal construct_binary_tree_from_inorder_and_postorder_traversal Oct 2, 2016
construct_binary_tree_from_preorder_and_inorder_traversal construct_binary_tree_from_preorder_and_inorder_traversal Oct 2, 2016
container_with_most_water container_with_most_water Sep 19, 2016
contains_duplicate 3 Oct 17, 2016
contains_duplicate_II 3 Oct 17, 2016
contains_duplicate_III 3 Oct 17, 2016
convert_sorted_array_to_binary_search_tree convert_sorted_array_to_binary_search_tree Oct 3, 2016
convert_sorted_list_to_binary_search_tree convert_sorted_list_to_binary_search_tree Oct 3, 2016
copy_list_with_random_pointer copy_list_with_random_pointer Oct 11, 2016
count_and_say count_and_say Sep 21, 2016
count_complete_tree_nodes count_complete_tree_nodes Oct 17, 2016
count_of_range_sum 2 problems Oct 30, 2016
count_of_smaller_numbers_after_self count_of_smaller_numbers_after_self Oct 29, 2016
count_primes 3 problems Oct 16, 2016
counting_bits n Nov 2, 2016
course_schedule 2 problems Oct 16, 2016
course_schedule_II solve 4 problems Oct 16, 2016
decode_string n Nov 3, 2016
decode_ways decode_ways Sep 29, 2016
delete_node_in_a_linked_list delete_node_in_a_linked_list Oct 18, 2016
different_ways_to_add_parentheses different_ways_to_add_parentheses Oct 20, 2016
distinct_subsequences distinct_subsequences Oct 7, 2016
dungeon_game dungeon_game Oct 15, 2016
edit_distance edit_distance Sep 25, 2016
elimination_game n Nov 3, 2016
evaluate_reverse_polish_notation evaluate_reverse_polish_notation Oct 14, 2016
excel_sheet_column_number excel_sheet_column_number Oct 15, 2016
excel_sheet_column_title excel_sheet_column_title Oct 15, 2016
expression_add_operators 2 problems Oct 22, 2016
factorial_trailing_zeroes factorial_trailing_zeroes Oct 15, 2016
find_k_pairs_with_smallest_sums 2 Nov 3, 2016
find_median_from_data_stream using stl container Oct 24, 2016
find_minimum_in_rotated_sorted_array find_minimum_in_rotated_sorted_array Oct 14, 2016
find_minimum_in_rotated_sorted_array_II update Jun 4, 2017
find_peak_element find_peak_element Oct 14, 2016
find_the_difference n Nov 3, 2016
find_the_duplicate_number 2 problems Oct 22, 2016
first_bad_version perfect_squares Oct 22, 2016
first_missing_positive first_missing_positive Sep 21, 2016
first_unique_character_in_a_string 2 Nov 3, 2016
flatten_binary_tree_to_linked_list flatten_binary_tree_to_linked_list/ Oct 7, 2016
flatten_nested_list_iterator n Nov 2, 2016
four_sum four_sum Sep 20, 2016
fraction_to_recurring_decimal fraction_to_recurring_decimal Oct 15, 2016
gas_station gas_station Oct 11, 2016
generate_parentheses generate_parentheses Sep 20, 2016
gray_code gray_code Sep 27, 2016
group_anagrams group_anagrams Sep 23, 2016
guess_number_higher_or_lower 3 problems Nov 3, 2016
guess_number_higher_or_lower_II 3 problems Nov 3, 2016
happy_number happy_number Oct 15, 2016
house_robber house_robber && number_of_1bits Oct 15, 2016
house_robber_II solve 4 problems Oct 16, 2016
house_robber_III n Nov 2, 2016
implement_queue_using_stacks implement_queue_using_stacks Oct 18, 2016
implement_stack_using_queues implement_stack_using_queues Oct 17, 2016
implement_trie 2 problems Oct 16, 2016
increasing_triplet_subsequence 3 problems Nov 1, 2016
insertion_sort_list insertion_sort_list Oct 13, 2016
integer_break n Nov 2, 2016
integer_to_roman integer_to_roman Sep 19, 2016
intersection_of_two_arrays n Nov 2, 2016
intersection_of_two_arrays_II n Nov 2, 2016
intersection_of_two_linked_lists intersection_of_two_linked_lists Oct 14, 2016
invert_binary_tree invert_binary_tree Oct 17, 2016
is_subsequence n Nov 3, 2016
isomorphic_strings 3 problems Oct 16, 2016
jump_game jump_game Sep 24, 2016
kth_largest_element_in_an_array kth_largest_element_in_an_array Oct 16, 2016
kth_smallest_element_in_a_BST kth_smallest_element_in_a_BST Oct 18, 2016
kth_smallest_element_in_a_sorted_matrix 2 Nov 3, 2016
largest_divisible_subset 2 Nov 2, 2016
largest_number largest_number Oct 15, 2016
largest_rectangle_in_histogram largest_rectangle_in_histogram Sep 27, 2016
length_of_last_word length_of_last_word Sep 24, 2016
letter_combinations_of_a_phone_number letter_combinations_of_a_phone_number Sep 20, 2016
lexicographical_numbers 3 Nov 3, 2016
linked_list_cycle linked_list_cycle Oct 12, 2016
linked_list_cycle_II linked_list_cycle_II Oct 12, 2016
longest_absolute_file_path 2 Nov 3, 2016
longest_common_prefix longest_common_prefix Sep 19, 2016
longest_consecutive_sequence longest_consecutive_sequence Oct 9, 2016
longest_increasing_path_in_a_matrix 2 problems Oct 30, 2016
longest_increasing_subsequence longest_increasing_subsequence Oct 24, 2016
longest_palindromic_substring longest_palindromic_substring Sep 13, 2016
longest_substring_with_at_least_k_repeating_characters n Nov 3, 2016
longest_substring_without_repeating_characters longest_substring_without_repeating_characters Sep 12, 2016
longest_valid_parentheses longest_valid_parentheses Sep 21, 2016
lowest_common_ancestor_of_a_binary_search_tree lowest_common_ancestor Oct 18, 2016
lowest_common_ancestor_of_a_binary_tree lowest_common_ancestor Oct 18, 2016
lru_cache lru_cache Oct 13, 2016
majority_element majority_element Oct 15, 2016
majority_element_II majority_element_II Oct 17, 2016
max_points_on_a_line max_points_on_a_line Oct 13, 2016
maximal_rectangle maximal_rectangle Sep 27, 2016
maximal_square maximal_square Oct 17, 2016
maximum_depth_of_binary_tree maximum_depth_of_binary_tree Oct 1, 2016
maximum_gap maximum_gap Oct 14, 2016
maximum_product_of_word_lengths maximum_product_of_word_lengths Oct 30, 2016
maximum_product_subarray maximum_product_subarray Oct 14, 2016
maximum_subarray maximum_subarray Sep 24, 2016
median_of_two_sorted_arrays median_of_two_sorted_arrays Sep 13, 2016
merge_k_sorted_lists merge_k_sorted_lists Sep 20, 2016
merge_sorted_array merge_sorted_array Sep 27, 2016
merge_two_sorted_lists merge_two_sorted_lists Sep 20, 2016
min_stack min_stack Oct 14, 2016
minimum_depth_of_binary_tree minimum_depth_of_binary_tree Oct 3, 2016
minimum_height_trees minimum_height_trees Oct 27, 2016
minimum_path_sum minimum_path_sum Sep 25, 2016
minimum_size_subarray_sum solve 4 problems Oct 16, 2016
minimum_window_substring minimum_window_substring Sep 26, 2016
missing_number missing_number Oct 21, 2016
move_zeroes 2 problems Oct 22, 2016
multiply_strings multiply_strings Sep 22, 2016
n_queens n_queens Sep 24, 2016
n_queens_II n_queens_II Sep 24, 2016
next_permutation next_permutation Sep 21, 2016
nim_game 2 problems Oct 23, 2016
nth_digit n Nov 3, 2016
number_of_1bits house_robber && number_of_1bits Oct 15, 2016
number_of_islands number_of_islands Oct 15, 2016
palindrome_lined_list palindrome_lined_list Oct 18, 2016
palindrome_number palindrome_number Sep 14, 2016
palindrome_pairs palindrome_pairs Nov 2, 2016
palindrome_partitioning palindrome_partitioning/ Oct 10, 2016
palindrome_partitioning_II palindrome_partitioning_II Oct 10, 2016
partition_list partition_list Sep 27, 2016
pascals_triangle pascals_triangle/ Oct 7, 2016
pascals_triangle_II pascals_triangle_II Oct 7, 2016
path_sum path_sum Oct 3, 2016
path_sum_II path_sum_II Oct 3, 2016
peeking_iterator 2 problems Oct 22, 2016
perfect_squares perfect_squares Oct 22, 2016
permutation_sequence permutation_sequence Sep 25, 2016
permutations permutations -- add no recursion solution Sep 23, 2016
permutations_II permutations_II Sep 23, 2016
plus_one plus_one Sep 25, 2016
populating_next_right_pointers_in_each_node fix space Oct 7, 2016
populating_next_right_pointers_in_each_node_II populating_next_right_pointers_in_each_node_II Oct 8, 2016
pow_x_n pow_x_n Sep 23, 2016
power_of_four n Nov 2, 2016
power_of_three 3 problems Oct 30, 2016
power_of_two README.m Oct 18, 2016
product_of_array_except_self product_of_array_except_self Oct 19, 2016
range_sum_query_2d_immutable 2 Oct 25, 2016
range_sum_query_immutable 2 Oct 25, 2016
range_sum_query_mutable 2 problem Oct 25, 2016
ransom_note 3 Nov 3, 2016
reconstruct_ltinerary 3 problems Nov 1, 2016
rectangle_area rectangle_area Oct 17, 2016
regular_expression_matching regular_expression_matching Nov 4, 2016
remove_duplicate_letters remove_duplicate_letters Oct 30, 2016
remove_duplicates_from_sorted_array remove_duplicates_from_sorted_array Sep 20, 2016
remove_duplicates_from_sorted_array_II remove_duplicates_from_sorted_array_II Sep 26, 2016
remove_duplicates_from_sorted_list remove_duplicates_from_sorted_list I & II Sep 27, 2016
remove_duplicates_from_sorted_list_II remove_duplicates_from_sorted_list I & II Sep 27, 2016
remove_element remove_element Sep 20, 2016
remove_invalid_parentheses remove_invalid_parentheses Oct 25, 2016
remove_linked_list_elements remove_linked_list_elements Oct 15, 2016
remove_nth_node_from_end_of_list remove_nth_node_from_end_of_list Sep 20, 2016
reorder_list reorder_list Oct 12, 2016
repeated_dna_sequences repeated_dna_sequences Oct 15, 2016
restore_IP_addresses restore_IP_addresses Sep 29, 2016
reverse_bits reverse_bits Oct 15, 2016
reverse_integer fix fucking int32 test case Sep 14, 2016
reverse_linked_list 3 problems Oct 16, 2016
reverse_linked_list_II reverse_linked_list_II/ Sep 29, 2016
reverse_nodes_in_k_group reverse_nodes_in_k_group Sep 20, 2016
reverse_string n Nov 2, 2016
reverse_vowels_of_a_string n Nov 2, 2016
reverse_words_in_a_string reverse_words_in_a_string Oct 14, 2016
roman_to_integer roman_to_integer Sep 19, 2016
rotate_array rotate_array Oct 15, 2016
rotate_function n Nov 3, 2016
rotate_image rotate_image Sep 23, 2016
rotate_list rotate_list Sep 25, 2016
russian_doll_envelopes russian_doll_envelopes Nov 2, 2016
same_tree same_tree Oct 1, 2016
search_a_2D_matrix search_a_2D_matrix Sep 25, 2016
search_a_2D_matrix_II fix bug Oct 19, 2016
search_for_a_range search_for_a_range Sep 21, 2016
search_in_rotated_sorted_array search_in_rotated_sorted_array Sep 21, 2016
search_in_rotated_sorted_array_II search_in_rotated_sorted_array_II Sep 26, 2016
search_insert_position search_insert_position Sep 21, 2016
self_crossing 3 problems Nov 1, 2016
serialize_and_deserialize_binary_tree 2 problems Oct 24, 2016
set_matrix_zeroes set_matrix_zeroes Sep 25, 2016
shortest_palindrome shortest_palindrome Oct 16, 2016
shuffle_an_array 3 Nov 3, 2016
single_number single_number Oct 11, 2016
single_number_II single_number_II Oct 11, 2016
single_number_III single_number_III Oct 20, 2016
sliding_window_maximum sliding_window_maximum Oct 19, 2016
sort_colors sort_colors Sep 25, 2016
sort_list sort_list Oct 13, 2016
spiral_matrix spiral_matrix Sep 24, 2016
spiral_matrix_II spiral_matrix_II Sep 25, 2016
string_to_integer string_to_integer Sep 14, 2016
subsets fix Sep 27, 2016
subsets_II subsets_II Sep 29, 2016
sum_of_two_integers 2 Nov 3, 2016
sum_root_to_leaf_numbers sum_root_to_leaf_numbers Oct 9, 2016
summary_ranges summary_ranges Oct 17, 2016
super_ugly_number 2 problem Oct 29, 2016
surrounded_regions surrounded_regions Oct 9, 2016
swap_nodes_in_pairs swap_nodes_in_pairs Sep 20, 2016
symmetric_tree symmetric_tree Oct 1, 2016
three_sum three_sum Sep 19, 2016
three_sum_closest three_sum_closest Sep 19, 2016
top_k_frequent_elements n Nov 2, 2016
trapping_rain_water trapping_rain_water Sep 21, 2016
triangle triangle Oct 8, 2016
two_sum two_sum Sep 9, 2016
two_sum_II two_sum_II Oct 15, 2016
ugly_number ugly_number Oct 20, 2016
ugly_number_II ugly_number_II Oct 21, 2016
unique_binary_search_trees unique_binary_search_trees Sep 29, 2016
unique_binary_search_trees_II unique_binary_search_trees_II Sep 29, 2016
unique_paths unique_paths Sep 25, 2016
unique_paths_II unique_paths_II/ Sep 25, 2016
valid_anagram valid_anagram Oct 20, 2016
valid_number valid_number Sep 25, 2016
valid_palindrome valid_palindrome Oct 8, 2016
valid_parentheses valid_parentheses Sep 20, 2016
valid_perfect_square 2 Nov 2, 2016
valid_sudoku valid_sudoku Sep 21, 2016
validate_binary_search_tree validate_binary_search_tree/ Oct 1, 2016
verify_preorder_serialization_of_a_binary_tree 1 problem Oct 31, 2016
wiggle_subsequence 3 problems Nov 3, 2016
word_break word_break Oct 12, 2016
word_break_II word_break_II Oct 12, 2016
word_ladder word_ladder Oct 9, 2016
word_ladder_II word_ladder_II Oct 9, 2016
word_pattern word_pattern Oct 23, 2016
word_search word_search Sep 26, 2016
zigzag_conversion zigzag_conversion Sep 13, 2016
README.md regular_expression_matching Nov 4, 2016

README.md

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

2. add two numbers

3. longest substring without repeating characters

4. median of two sorted arrays

5. longest palindromic substring

6. zigzag conversion

7. reverse integer

8. string to integer

9. palindrome number

10. Regular Expression Matching

11. container with most water

12. integer to roman

13. roman to integer

14. longest common prefix

15. 3sum

16. 3sum closest

17. letter combinations of a phone number

18. 4sum

19. remove nth node from end of list

20. valid parentheses

21. merge two sorted lists

22. generate parentheses

23. merge k sorted lists

24. swap nodes in pairs

25. reverse nodes in k group

26. Remove Duplicates from Sorted Array

27. Remove Element

31. Next Permutation

32. longest valid parentheses

33. search in rotated sorted array

34. search for a range

35. search insert position

36. valid sudoku

38. count and say

39. combination sum

40. combination sum ii

41. first missing positive

42. trapping rain water

43. multiply strings

46. permutations

47. permutations II

48. rotate image

49. group anagrams

50. pow(x,n)

51. n queens

52. n queens II

53. maximum subarray

54. spiral matrix

55. jump game

58. length of last word

59. spiral matrix II

60. permutation sequence

61. rotate list

62. unique paths

63. unique paths II

64. minimum path sum

65. valid number

66. plus one

67. add binary

70. climbing stairs

72. edit distance

73. set matrix zeroes

74. search a 2D matrix

75. sort colors

76. minimum window substring

77. combinations

78. subsets

79. word search(not solved)

80. Remove Duplicates from Sorted Array II

81. Search in Rotated Sorted Array II

82. remove duplicates from sorted list II

83. remove duplicates from sorted list

84. largest rectangle in histogram

85. maximal rectangle

86. partition list

88. merge sorted array

89. gray code

90. subsets II

91. decode ways

92. reverse linked list II

93. Restore IP Addresses

94. Binary Tree Inorder Traversal

95. Unique Binary Search Trees II

96. Unique Binary Search Trees

98. validate binary search tree

100. same tree

101. symmetric tree

102. Binary Tree Level Order Traversal

103. Binary Tree Zigzag Level Order Traversal

104. maximum depth of binary tree

105. construct binary tree from preorder and inorder traversal

106. construct binary tree from inorder and postorder traversal

107. Binary Tree Level Order Traversal II

108. Convert Sorted Array to Binary Search Tree

109. Convert Sorted List to Binary Search Tree

110. Balanced Binary Tree

111. minimum depth of binary tree

112. path sum

113. path sum II

114. Flatten Binary Tree to Linked List

115. distinct subsequences

116. Populating Next Right Pointers in Each Node

117. Populating Next Right Pointers in Each Node II

118. pascal's triangle

119. pascal's triangle II

120. triangle

121. Best Time to Buy and Sell Stock

122. Best Time to Buy and Sell Stock II

123. Best Time to Buy and Sell Stock III

124. binary tree maximum path sum

125. valid palindrome

126. word ladder II

127. word ladder

128. longest consecutive sequence

129. sum root to leaf numbers

130. surrounded regions

131. palindrome partitioning

132. palindrome partitioning II

133. Clone Graph

134. gas station

135. candy

136. single number

137. single number II

138. copy_list_with_random_pointer

139. word break

140. word break II

141. Linked List Cycle

142. Linked List Cycle II

143. reorder list

144. binary tree preorder traversal

145. binary tree postorder traversal

146. LRU Cache

147. insertion sort list

148. sort list

149. Max Points on a Line

150. evaluate reverse polish notation

151. reverse words in a string

152. maximum product subarray

153. find minimum in rotated sorted array

154. find minimum in rotated sorted array II

155. Min Stack

160. Intersection of Two Linked Lists

162. Find Peak Element

164. Maximum Gap

165. compare version numbers

166. Fraction to Recurring Decimal

167. Two Sum II

168. Excel Sheet Column Title

169. Majority Element

171. Excel Sheet Column Number

172. Factorial Trailing Zeroes

173. Binary Search Tree Iterator

174. Dungeon Game

179. Largest Number

187. Repeated DNA Sequences

188. Best Time to Buy and Sell Stock IV

189. Rotate Array

190. Reverse Bits

191. Number of 1 Bits

198. House Robber

199. Binary Tree Right Side View

200. Number of Islands

201. Bitwise AND of Numbers Range

202. Happy Number

203. Remove Linked List Elements

204. Count Primes

205. Isomorphic Strings

206. Reverse Linked List

207. Course Schedule

208. Implement Trie (Prefix Tree)

209. Minimum Size Subarray Sum

210. Course Schedule II

211. Add and Search Word - Data structure design

213. House Robber II

214. Shortest Palindrome (unsolved)

215. Kth Largest Element in an Array

216. Combination Sum III

217. Contains Duplicate

219. Contains Duplicate II

220. Contains Duplicate III (unsolved)

221. Maximal Square

222. Count Complete Tree Nodes

223. Rectangle Area

224. Basic Calculator

225. Implement Stack using Queues

226. Invert Binary Tree

227. Basic Calculator II

228. Summary Ranges

229. Majority Element II

230. Kth Smallest Element in a BST

231. Power of Two

232. Implement Queue using Stacks

234. Palindrome Linked List

235. Lowest Common Ancestor of a Binary Search Tree

236. Lowest Common Ancestor of a Binary Tree

237. Delete Node in a Linked List

238. product of array except self

239. Sliding Window Maximum

240. Search a 2D Matrix II

241. Different Ways to Add Parentheses

242. Valid Anagram

257. Binary Tree Paths

258. Add Digits

260. Single Number III

263. Ugly Number

264. Ugly Number II

268. Missing Number

278. First Bad Version

279. Perfect Squares

282. Expression Add Operators

283. Move Zeroes

284. Peeking Iterator

287. Find the Duplicate Number

290. Word Pattern

292. Nim Game

295. Find Median from Data Stream

297. Serialize and Deserialize Binary Tree

299. Bulls and Cows

300. Longest Increasing Subsequence

301. Remove Invalid Parentheses

303. Range Sum Query - Immutable

304. Range Sum Query 2D - Immutable

306. Additive Number

307. Range Sum Query - Mutable

309. Best Time to Buy and Sell Stock with Cooldown

312. Burst Balloons

313. Super Ugly Number

315. Count of Smaller Numbers After Self

316. Remove Duplicate Letters

318. Maximum Product of Word Lengths

319. Bulb Switcher

322. Coin Change

326. Power of Three

327. Count of Range Sum

329. Longest Increasing Path in a Matrix

331. Verify Preorder Serialization of a Binary Tree

332. Reconstruct Itinerary

334. Increasing Triplet Subsequence

335. Self Crossing

336. Palindrome Pairs

337. House Robber III

338. Counting Bits

341. Flatten Nested List Iterator

342. Power of Four

343. Integer Break

344. Reverse String

345. Reverse Vowels of a String

347. Top K Frequent Elements

349. Intersection of Two Arrays

350. Intersection of Two Arrays II

354. Russian Doll Envelopes

367. Valid Perfect Square

368. Largest Divisible Subset

371. Sum of Two Integers

373. Find K Pairs with Smallest Sums

374. Guess Number Higher or Lower

375. Guess Number Higher or Lower II

376. Wiggle Subsequence

377. Combination Sum IV

378. Kth Smallest Element in a Sorted Matrix

383. Ransom Note

384. Shuffle an Array

386. Lexicographical Numbers

387. First Unique Character in a String

388. Longest Absolute File Path

389. Find the Difference

390. Elimination Game

391. Is Subsequence

394. Decode String

395. Longest Substring with At Least K Repeating Characters

396. Rotate Function

400. Nth Digit