Directories ¶ Show internal Expand all Path Synopsis 01.05.one_away_lcci 10.regular_expression_matching 100.same_tree 101.symmetric_tree 102.binary_tree_level_order_traversal 1022.sum_of_root_to_leaf_binary_numbers 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 1073.adding_two_negabinary_numbers 108.convert_sorted_array_to_binary_search_tree 1089.duplicate_zeros 109.convert_sorted_list_to_binary_search_tree 11.container_with_most_water 110.balanced_binary_tree 1108.defanging_an_ip_address 111.minimum_depth_of_binary_tree 112.path_sum 113.path_sum_ii 114.flatten_binary_tree_to_linked_list 1143.longest_common_subsequence 115.distinct_subsequences 116.populating_next_right_pointers_in_each_node 1161.maximum_level_sum_of_a_binary_tree 117.populating_next_right_pointers_in_each_node_ii 1175.prime_arrangements 118.pascals_triangle 119.pascals_triangle_ii 120.triangle 1200.minimum_absolute_difference 121.best_time_to_buy_and_sell_stock 1217.minimum_cost_to_move_chips_to_the_same_position 122.best_time_to_buy_and_sell_stock_ii 124.binary_tree_maximum_path_sum 125.valid_palindrome 1252.cells_with_odd_values_in_a_matrix 1260.shift_2d_grid 128.longest_consecutive_sequence 1289.minimum_falling_path_sum_ii 129.sum_root_to_leaf_numbers 13.roman_to_integer 1301.number_of_paths_with_max_score 1305.all_elements_in_two_binary_search_trees 136.single_number 138.copy_list_with_random_pointer 1380.lucky_numbers_in_a_matrix 14.longest_common_prefix 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 1480.running_sum_of_1d_array 15.3sum 150.evaluate_reverse_polish_notation 151.reverse_words_in_a_string 152.maximum_product_subarray 153.find_minimum_in_rotated_sorted_array 155.min_stack 1575.count_all_possible_routes 1582.special_positions_in_a_binary_matrix 160.intersection_of_two_linked_lists 162.find_peak_element 167.two_sum_ii_input_array_is_sorted 169.majority_element 1704.determine_if_string_halves_are_alike 171.excel_sheet_column_number 1728.cat_and_mouse_ii 1729.find_followers_count 173.binary_search_tree_iterator 175.combine_two_tables 176.second_highest_salary 177.nth_highest_salary 179.largest_number 185.department_top_three_salaries 189.rotate_array 19.remove_nth_node_from_end_of_list 190.reverse_bits 191.number_of_1_bits 192.word_frequency 193.valid_phone_numbers 196.delete_duplicate_emails 197.rising_temperature 1971.find_if_path_exists_in_graph 198.house_robber 20.valid_parentheses 200.number_of_islands 202.happy_number 204.count_primes 205.isomorphic_strings 209.minimum_size_subarray_sum 21.merge_two_sorted_lists 2120.execution_of_all_suffix_instructions_staying_in_a_grid 2121.intervals_between_identical_elements 213.house_robber_ii 217.contains_duplicate 219.contains_duplicate_ii 22.generate_parentheses 220.contains_duplicate_iii 222.count_complete_tree_nodes 225.implement_stack_using_queues 226.invert_binary_tree 23.merge_k_sorted_lists 230.kth_smallest_element_in_a_bst 2305.fair_distribution_of_cookies 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 24.swap_nodes_in_pairs 240.search_a_2d_matrix_ii 241.different_ways_to_add_parentheses 242.valid_anagram 257.binary_tree_paths 268.missing_number 27.remove_element 278.first_bad_version 28.implement_strstr 283.move_zeroes 287.find_the_duplicate_number 290.word_pattern 292.nim_game 297.serialize_and_deserialize_binary_tree 30.substring_with_concatenation_of_all_words 300.longest_increasing_subsequence 31.next_permutation 32.longest_valid_parentheses 322.coin_change 324.wiggle_sort_ii 326.power_of_three 328.odd_even_linked_list 33.search_in_rotated_sorted_array 331.verify_preorder_serialization_of_a_binary_tree 337.house_robber_iii 338.counting_bits 34.find_first_and_last_position_of_element_in_sorted_array 344.reverse_string 345.reverse_vowels_of_a_string 347.top_k_frequent_elements 349.intersection_of_two_arrays 35.search_insert_position 350.intersection_of_two_arrays_ii 36.valid_sudoku 37.sudoku_solver 374.guess_number_higher_or_lower 378.kth_smallest_element_in_a_sorted_matrix 38.count_and_say 380.insert_delete_getrandom_o1 382.linked_list_random_node 383.ransom_note 384.shuffle_an_array 389.find_the_difference 392.is_subsequence 394.decode_string 4.median_of_two_sorted_arrays 401.binary_watch 404.sum_of_left_leaves 409.longest_palindrome 41.first_missing_positive 412.fizz_buzz 414.third_maximum_number 415.add_strings 42.trapping_rain_water 430.flatten_a_multilevel_doubly_linked_list 433.minimum_genetic_mutation 434.number_of_segments_in_a_string 442.find_all_duplicates_in_an_array 445.add_two_numbers_ii 448.find_all_numbers_disappeared_in_an_array 449.serialize_and_deserialize_bst 45.jump_game_ii 450.delete_node_in_a_bst 453.minimum_moves_to_equal_array_elements 454.4sum_ii 455.assign_cookies 459.repeated_substring_pattern 460.lfu_cache 461.hamming_distance 462.minimum_moves_to_equal_array_elements_ii 463.island_perimeter 464.can_i_win 467.unique_substrings_in_wraparound_string 473.matchsticks_to_square 476.number_complement 482.license_key_formatting 485.max_consecutive_ones 49.group_anagrams 498.di 508.most_frequent_subtree_sum 51.n_queens 513.find_bottom_left_tree_value 516.longest_palindromic_subsequence 52.n_queens_ii 522.longest_uncommon_subsequence_ii 53.maximum_subarray 532.k_diff_pairs_in_an_array 535.encode_and_decode_tinyurl 54.spiral_matrix 55.jump_game 557.reverse_words_in_a_string_iii 561.array_partition_i 576.out_of_boundary_paths 589.n_ary_tree_preorder_traversal 590.n_ary_tree_postorder_traversal 62.unique_paths 63.unique_paths_ii 64.minimum_path_sum 648.replace_words 652.find_duplicate_subtrees 668.kth_smallest_number_in_multiplication_table 676.implement_magic_dictionary 680.valid_palindrome_ii 691.stickers_to_spell_word 692.top_k_frequent_words 693.binary_number_with_alternating_bits 696.count_binary_substrings 700.search_in_a_binary_search_tree 701.insert_into_a_binary_search_tree 703.kth_largest_element_in_a_stream 704.binary_search 705.design_hashset 706.design_hashmap 707.design_linked_list 709.to_lower_case 717.1_bit_and_2_bit_characters 719.find_k_th_smallest_pair_distance 724.find_pivot_index 729.my_calendar_i 73.set_matrix_zeroes 731.my_calendar_ii 735.asteroid_collision 739.daily_temperatures 746.min_cost_climbing_stairs 75.sort_colors 78.subsets 783.minimum_distance_between_bst_nodes 79.word_search 80.remove_duplicates_from_sorted_array_ii 812.largest_triangle_area 829.consecutive_numbers_sum 83.remove_duplicates_from_sorted_list 873.length_of_longest_fibonacci_subsequence 876.middle_of_the_linked_list 88.merge_sorted_array 897.increasing_order_search_tree 912.sort_an_array 919.complete_binary_tree_inserter 92.reverse_linked_list_ii 929.unique_email_addresses 931.minimum_falling_path_sum 94.binary_tree_inorder_traversal 941.valid_mountain_array 942.di_string_match 944.delete_columns_to_make_sorted 95.unique_binary_search_trees_ii 953.verifying_an_alien_dictionary 96.unique_binary_search_trees 961.n_repeated_element_in_size_2n_array 965.univalued_binary_tree 98.validate_binary_search_tree 99.recover_binary_search_tree ListNode common helper interview interview17.14.smallest_k_lcci offerII027.a_mh_z_sa offerII029.4ue_aj6 offerII041.q_isx9_u offerII059.j_bjn9_c offerII091._j_ej789 tree Click to show internal directories. Click to hide internal directories.