forked fromjavadev/LeetCode-in-Java
- Notifications
You must be signed in to change notification settings - Fork1
File tree
615 files changed
+30
-30
lines changed- src.save
- main/java
- g1001_1100
- s1001_grid_illumination
- s1002_find_common_characters
- s1003_check_if_word_is_valid_after_substitutions
- s1004_max_consecutive_ones_iii
- s1005_maximize_sum_of_array_after_k_negations
- s1006_clumsy_factorial
- s1007_minimum_domino_rotations_for_equal_row
- s1008_construct_binary_search_tree_from_preorder_traversal
- s1009_complement_of_base_10_integer
- s1010_pairs_of_songs_with_total_durations_divisible_by_60
- s1011_capacity_to_ship_packages_within_d_days
- s1012_numbers_with_repeated_digits
- s1013_partition_array_into_three_parts_with_equal_sum
- s1014_best_sightseeing_pair
- s1015_smallest_integer_divisible_by_k
- s1016_binary_string_with_substrings_representing_1_to_n
- s1017_convert_to_base_2
- s1018_binary_prefix_divisible_by_5
- s1019_next_greater_node_in_linked_list
- s1020_number_of_enclaves
- s1021_remove_outermost_parentheses
- s1022_sum_of_root_to_leaf_binary_numbers
- s1023_camelcase_matching
- s1024_video_stitching
- s1025_divisor_game
- s1026_maximum_difference_between_node_and_ancestor
- s1027_longest_arithmetic_subsequence
- s1028_recover_a_tree_from_preorder_traversal
- s1029_two_city_scheduling
- s1030_matrix_cells_in_distance_order
- s1031_maximum_sum_of_two_non_overlapping_subarrays
- s1032_stream_of_characters
- s1033_moving_stones_until_consecutive
- s1034_coloring_a_border
- s1035_uncrossed_lines
- s1036_escape_a_large_maze
- s1037_valid_boomerang
- s1038_binary_search_tree_to_greater_sum_tree
- s1039_minimum_score_triangulation_of_polygon
- s1040_moving_stones_until_consecutive_ii
- s1041_robot_bounded_in_circle
- s1042_flower_planting_with_no_adjacent
- s1043_partition_array_for_maximum_sum
- s1044_longest_duplicate_substring
- s1045_customers_who_bought_all_products
- s1046_last_stone_weight
- s1047_remove_all_adjacent_duplicates_in_string
- s1048_longest_string_chain
- s1049_last_stone_weight_ii
- s1050_actors_and_directors_who_cooperated_at_least_three_times
- s1051_height_checker
- s1052_grumpy_bookstore_owner
- s1053_previous_permutation_with_one_swap
- s1054_distant_barcodes
- s1061_lexicographically_smallest_equivalent_string
- s1068_product_sales_analysis_i
- s1070_product_sales_analysis_iii
- s1071_greatest_common_divisor_of_strings
- s1072_flip_columns_for_maximum_number_of_equal_rows
- s1073_adding_two_negabinary_numbers
- s1074_number_of_submatrices_that_sum_to_target
- s1075_project_employees_i
- s1078_occurrences_after_bigram
- s1079_letter_tile_possibilities
- s1080_insufficient_nodes_in_root_to_leaf_paths
- s1081_smallest_subsequence_of_distinct_characters
- s1084_sales_analysis_iii
- s1089_duplicate_zeros
- s1090_largest_values_from_labels
- s1091_shortest_path_in_binary_matrix
- s1092_shortest_common_supersequence
- s1093_statistics_from_a_large_sample
- s1094_car_pooling
- s1095_find_in_mountain_array
- s1096_brace_expansion_ii
- g1101_1200
- s1103_distribute_candies_to_people
- s1104_path_in_zigzag_labelled_binary_tree
- s1105_filling_bookcase_shelves
- s1106_parsing_a_boolean_expression
- s1108_defanging_an_ip_address
- s1109_corporate_flight_bookings
- s1110_delete_nodes_and_return_forest
- s1111_maximum_nesting_depth_of_two_valid_parentheses_strings
- s1114_print_in_order
- s1115_print_foobar_alternately
- s1116_print_zero_even_odd
- s1117_building_h2o
- s1122_relative_sort_array
- s1123_lowest_common_ancestor_of_deepest_leaves
- s1124_longest_well_performing_interval
- s1125_smallest_sufficient_team
- s1128_number_of_equivalent_domino_pairs
- s1129_shortest_path_with_alternating_colors
- s1130_minimum_cost_tree_from_leaf_values
- s1131_maximum_of_absolute_value_expression
- s1137_n_th_tribonacci_number
- s1138_alphabet_board_path
- s1139_largest_1_bordered_square
- s1140_stone_game_ii
- s1141_user_activity_for_the_past_30_days_i
- s1143_longest_common_subsequence
- s1144_decrease_elements_to_make_array_zigzag
- s1145_binary_tree_coloring_game
- s1146_snapshot_array
- s1147_longest_chunked_palindrome_decomposition
- s1148_article_views_i
- s1154_day_of_the_year
- s1155_number_of_dice_rolls_with_target_sum
- s1156_swap_for_longest_repeated_character_substring
- s1157_online_majority_element_in_subarray
- s1158_market_analysis_i
- s1160_find_words_that_can_be_formed_by_characters
- s1161_maximum_level_sum_of_a_binary_tree
- s1162_as_far_from_land_as_possible
- s1163_last_substring_in_lexicographical_order
- s1164_product_price_at_a_given_date
- s1169_invalid_transactions
- s1170_compare_strings_by_frequency_of_the_smallest_character
- s1171_remove_zero_sum_consecutive_nodes_from_linked_list
- s1172_dinner_plate_stacks
- s1174_immediate_food_delivery_ii
- s1175_prime_arrangements
- s1177_can_make_palindrome_from_substring
- s1178_number_of_valid_words_for_each_puzzle
- s1179_reformat_department_table
- s1184_distance_between_bus_stops
- s1185_day_of_the_week
- s1186_maximum_subarray_sum_with_one_deletion
- s1187_make_array_strictly_increasing
- s1189_maximum_number_of_balloons
- s1190_reverse_substrings_between_each_pair_of_parentheses
- s1191_k_concatenation_maximum_sum
- s1192_critical_connections_in_a_network
- s1193_monthly_transactions_i
- s1195_fizz_buzz_multithreaded
- s1200_minimum_absolute_difference
- g1201_1300
- s1201_ugly_number_iii
- s1202_smallest_string_with_swaps
- s1203_sort_items_by_groups_respecting_dependencies
- s1204_last_person_to_fit_in_the_bus
- s1206_design_skiplist
- s1207_unique_number_of_occurrences
- s1208_get_equal_substrings_within_budget
- s1209_remove_all_adjacent_duplicates_in_string_ii
- s1210_minimum_moves_to_reach_target_with_rotations
- s1211_queries_quality_and_percentage
- s1217_minimum_cost_to_move_chips_to_the_same_position
- s1218_longest_arithmetic_subsequence_of_given_difference
- s1219_path_with_maximum_gold
- s1220_count_vowels_permutation
- s1221_split_a_string_in_balanced_strings
- s1222_queens_that_can_attack_the_king
- s1223_dice_roll_simulation
- s1224_maximum_equal_frequency
- s1226_the_dining_philosophers
- s1227_airplane_seat_assignment_probability
- s1232_check_if_it_is_a_straight_line
- s1233_remove_sub_folders_from_the_filesystem
- s1234_replace_the_substring_for_balanced_string
- s1235_maximum_profit_in_job_scheduling
- s1237_find_positive_integer_solution_for_a_given_equation
- s1238_circular_permutation_in_binary_representation
- s1239_maximum_length_of_a_concatenated_string_with_unique_characters
- s1240_tiling_a_rectangle_with_the_fewest_squares
- s1247_minimum_swaps_to_make_strings_equal
- s1248_count_number_of_nice_subarrays
- s1249_minimum_remove_to_make_valid_parentheses
- s1250_check_if_it_is_a_good_array
- s1251_average_selling_price
- s1252_cells_with_odd_values_in_a_matrix
- s1253_reconstruct_a_2_row_binary_matrix
- s1254_number_of_closed_islands
- s1255_maximum_score_words_formed_by_letters
- s1260_shift_2d_grid
- s1261_find_elements_in_a_contaminated_binary_tree
- s1262_greatest_sum_divisible_by_three
- s1263_minimum_moves_to_move_a_box_to_their_target_location
- s1266_minimum_time_visiting_all_points
- s1267_count_servers_that_communicate
- s1268_search_suggestions_system
- s1269_number_of_ways_to_stay_in_the_same_place_after_some_steps
- s1275_find_winner_on_a_tic_tac_toe_game
- s1276_number_of_burgers_with_no_waste_of_ingredients
- s1277_count_square_submatrices_with_all_ones
- s1278_palindrome_partitioning_iii
- s1280_students_and_examinations
- s1281_subtract_the_product_and_sum_of_digits_of_an_integer
- s1282_group_the_people_given_the_group_size_they_belong_to
- s1283_find_the_smallest_divisor_given_a_threshold
- s1284_minimum_number_of_flips_to_convert_binary_matrix_to_zero_matrix
- s1286_iterator_for_combination
- s1287_element_appearing_more_than_25_in_sorted_array
- s1288_remove_covered_intervals
- s1289_minimum_falling_path_sum_ii
- s1290_convert_binary_number_in_a_linked_list_to_integer
- s1291_sequential_digits
- s1292_maximum_side_length_of_a_square_with_sum_less_than_or_equal_to_threshold
- s1293_shortest_path_in_a_grid_with_obstacles_elimination
- s1295_find_numbers_with_even_number_of_digits
- s1296_divide_array_in_sets_of_k_consecutive_numbers
- s1297_maximum_number_of_occurrences_of_a_substring
- s1298_maximum_candies_you_can_get_from_boxes
- s1299_replace_elements_with_greatest_element_on_right_side
- s1300_sum_of_mutated_array_closest_to_target
- test/java
- g1001_1100
- s1001_grid_illumination
- s1002_find_common_characters
- s1003_check_if_word_is_valid_after_substitutions
- s1004_max_consecutive_ones_iii
- s1005_maximize_sum_of_array_after_k_negations
- s1006_clumsy_factorial
- s1007_minimum_domino_rotations_for_equal_row
- s1008_construct_binary_search_tree_from_preorder_traversal
- s1009_complement_of_base_10_integer
- s1010_pairs_of_songs_with_total_durations_divisible_by_60
- s1011_capacity_to_ship_packages_within_d_days
- s1012_numbers_with_repeated_digits
- s1013_partition_array_into_three_parts_with_equal_sum
- s1014_best_sightseeing_pair
- s1015_smallest_integer_divisible_by_k
- s1016_binary_string_with_substrings_representing_1_to_n
- s1017_convert_to_base_2
- s1018_binary_prefix_divisible_by_5
- s1019_next_greater_node_in_linked_list
- s1020_number_of_enclaves
- s1021_remove_outermost_parentheses
- s1022_sum_of_root_to_leaf_binary_numbers
- s1023_camelcase_matching
- s1024_video_stitching
- s1025_divisor_game
- s1026_maximum_difference_between_node_and_ancestor
- s1027_longest_arithmetic_subsequence
- s1028_recover_a_tree_from_preorder_traversal
- s1029_two_city_scheduling
- s1030_matrix_cells_in_distance_order
- s1031_maximum_sum_of_two_non_overlapping_subarrays
- s1032_stream_of_characters
- s1033_moving_stones_until_consecutive
- s1034_coloring_a_border
- s1035_uncrossed_lines
- s1036_escape_a_large_maze
- s1037_valid_boomerang
- s1038_binary_search_tree_to_greater_sum_tree
- s1039_minimum_score_triangulation_of_polygon
- s1040_moving_stones_until_consecutive_ii
- s1041_robot_bounded_in_circle
- s1042_flower_planting_with_no_adjacent
- s1043_partition_array_for_maximum_sum
- s1044_longest_duplicate_substring
- s1045_customers_who_bought_all_products
- s1046_last_stone_weight
- s1047_remove_all_adjacent_duplicates_in_string
- s1048_longest_string_chain
- s1049_last_stone_weight_ii
- s1050_actors_and_directors_who_cooperated_at_least_three_times
- s1051_height_checker
- s1052_grumpy_bookstore_owner
- s1053_previous_permutation_with_one_swap
- s1054_distant_barcodes
- s1061_lexicographically_smallest_equivalent_string
- s1068_product_sales_analysis_i
- s1070_product_sales_analysis_iii
- s1071_greatest_common_divisor_of_strings
- s1072_flip_columns_for_maximum_number_of_equal_rows
- s1073_adding_two_negabinary_numbers
- s1074_number_of_submatrices_that_sum_to_target
- s1075_project_employees_i
- s1078_occurrences_after_bigram
- s1079_letter_tile_possibilities
- s1080_insufficient_nodes_in_root_to_leaf_paths
- s1081_smallest_subsequence_of_distinct_characters
- s1084_sales_analysis_iii
- s1089_duplicate_zeros
- s1090_largest_values_from_labels
- s1091_shortest_path_in_binary_matrix
- s1092_shortest_common_supersequence
- s1093_statistics_from_a_large_sample
- s1094_car_pooling
- s1095_find_in_mountain_array
- s1096_brace_expansion_ii
- g1101_1200
- s1103_distribute_candies_to_people
- s1104_path_in_zigzag_labelled_binary_tree
- s1105_filling_bookcase_shelves
- s1106_parsing_a_boolean_expression
- s1108_defanging_an_ip_address
- s1109_corporate_flight_bookings
- s1110_delete_nodes_and_return_forest
- s1111_maximum_nesting_depth_of_two_valid_parentheses_strings
- s1114_print_in_order
- s1115_print_foobar_alternately
- s1116_print_zero_even_odd
- s1117_building_h2o
- s1122_relative_sort_array
- s1123_lowest_common_ancestor_of_deepest_leaves
- s1124_longest_well_performing_interval
- s1125_smallest_sufficient_team
- s1128_number_of_equivalent_domino_pairs
- s1129_shortest_path_with_alternating_colors
- s1130_minimum_cost_tree_from_leaf_values
- s1131_maximum_of_absolute_value_expression
- s1137_n_th_tribonacci_number
- s1138_alphabet_board_path
- s1139_largest_1_bordered_square
- s1140_stone_game_ii
- s1141_user_activity_for_the_past_30_days_i
- s1143_longest_common_subsequence
- s1144_decrease_elements_to_make_array_zigzag
- s1145_binary_tree_coloring_game
- s1146_snapshot_array
- s1147_longest_chunked_palindrome_decomposition
- s1148_article_views_i
- s1154_day_of_the_year
- s1155_number_of_dice_rolls_with_target_sum
- s1156_swap_for_longest_repeated_character_substring
- s1157_online_majority_element_in_subarray
- s1158_market_analysis_i
- s1160_find_words_that_can_be_formed_by_characters
- s1161_maximum_level_sum_of_a_binary_tree
- s1162_as_far_from_land_as_possible
- s1163_last_substring_in_lexicographical_order
- s1164_product_price_at_a_given_date
- s1169_invalid_transactions
- s1170_compare_strings_by_frequency_of_the_smallest_character
- s1171_remove_zero_sum_consecutive_nodes_from_linked_list
- s1172_dinner_plate_stacks
- s1174_immediate_food_delivery_ii
- s1175_prime_arrangements
- s1177_can_make_palindrome_from_substring
- s1178_number_of_valid_words_for_each_puzzle
- s1179_reformat_department_table
- s1184_distance_between_bus_stops
- s1185_day_of_the_week
- s1186_maximum_subarray_sum_with_one_deletion
- s1187_make_array_strictly_increasing
- s1189_maximum_number_of_balloons
- s1190_reverse_substrings_between_each_pair_of_parentheses
- s1191_k_concatenation_maximum_sum
- s1192_critical_connections_in_a_network
- s1193_monthly_transactions_i
- s1195_fizz_buzz_multithreaded
- s1200_minimum_absolute_difference
- g1201_1300
- s1201_ugly_number_iii
- s1202_smallest_string_with_swaps
- s1203_sort_items_by_groups_respecting_dependencies
- s1204_last_person_to_fit_in_the_bus
- s1206_design_skiplist
- s1207_unique_number_of_occurrences
- s1208_get_equal_substrings_within_budget
- s1209_remove_all_adjacent_duplicates_in_string_ii
- s1210_minimum_moves_to_reach_target_with_rotations
- s1211_queries_quality_and_percentage
- s1217_minimum_cost_to_move_chips_to_the_same_position
- s1218_longest_arithmetic_subsequence_of_given_difference
- s1219_path_with_maximum_gold
- s1220_count_vowels_permutation
- s1221_split_a_string_in_balanced_strings
- s1222_queens_that_can_attack_the_king
- s1223_dice_roll_simulation
- s1224_maximum_equal_frequency
- s1226_the_dining_philosophers
- s1227_airplane_seat_assignment_probability
- s1232_check_if_it_is_a_straight_line
- s1233_remove_sub_folders_from_the_filesystem
- s1234_replace_the_substring_for_balanced_string
- s1235_maximum_profit_in_job_scheduling
- s1237_find_positive_integer_solution_for_a_given_equation
- s1238_circular_permutation_in_binary_representation
- s1239_maximum_length_of_a_concatenated_string_with_unique_characters
- s1240_tiling_a_rectangle_with_the_fewest_squares
- s1247_minimum_swaps_to_make_strings_equal
- s1248_count_number_of_nice_subarrays
- s1249_minimum_remove_to_make_valid_parentheses
- s1250_check_if_it_is_a_good_array
- s1251_average_selling_price
- s1252_cells_with_odd_values_in_a_matrix
- s1253_reconstruct_a_2_row_binary_matrix
- s1254_number_of_closed_islands
- s1255_maximum_score_words_formed_by_letters
- s1260_shift_2d_grid
- s1261_find_elements_in_a_contaminated_binary_tree
- s1262_greatest_sum_divisible_by_three
- s1263_minimum_moves_to_move_a_box_to_their_target_location
- s1266_minimum_time_visiting_all_points
- s1267_count_servers_that_communicate
- s1268_search_suggestions_system
- s1269_number_of_ways_to_stay_in_the_same_place_after_some_steps
- s1275_find_winner_on_a_tic_tac_toe_game
- s1276_number_of_burgers_with_no_waste_of_ingredients
- s1277_count_square_submatrices_with_all_ones
- s1278_palindrome_partitioning_iii
- s1280_students_and_examinations
- s1281_subtract_the_product_and_sum_of_digits_of_an_integer
- s1282_group_the_people_given_the_group_size_they_belong_to
- s1283_find_the_smallest_divisor_given_a_threshold
- s1284_minimum_number_of_flips_to_convert_binary_matrix_to_zero_matrix
- s1286_iterator_for_combination
- s1287_element_appearing_more_than_25_in_sorted_array
- s1288_remove_covered_intervals
- s1289_minimum_falling_path_sum_ii
- s1290_convert_binary_number_in_a_linked_list_to_integer
- s1291_sequential_digits
- s1292_maximum_side_length_of_a_square_with_sum_less_than_or_equal_to_threshold
- s1293_shortest_path_in_a_grid_with_obstacles_elimination
- s1295_find_numbers_with_even_number_of_digits
- s1296_divide_array_in_sets_of_k_consecutive_numbers
- s1297_maximum_number_of_occurrences_of_a_substring
- s1298_maximum_candies_you_can_get_from_boxes
- s1299_replace_elements_with_greatest_element_on_right_side
- s1300_sum_of_mutated_array_closest_to_target
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
615 files changed
+30
-30
lines changedLines changed: 30 additions & 30 deletions
0 commit comments
Comments
(0)