Directories ¶ Show internal Expand all Path Synopsis 1002_find_common_characters 1025_divisor_game 1046_last_stone_weight 1071_greatest_common_divisor_of_strings 1078_occurrences_after_bigram 1103_distribute_candies_to_people 1108_defanging_an_ip_address 1128_number_of_equivalent_domino_pairs 1137_Nth_tribonacci_number 1154_day_of_the_year 1160_find_words_that_can_be_formed_by_characters 1175_prime_arrangements 1200_minimum_absolute_difference 1207_unique_number_of_occurrences 1217_minimum_cost_to_move_chips_to_the_same_position 1221_split_a_string_in_balanced_strings 1232_check_if_it_is_a_straight_line 1252_cells_with_odd_values_in_matrix 1260_shift_2d_grid 1266_minimum_time_visiting_all_points 1275_find_winner_on_tic_tac_toe_game 1281_subtract_the_product_and_sum_of_digits_of_an_integer 1287_element_appearing_more_than_25_in_sorted_array 1290_convert_binary_number_in_a_linked_list_to_integer 1299_replace_elements_with_greatest_element_on_right_side 1304_find_n_unique_integers_sum_up_to_zero 1309_decrypt_string_from_alphabet_to_integer_mapping 1313_decompress_run_length_encoded_list 1317_convert_integer_to_the_sum_of_two_no_zero_integers 1331_rank_transform_of_an_array 1337_the_k_weakest_rows_in_a_matrix 1342_number_of_steps_to_reduce_a_number_to_zero 1346_check_if_n_and_its_double_exist 1351_count_negative_numbers_in_a_sorted_matrix 1360_number_of_days_between_two_dates 1365_how_many_numbers_are_smaller_than_the_current_number 1370_increasing_decreasing_string 1374_generate_string_with_characters_that_have_odd_counts 1379_find_corresponding_node_of_binary_tree_in_clone_of_that_tree 1380_lucky_numbers_in_a_matrix 1385_find_the_distance_value_between_two_arrays 1389_create_target_array_in_the_given_order 1394_find_lucky_integer_in_an_array 1399_count_largest_group 1403_minimum_subsequence_in_non_increasing_order 1408_string_matching_in_an_array 1413_minimum_value_to_get_positive_step_by_step_sum 1417_reformat_the_string 141_Linked_List_Cycle 1422_maximum_score_after_splitting_string 1431_kids_with_the_greatest_number_of_candies 1437_check_if_all_1s_are_at_least_length_k_places_away 1446_consecutive_characters 1450_number_of_students_doing_homework_at_given_time 1455_check_If_word_occurs_as_prefix_of_any_word_in_sentence 1460_make_two_arrays_equal_by_reversing_subarrays 1480_running_sum_of_1d_array 1491_average_salary_sxcluding_minimum_and_maximum_salary 1496_path_crossing 1507_reformat_date 1512_number_of_good_pairs 1523_count_odd_numbers_in_an_interval_range 1534_count_good_triplets 1539_kth_missing_positive_number 1544_make_the_string_great 1550_three_consecutive_odds 1556_thousand_separator 1588_sum_of_all_odd_length_subarrays 160_Intersection_of_Two_Linked_Lists 168_excel_sheet_column_title 169_Majority_Element 228_summary_ranges 243_shortest_word_distance 492_construct_the_rectangle 495_teemo_attacking 575_distribute_candies 589_n_ary_tree_preorder_traversal 590_n_ary_tree_postorder_traversal 594_longest_harmonious_subsequence 605_can_place_flowers 657_robot_return_to_origin 661_image_smoother 682_baseball_game 747_largest_number_at_least_twice_of_others 748_shortest_completing_word 762_prime_number_of_set_bits_in_binary_representation 766_toeplitz_matrix 771_jewels_and_stones 812_largest_triangle_area 821_shortest_distance_to_a_character 824_goat_latin 830_positions_of_large_groups 832_flipping_an_image 836_rectangle_overlap 844_backspace_string_compare 860_lemonade_change 884_uncommon_words_from_two_sentences 888_fair_candy_swap 908_smallest_range1 914_x_of_a_kind_in_a_Deck_of_cards 925_long_pressed_name 941_valid_mountain_array 942_di_string_match 944_delete_columns_to_make_sorted 94_binary_tree_inorder_traversal 953_verifying_an_alien_dictionary 961_n_repeated_element_in_size_2n_array 976_largest_perimeter_triangle 989_add_to_array_form_of_integer 999_available_captures_for_rook arrays 1018_binary_prefix_divisible_by_5 command 1030_matrix_cells_in_distance_order command 1037_valid_boomerang command 1089_duplicate_zeros command 1122_relative_sort_array command 1464_max_product_of_two_elem_of_arr 1470_shuffle_the_array 1572_matrix_diagonal_sum command 1700_number_of_students_unable_to_eat_lunch 1920_build_array_from_permutation command 2073_time_needed_to_buy_tickets 217_contains_duplicate_int command 252_meeting_rooms 463_island_perimeter command 496_next_greater_element1 command 506_relative_ranks command 566_reshape_the_matrix command 598_range_addition2 command 628_maximum_product_of_three_numbers command 643_maximum_average_subarray1 command 674_longest_continuous_increasing_subsequence command 697_degree_of_an_array command 717_1bit_and_2bit_characters command 724_find_pivot_index command 733_flood_fill 744_find_smallest_letter_greater_than_target command 867_transpose_matrix command 922_sort_array_by_parity2 command array_partition array_to_binary_tree arrays_intersection_two/v1 arrays_intersection_two/v2 command arrays_intersection_two/v3 assign_cookies contains_nearby_duplicates command difference_two_array divide_array_into_equal_pairs get_maximum_generated intersection_multiple_arrays is_sorted keyboard_row majority_element command max_consecutive_one max_int command max_min_four_int command max_sub_array command merge_similar_items command merge_sort_single_array merge_sorted_two_arrays command merge_sorted_two_arrays/with_numbers missing_number monotonic_array move_zeroes numbers_disappeared_in_array plus_one command range_sub_query remove_duplicates_array command remove_element_int/v1 remove_element_int/v2 reverse_slice command single_number command smallest_common_element sort_array_by_parity squares_sorted_array sum_subarray_mins two_sum command two_sum_sorted command bitwise 461_hamming_distance 696_count_binary_substrings command add_binary command binary_gap binary_number_alternating_bits binary_watch complement_of_base_10_int count_bits decode_xored_array find_difference minimum_bit_flip_convert_number number_complement number_of_even_and_odd reverse_bits command sort_integers_by_num_of_1_bits sum_all_subset_xor_totals xor_operation_in_array graph 1436_destination_city 1971_find_if_path_exists_in_graph greedy add_digits min_sum_of_four_digital hash_map 706_design_hash_map hash_set 705_design_hashset lenked_list 206_reverse_linked_list command 21_merge_two_sorted_lists command 2264_largest_3_same_digit_number_in_string 234_palindrome_linked_list command 876_middle_of_the_linked_list command add_two_numbers command intersection_two linked_list_cycle command palindrome_linked_list command remove_duplicates command remove_ilnked_list_elements reverse command reverse02 command number 118_pascal_triangle 119_pascals_triangle2 command 1323_maximum_69_number 172_factorial_trailing_zeroes command 202_happy_number 2235_add_two_integers 2427_number_of_common_factors 263_is_ugly_number command 278_first_bad_version 292_nim_game command 367_valid_perfect_square 374_guess_number_higher_or_lower 405_convert_number_to_hex 412_fizz_buzz 441_arranging_coins command 507_perfect_number 509_fibonacci_number 728_self_dividing_numbers command clock_after command power_of_four power_of_three power_of_two reverse_int command set_mismatch sqrt sum_of_digits_float sum_of_squares command two_numbers_matching queue 232_implement_queue_using_stacks 933_number_of_recent_calls/ver1_lib 933_number_of_recent_calls/ver2_binary_search stairs 70_climbing_stairs command climbing_stairs command min_cost_climbing_stairs strings 13_roman_to_Integer 1704_determine_if_string_halves_are_alike command 171_excel_sheet_column_number command 205_isomorphic_strings 2278_percentage_of_letter_in_string command 242_valid_anagram 243_shortest_word_distance command 266_palindrome_permutation 2864_maximum_odd_binary_number command 2937_make_three_strings_equal command 2942_find_words_containing_character command 345_reverse_vowels_string 383_ransom_note 434_number_of_segments_in_a_string command 459_repeated_substring_pattern 482_license_key_formatting command 520_detect_capital command 521_longest_uncommon_subsequence1 command 541_reverse_string2 command 557_reverse_words_in_a_string3 command 709_to_lower_case command 796_rotate_string command 859_buddy_strings command 917_reverse_only_letters command 929_unique_email_addresses command anagram command check_repeated command count_number_of_consistent_strings find_first_palindromic_string_in_array first_unique_character_in_string indexof command is_palindrome is_prefix_array is_subsequence length_last_word command lexicographically_smallest_palindrome longest_common_prefix command longest_nice_substring longest_palindrome maximum_number_balloons number_of_lines_to_write_string palindrome_valid command phone_num command remove_adjustment_duplicates remove_palindromic_subsequences remove_parentheses reverse_string command rle command rune_brackets unique_morse_code_words validate_parentheses command word_pattern command tree 543_diameter_of_binary_tree command 559_maximum_depth_of_N_ary_tree command 563_binary_tree_tilt command 572_subtree_of_another_tree command binary_search_tree/530_minimum_absolute_difference_in_bst command binary_search_tree/653_two_sum4_Input_is_a_bst command binary_search_tree/671_second_minimum_node_In_a_binary_tree command binary_search_tree/700_search_in_a_binary_search_tree command binary_search_tree/703_kth_largest_element_in_a_stream command binary_search_tree/783_minimum_distance_between_bst_nodes command binary_search_tree/897_increasing_order_search_tree command binary_search_tree/938_range_sum_of_bst command binary_tree/1022_sum_of_root_to_leaf_binary_numbers command binary_tree/222_count_complete_tree_nodes binary_tree/404_sum_of_left_leaves binary_tree/617_merge_two_binary_trees command binary_tree/637_average_of_levels_in_binary_tree command binary_tree/872_leaf_similar_trees command binary_tree/965_univalued_binary_tree command binary_tree/993_cousins_in_binary_tree command binary_tree/array_to_binary_tree binary_tree/find_mode_in_binary_search_tree binary_tree/hamming_weight command binary_tree/increasing_order_search_tree binary_tree/inorder_traversal command binary_tree/invert_binary_tree binary_tree/is_balanced command binary_tree/max_depth command binary_tree/min_depth binary_tree/path_sum binary_tree/paths binary_tree/postorder_traversal binary_tree/preorder_traversal binary_tree/same_tree command binary_tree/symmetric_tree command Click to show internal directories. Click to hide internal directories.