forked fromjavadev/LeetCode-in-Java
- Notifications
You must be signed in to change notification settings - Fork1
File tree
1,423 files changed
+5
-5
lines changed- src.save
- main/java
- g1901_2000
- s1901_find_a_peak_element_ii
- s1903_largest_odd_number_in_string
- s1904_the_number_of_full_rounds_you_have_played
- s1905_count_sub_islands
- s1906_minimum_absolute_difference_queries
- s1907_count_salary_categories
- s1909_remove_one_element_to_make_the_array_strictly_increasing
- s1910_remove_all_occurrences_of_a_substring
- s1911_maximum_alternating_subsequence_sum
- s1912_design_movie_rental_system
- s1913_maximum_product_difference_between_two_pairs
- s1914_cyclically_rotating_a_grid
- s1915_number_of_wonderful_substrings
- s1916_count_ways_to_build_rooms_in_an_ant_colony
- s1920_build_array_from_permutation
- s1921_eliminate_maximum_number_of_monsters
- s1922_count_good_numbers
- s1923_longest_common_subpath
- s1925_count_square_sum_triples
- s1926_nearest_exit_from_entrance_in_maze
- s1927_sum_game
- s1928_minimum_cost_to_reach_destination_in_time
- s1929_concatenation_of_array
- s1930_unique_length_3_palindromic_subsequences
- s1931_painting_a_grid_with_three_different_colors
- s1932_merge_bsts_to_create_single_bst
- s1934_confirmation_rate
- s1935_maximum_number_of_words_you_can_type
- s1936_add_minimum_number_of_rungs
- s1937_maximum_number_of_points_with_cost
- s1938_maximum_genetic_difference_query
- s1941_check_if_all_characters_have_equal_number_of_occurrences
- s1942_the_number_of_the_smallest_unoccupied_chair
- s1943_describe_the_painting
- s1944_number_of_visible_people_in_a_queue
- s1945_sum_of_digits_of_string_after_convert
- s1946_largest_number_after_mutating_substring
- s1947_maximum_compatibility_score_sum
- s1948_delete_duplicate_folders_in_system
- s1952_three_divisors
- s1953_maximum_number_of_weeks_for_which_you_can_work
- s1954_minimum_garden_perimeter_to_collect_enough_apples
- s1955_count_number_of_special_subsequences
- s1957_delete_characters_to_make_fancy_string
- s1958_check_if_move_is_legal
- s1959_minimum_total_space_wasted_with_k_resizing_operations
- s1960_maximum_product_of_the_length_of_two_palindromic_substrings
- s1961_check_if_string_is_a_prefix_of_array
- s1962_remove_stones_to_minimize_the_total
- s1963_minimum_number_of_swaps_to_make_the_string_balanced
- s1964_find_the_longest_valid_obstacle_course_at_each_position
- s1965_employees_with_missing_information
- s1967_number_of_strings_that_appear_as_substrings_in_word
- s1968_array_with_elements_not_equal_to_average_of_neighbors
- s1969_minimum_non_zero_product_of_the_array_elements
- s1970_last_day_where_you_can_still_cross
- s1971_find_if_path_exists_in_graph
- s1974_minimum_time_to_type_word_using_special_typewriter
- s1975_maximum_matrix_sum
- s1976_number_of_ways_to_arrive_at_destination
- s1977_number_of_ways_to_separate_numbers
- s1978_employees_whose_manager_left_the_company
- s1979_find_greatest_common_divisor_of_array
- s1980_find_unique_binary_string
- s1981_minimize_the_difference_between_target_and_chosen_elements
- s1982_find_array_given_subset_sums
- s1984_minimum_difference_between_highest_and_lowest_of_k_scores
- s1985_find_the_kth_largest_integer_in_the_array
- s1986_minimum_number_of_work_sessions_to_finish_the_tasks
- s1987_number_of_unique_good_subsequences
- s1991_find_the_middle_index_in_array
- s1992_find_all_groups_of_farmland
- s1993_operations_on_tree
- s1994_the_number_of_good_subsets
- s1995_count_special_quadruplets
- s1996_the_number_of_weak_characters_in_the_game
- s1997_first_day_where_you_have_been_in_all_the_rooms
- s1998_gcd_sort_of_an_array
- s2000_reverse_prefix_of_word
- g2001_2100
- s2001_number_of_pairs_of_interchangeable_rectangles
- s2002_maximum_product_of_the_length_of_two_palindromic_subsequences
- s2003_smallest_missing_genetic_value_in_each_subtree
- s2006_count_number_of_pairs_with_absolute_difference_k
- s2007_find_original_array_from_doubled_array
- s2008_maximum_earnings_from_taxi
- s2009_minimum_number_of_operations_to_make_array_continuous
- s2011_final_value_of_variable_after_performing_operations
- s2012_sum_of_beauty_in_the_array
- s2013_detect_squares
- s2014_longest_subsequence_repeated_k_times
- s2016_maximum_difference_between_increasing_elements
- s2017_grid_game
- s2018_check_if_word_can_be_placed_in_crossword
- s2019_the_score_of_students_solving_math_expression
- s2022_convert_1d_array_into_2d_array
- s2023_number_of_pairs_of_strings_with_concatenation_equal_to_target
- s2024_maximize_the_confusion_of_an_exam
- s2025_maximum_number_of_ways_to_partition_an_array
- s2027_minimum_moves_to_convert_string
- s2028_find_missing_observations
- s2029_stone_game_ix
- s2030_smallest_k_length_subsequence_with_occurrences_of_a_letter
- s2032_two_out_of_three
- s2033_minimum_operations_to_make_a_uni_value_grid
- s2034_stock_price_fluctuation
- s2035_partition_array_into_two_arrays_to_minimize_sum_difference
- s2037_minimum_number_of_moves_to_seat_everyone
- s2038_remove_colored_pieces_if_both_neighbors_are_the_same_color
- s2039_the_time_when_the_network_becomes_idle
- s2040_kth_smallest_product_of_two_sorted_arrays
- s2042_check_if_numbers_are_ascending_in_a_sentence
- s2043_simple_bank_system
- s2044_count_number_of_maximum_bitwise_or_subsets
- s2045_second_minimum_time_to_reach_destination
- s2047_number_of_valid_words_in_a_sentence
- s2048_next_greater_numerically_balanced_number
- s2049_count_nodes_with_the_highest_score
- s2050_parallel_courses_iii
- s2053_kth_distinct_string_in_an_array
- s2054_two_best_non_overlapping_events
- s2055_plates_between_candles
- s2056_number_of_valid_move_combinations_on_chessboard
- s2057_smallest_index_with_equal_value
- s2058_find_the_minimum_and_maximum_number_of_nodes_between_critical_points
- s2059_minimum_operations_to_convert_number
- s2060_check_if_an_original_string_exists_given_two_encoded_strings
- s2062_count_vowel_substrings_of_a_string
- s2063_vowels_of_all_substrings
- s2064_minimized_maximum_of_products_distributed_to_any_store
- s2065_maximum_path_quality_of_a_graph
- s2068_check_whether_two_strings_are_almost_equivalent
- s2069_walking_robot_simulation_ii
- s2070_most_beautiful_item_for_each_query
- s2071_maximum_number_of_tasks_you_can_assign
- s2073_time_needed_to_buy_tickets
- s2074_reverse_nodes_in_even_length_groups
- s2075_decode_the_slanted_ciphertext
- s2076_process_restricted_friend_requests
- s2078_two_furthest_houses_with_different_colors
- s2079_watering_plants
- s2080_range_frequency_queries
- s2081_sum_of_k_mirror_numbers
- s2085_count_common_words_with_one_occurrence
- s2086_minimum_number_of_buckets_required_to_collect_rainwater_from_houses
- s2087_minimum_cost_homecoming_of_a_robot_in_a_grid
- s2088_count_fertile_pyramids_in_a_land
- s2089_find_target_indices_after_sorting_array
- s2090_k_radius_subarray_averages
- s2091_removing_minimum_and_maximum_from_array
- s2092_find_all_people_with_secret
- s2094_finding_3_digit_even_numbers
- s2095_delete_the_middle_node_of_a_linked_list
- s2096_step_by_step_directions_from_a_binary_tree_node_to_another
- s2097_valid_arrangement_of_pairs
- s2099_find_subsequence_of_length_k_with_the_largest_sum
- s2100_find_good_days_to_rob_the_bank
- g2101_2200
- s2101_detonate_the_maximum_bombs
- s2102_sequentially_ordinal_rank_tracker
- s2103_rings_and_rods
- s2104_sum_of_subarray_ranges
- s2105_watering_plants_ii
- s2106_maximum_fruits_harvested_after_at_most_k_steps
- s2108_find_first_palindromic_string_in_the_array
- s2109_adding_spaces_to_a_string
- s2110_number_of_smooth_descent_periods_of_a_stock
- s2111_minimum_operations_to_make_the_array_k_increasing
- s2114_maximum_number_of_words_found_in_sentences
- s2115_find_all_possible_recipes_from_given_supplies
- s2116_check_if_a_parentheses_string_can_be_valid
- s2117_abbreviating_the_product_of_a_range
- s2119_a_number_after_a_double_reversal
- s2120_execution_of_all_suffix_instructions_staying_in_a_grid
- s2121_intervals_between_identical_elements
- s2122_recover_the_original_array
- s2124_check_if_all_as_appears_before_all_bs
- s2125_number_of_laser_beams_in_a_bank
- s2126_destroying_asteroids
- s2127_maximum_employees_to_be_invited_to_a_meeting
- s2129_capitalize_the_title
- s2130_maximum_twin_sum_of_a_linked_list
- s2131_longest_palindrome_by_concatenating_two_letter_words
- s2132_stamping_the_grid
- s2133_check_if_every_row_and_column_contains_all_numbers
- s2134_minimum_swaps_to_group_all_1s_together_ii
- s2135_count_words_obtained_after_adding_a_letter
- s2136_earliest_possible_day_of_full_bloom
- s2138_divide_a_string_into_groups_of_size_k
- s2139_minimum_moves_to_reach_target_score
- s2140_solving_questions_with_brainpower
- s2141_maximum_running_time_of_n_computers
- s2144_minimum_cost_of_buying_candies_with_discount
- s2145_count_the_hidden_sequences
- s2146_k_highest_ranked_items_within_a_price_range
- s2147_number_of_ways_to_divide_a_long_corridor
- s2148_count_elements_with_strictly_smaller_and_greater_elements
- s2149_rearrange_array_elements_by_sign
- s2150_find_all_lonely_numbers_in_the_array
- s2151_maximum_good_people_based_on_statements
- s2154_keep_multiplying_found_values_by_two
- s2155_all_divisions_with_the_highest_score_of_a_binary_array
- s2156_find_substring_with_given_hash_value
- s2157_groups_of_strings
- s2160_minimum_sum_of_four_digit_number_after_splitting_digits
- s2161_partition_array_according_to_given_pivot
- s2162_minimum_cost_to_set_cooking_time
- s2163_minimum_difference_in_sums_after_removal_of_elements
- s2164_sort_even_and_odd_indices_independently
- s2165_smallest_value_of_the_rearranged_number
- s2166_design_bitset
- s2167_minimum_time_to_remove_all_cars_containing_illegal_goods
- s2169_count_operations_to_obtain_zero
- s2170_minimum_operations_to_make_the_array_alternating
- s2171_removing_minimum_number_of_magic_beans
- s2172_maximum_and_sum_of_array
- s2176_count_equal_and_divisible_pairs_in_an_array
- s2177_find_three_consecutive_integers_that_sum_to_a_given_number
- s2178_maximum_split_of_positive_even_integers
- s2179_count_good_triplets_in_an_array
- s2180_count_integers_with_even_digit_sum
- s2181_merge_nodes_in_between_zeros
- s2182_construct_string_with_repeat_limit
- s2183_count_array_pairs_divisible_by_k
- s2185_counting_words_with_a_given_prefix
- s2186_minimum_number_of_steps_to_make_two_strings_anagram_ii
- s2187_minimum_time_to_complete_trips
- s2188_minimum_time_to_finish_the_race
- s2190_most_frequent_number_following_key_in_an_array
- s2191_sort_the_jumbled_numbers
- s2192_all_ancestors_of_a_node_in_a_directed_acyclic_graph
- s2193_minimum_number_of_moves_to_make_palindrome
- s2194_cells_in_a_range_on_an_excel_sheet
- s2195_append_k_integers_with_minimal_sum
- s2196_create_binary_tree_from_descriptions
- s2197_replace_non_coprime_numbers_in_array
- s2200_find_all_k_distant_indices_in_an_array
- g2201_2300
- s2201_count_artifacts_that_can_be_extracted
- s2202_maximize_the_topmost_element_after_k_moves
- s2203_minimum_weighted_subgraph_with_the_required_paths
- s2206_divide_array_into_equal_pairs
- s2207_maximize_number_of_subsequences_in_a_string
- s2208_minimum_operations_to_halve_array_sum
- s2209_minimum_white_tiles_after_covering_with_carpets
- s2210_count_hills_and_valleys_in_an_array
- s2211_count_collisions_on_a_road
- s2212_maximum_points_in_an_archery_competition
- s2213_longest_substring_of_one_repeating_character
- s2215_find_the_difference_of_two_arrays
- s2216_minimum_deletions_to_make_array_beautiful
- s2217_find_palindrome_with_fixed_length
- s2218_maximum_value_of_k_coins_from_piles
- s2220_minimum_bit_flips_to_convert_number
- s2221_find_triangular_sum_of_an_array
- s2222_number_of_ways_to_select_buildings
- s2223_sum_of_scores_of_built_strings
- s2224_minimum_number_of_operations_to_convert_time
- s2225_find_players_with_zero_or_one_losses
- s2226_maximum_candies_allocated_to_k_children
- s2227_encrypt_and_decrypt_strings
- s2231_largest_number_after_digit_swaps_by_parity
- s2232_minimize_result_by_adding_parentheses_to_expression
- s2233_maximum_product_after_k_increments
- s2234_maximum_total_beauty_of_the_gardens
- s2235_add_two_integers
- s2236_root_equals_sum_of_children
- s2239_find_closest_number_to_zero
- s2240_number_of_ways_to_buy_pens_and_pencils
- s2241_design_an_atm_machine
- s2242_maximum_score_of_a_node_sequence
- s2243_calculate_digit_sum_of_a_string
- s2244_minimum_rounds_to_complete_all_tasks
- s2245_maximum_trailing_zeros_in_a_cornered_path
- s2246_longest_path_with_different_adjacent_characters
- s2248_intersection_of_multiple_arrays
- s2249_count_lattice_points_inside_a_circle
- s2250_count_number_of_rectangles_containing_each_point
- s2251_number_of_flowers_in_full_bloom
- s2255_count_prefixes_of_a_given_string
- s2256_minimum_average_difference
- s2257_count_unguarded_cells_in_the_grid
- s2258_escape_the_spreading_fire
- s2259_remove_digit_from_number_to_maximize_result
- s2260_minimum_consecutive_cards_to_pick_up
- s2261_k_divisible_elements_subarrays
- s2262_total_appeal_of_a_string
- s2264_largest_3_same_digit_number_in_string
- s2265_count_nodes_equal_to_average_of_subtree
- s2266_count_number_of_texts
- s2267_check_if_there_is_a_valid_parentheses_string_path
- s2269_find_the_k_beauty_of_a_number
- s2270_number_of_ways_to_split_array
- s2271_maximum_white_tiles_covered_by_a_carpet
- s2272_substring_with_largest_variance
- s2273_find_resultant_array_after_removing_anagrams
- s2274_maximum_consecutive_floors_without_special_floors
- s2275_largest_combination_with_bitwise_and_greater_than_zero
- s2276_count_integers_in_intervals
- s2278_percentage_of_letter_in_string
- s2279_maximum_bags_with_full_capacity_of_rocks
- s2280_minimum_lines_to_represent_a_line_chart
- s2281_sum_of_total_strength_of_wizards
- s2283_check_if_number_has_equal_digit_count_and_digit_value
- s2284_sender_with_largest_word_count
- s2285_maximum_total_importance_of_roads
- s2286_booking_concert_tickets_in_groups
- s2287_rearrange_characters_to_make_target_string
- s2288_apply_discount_to_prices
- s2289_steps_to_make_array_non_decreasing
- s2290_minimum_obstacle_removal_to_reach_corner
- s2293_min_max_game
- s2294_partition_array_such_that_maximum_difference_is_k
- s2295_replace_elements_in_an_array
- s2296_design_a_text_editor
- s2299_strong_password_checker_ii
- s2300_successful_pairs_of_spells_and_potions
- g2301_2400
- s2301_match_substring_after_replacement
- s2302_count_subarrays_with_score_less_than_k
- s2303_calculate_amount_paid_in_taxes
- s2304_minimum_path_cost_in_a_grid
- s2305_fair_distribution_of_cookies
- s2306_naming_a_company
- s2309_greatest_english_letter_in_upper_and_lower_case
- s2310_sum_of_numbers_with_units_digit_k
- s2311_longest_binary_subsequence_less_than_or_equal_to_k
- s2312_selling_pieces_of_wood
- s2315_count_asterisks
- s2316_count_unreachable_pairs_of_nodes_in_an_undirected_graph
- s2317_maximum_xor_after_operations
- s2318_number_of_distinct_roll_sequences
- s2319_check_if_matrix_is_x_matrix
- s2320_count_number_of_ways_to_place_houses
- s2321_maximum_score_of_spliced_array
- s2322_minimum_score_after_removals_on_a_tree
- s2325_decode_the_message
- s2326_spiral_matrix_iv
- s2327_number_of_people_aware_of_a_secret
- s2328_number_of_increasing_paths_in_a_grid
- s2331_evaluate_boolean_binary_tree
- s2332_the_latest_time_to_catch_a_bus
- s2333_minimum_sum_of_squared_difference
- s2334_subarray_with_elements_greater_than_varying_threshold
- s2335_minimum_amount_of_time_to_fill_cups
- s2336_smallest_number_in_infinite_set
- s2337_move_pieces_to_obtain_a_string
- s2338_count_the_number_of_ideal_arrays
- s2341_maximum_number_of_pairs_in_array
- s2342_max_sum_of_a_pair_with_equal_sum_of_digits
- s2343_query_kth_smallest_trimmed_number
- s2344_minimum_deletions_to_make_array_divisible
- s2347_best_poker_hand
- s2348_number_of_zero_filled_subarrays
- s2349_design_a_number_container_system
- s2350_shortest_impossible_sequence_of_rolls
- s2351_first_letter_to_appear_twice
- s2352_equal_row_and_column_pairs
- s2353_design_a_food_rating_system
- s2354_number_of_excellent_pairs
- s2356_number_of_unique_subjects_taught_by_each_teacher
- s2357_make_array_zero_by_subtracting_equal_amounts
- s2358_maximum_number_of_groups_entering_a_competition
- s2359_find_closest_node_to_given_two_nodes
- s2360_longest_cycle_in_a_graph
- s2363_merge_similar_items
- s2364_count_number_of_bad_pairs
- s2365_task_scheduler_ii
- s2366_minimum_replacements_to_sort_the_array
- s2367_number_of_arithmetic_triplets
- s2368_reachable_nodes_with_restrictions
- s2369_check_if_there_is_a_valid_partition_for_the_array
- s2370_longest_ideal_subsequence
- s2373_largest_local_values_in_a_matrix
- s2374_node_with_highest_edge_score
- s2375_construct_smallest_number_from_di_string
- s2376_count_special_integers
- s2379_minimum_recolors_to_get_k_consecutive_black_blocks
- s2380_time_needed_to_rearrange_a_binary_string
- s2381_shifting_letters_ii
- s2382_maximum_segment_sum_after_removals
- s2383_minimum_hours_of_training_to_win_a_competition
- s2384_largest_palindromic_number
- s2385_amount_of_time_for_binary_tree_to_be_infected
- s2386_find_the_k_sum_of_an_array
- s2389_longest_subsequence_with_limited_sum
- s2390_removing_stars_from_a_string
- s2391_minimum_amount_of_time_to_collect_garbage
- s2392_build_a_matrix_with_conditions
- s2395_find_subarrays_with_equal_sum
- s2396_strictly_palindromic_number
- s2397_maximum_rows_covered_by_columns
- s2398_maximum_number_of_robots_within_budget
- s2399_check_distances_between_same_letters
- s2400_number_of_ways_to_reach_a_position_after_exactly_k_steps
- g2401_2500
- s2401_longest_nice_subarray
- s2402_meeting_rooms_iii
- s2404_most_frequent_even_element
- s2405_optimal_partition_of_string
- s2406_divide_intervals_into_minimum_number_of_groups
- s2407_longest_increasing_subsequence_ii
- s2409_count_days_spent_together
- s2410_maximum_matching_of_players_with_trainers
- s2411_smallest_subarrays_with_maximum_bitwise_or
- s2412_minimum_money_required_before_transactions
- s2413_smallest_even_multiple
- s2414_length_of_the_longest_alphabetical_continuous_substring
- s2415_reverse_odd_levels_of_binary_tree
- s2416_sum_of_prefix_scores_of_strings
- s2418_sort_the_people
- s2419_longest_subarray_with_maximum_bitwise_and
- s2420_find_all_good_indices
- s2421_number_of_good_paths
- s2423_remove_letter_to_equalize_frequency
- s2424_longest_uploaded_prefix
- s2425_bitwise_xor_of_all_pairings
- s2426_number_of_pairs_satisfying_inequality
- s2427_number_of_common_factors
- s2428_maximum_sum_of_an_hourglass
- s2429_minimize_xor
- s2430_maximum_deletions_on_a_string
- s2432_the_employee_that_worked_on_the_longest_task
- s2433_find_the_original_array_of_prefix_xor
- s2434_using_a_robot_to_print_the_lexicographically_smallest_string
- s2435_paths_in_matrix_whose_sum_is_divisible_by_k
- s2437_number_of_valid_clock_times
- s2438_range_product_queries_of_powers
- s2439_minimize_maximum_of_array
- s2440_create_components_with_same_value
- s2441_largest_positive_integer_that_exists_with_its_negative
- s2442_count_number_of_distinct_integers_after_reverse_operations
- s2443_sum_of_number_and_its_reverse
- s2444_count_subarrays_with_fixed_bounds
- s2446_determine_if_two_events_have_conflict
- s2447_number_of_subarrays_with_gcd_equal_to_k
- s2448_minimum_cost_to_make_array_equal
- s2449_minimum_number_of_operations_to_make_arrays_similar
- s2451_odd_string_difference
- s2452_words_within_two_edits_of_dictionary
- s2453_destroy_sequential_targets
- s2454_next_greater_element_iv
- s2455_average_value_of_even_numbers_that_are_divisible_by_three
- s2456_most_popular_video_creator
- s2457_minimum_addition_to_make_integer_beautiful
- s2458_height_of_binary_tree_after_subtree_removal_queries
- s2460_apply_operations_to_an_array
- s2461_maximum_sum_of_distinct_subarrays_with_length_k
- s2462_total_cost_to_hire_k_workers
- s2463_minimum_total_distance_traveled
- s2465_number_of_distinct_averages
- s2466_count_ways_to_build_good_strings
- s2467_most_profitable_path_in_a_tree
- s2468_split_message_based_on_limit
- s2469_convert_the_temperature
- s2470_number_of_subarrays_with_lcm_equal_to_k
- s2471_minimum_number_of_operations_to_sort_a_binary_tree_by_level
- s2472_maximum_number_of_non_overlapping_palindrome_substrings
- s2475_number_of_unequal_triplets_in_array
- s2476_closest_nodes_queries_in_a_binary_search_tree
- s2477_minimum_fuel_cost_to_report_to_the_capital
- s2478_number_of_beautiful_partitions
- s2481_minimum_cuts_to_divide_a_circle
- s2482_difference_between_ones_and_zeros_in_row_and_column
- s2483_minimum_penalty_for_a_shop
- s2484_count_palindromic_subsequences
- s2485_find_the_pivot_integer
- s2486_append_characters_to_string_to_make_subsequence
- s2487_remove_nodes_from_linked_list
- s2488_count_subarrays_with_median_k
- s2490_circular_sentence
- s2491_divide_players_into_teams_of_equal_skill
- s2492_minimum_score_of_a_path_between_two_cities
- s2493_divide_nodes_into_the_maximum_number_of_groups
- s2496_maximum_value_of_a_string_in_an_array
- s2497_maximum_star_sum_of_a_graph
- s2498_frog_jump_ii
- s2499_minimum_total_cost_to_make_arrays_unequal
- s2500_delete_greatest_value_in_each_row
- test/java
- g1901_2000
- s1901_find_a_peak_element_ii
- s1903_largest_odd_number_in_string
- s1904_the_number_of_full_rounds_you_have_played
- s1905_count_sub_islands
- s1906_minimum_absolute_difference_queries
- s1907_count_salary_categories
- s1909_remove_one_element_to_make_the_array_strictly_increasing
- s1910_remove_all_occurrences_of_a_substring
- s1911_maximum_alternating_subsequence_sum
- s1912_design_movie_rental_system
- s1913_maximum_product_difference_between_two_pairs
- s1914_cyclically_rotating_a_grid
- s1915_number_of_wonderful_substrings
- s1916_count_ways_to_build_rooms_in_an_ant_colony
- s1920_build_array_from_permutation
- s1921_eliminate_maximum_number_of_monsters
- s1922_count_good_numbers
- s1923_longest_common_subpath
- s1925_count_square_sum_triples
- s1926_nearest_exit_from_entrance_in_maze
- s1927_sum_game
- s1928_minimum_cost_to_reach_destination_in_time
- s1929_concatenation_of_array
- s1930_unique_length_3_palindromic_subsequences
- s1931_painting_a_grid_with_three_different_colors
- s1932_merge_bsts_to_create_single_bst
- s1934_confirmation_rate
- s1935_maximum_number_of_words_you_can_type
- s1936_add_minimum_number_of_rungs
- s1937_maximum_number_of_points_with_cost
- s1938_maximum_genetic_difference_query
- s1941_check_if_all_characters_have_equal_number_of_occurrences
- s1942_the_number_of_the_smallest_unoccupied_chair
- s1943_describe_the_painting
- s1944_number_of_visible_people_in_a_queue
- s1945_sum_of_digits_of_string_after_convert
- s1946_largest_number_after_mutating_substring
- s1947_maximum_compatibility_score_sum
- s1948_delete_duplicate_folders_in_system
- s1952_three_divisors
- s1953_maximum_number_of_weeks_for_which_you_can_work
- s1954_minimum_garden_perimeter_to_collect_enough_apples
- s1955_count_number_of_special_subsequences
- s1957_delete_characters_to_make_fancy_string
- s1958_check_if_move_is_legal
- s1959_minimum_total_space_wasted_with_k_resizing_operations
- s1960_maximum_product_of_the_length_of_two_palindromic_substrings
- s1961_check_if_string_is_a_prefix_of_array
- s1962_remove_stones_to_minimize_the_total
- s1963_minimum_number_of_swaps_to_make_the_string_balanced
- s1964_find_the_longest_valid_obstacle_course_at_each_position
- s1965_employees_with_missing_information
- s1967_number_of_strings_that_appear_as_substrings_in_word
- s1968_array_with_elements_not_equal_to_average_of_neighbors
- s1969_minimum_non_zero_product_of_the_array_elements
- s1970_last_day_where_you_can_still_cross
- s1971_find_if_path_exists_in_graph
- s1974_minimum_time_to_type_word_using_special_typewriter
- s1975_maximum_matrix_sum
- s1976_number_of_ways_to_arrive_at_destination
- s1977_number_of_ways_to_separate_numbers
- s1978_employees_whose_manager_left_the_company
- s1979_find_greatest_common_divisor_of_array
- s1980_find_unique_binary_string
- s1981_minimize_the_difference_between_target_and_chosen_elements
- s1982_find_array_given_subset_sums
- s1984_minimum_difference_between_highest_and_lowest_of_k_scores
- s1985_find_the_kth_largest_integer_in_the_array
- s1986_minimum_number_of_work_sessions_to_finish_the_tasks
- s1987_number_of_unique_good_subsequences
- s1991_find_the_middle_index_in_array
- s1992_find_all_groups_of_farmland
- s1993_operations_on_tree
- s1994_the_number_of_good_subsets
- s1995_count_special_quadruplets
- s1996_the_number_of_weak_characters_in_the_game
- s1997_first_day_where_you_have_been_in_all_the_rooms
- s1998_gcd_sort_of_an_array
- s2000_reverse_prefix_of_word
- g2001_2100
- s2001_number_of_pairs_of_interchangeable_rectangles
- s2002_maximum_product_of_the_length_of_two_palindromic_subsequences
- s2003_smallest_missing_genetic_value_in_each_subtree
- s2006_count_number_of_pairs_with_absolute_difference_k
- s2007_find_original_array_from_doubled_array
- s2008_maximum_earnings_from_taxi
- s2009_minimum_number_of_operations_to_make_array_continuous
- s2011_final_value_of_variable_after_performing_operations
- s2012_sum_of_beauty_in_the_array
- s2013_detect_squares
- s2014_longest_subsequence_repeated_k_times
- s2016_maximum_difference_between_increasing_elements
- s2017_grid_game
- s2018_check_if_word_can_be_placed_in_crossword
- s2019_the_score_of_students_solving_math_expression
- s2022_convert_1d_array_into_2d_array
- s2023_number_of_pairs_of_strings_with_concatenation_equal_to_target
- s2024_maximize_the_confusion_of_an_exam
- s2025_maximum_number_of_ways_to_partition_an_array
- s2027_minimum_moves_to_convert_string
- s2028_find_missing_observations
- s2029_stone_game_ix
- s2030_smallest_k_length_subsequence_with_occurrences_of_a_letter
- s2032_two_out_of_three
- s2033_minimum_operations_to_make_a_uni_value_grid
- s2034_stock_price_fluctuation
- s2035_partition_array_into_two_arrays_to_minimize_sum_difference
- s2037_minimum_number_of_moves_to_seat_everyone
- s2038_remove_colored_pieces_if_both_neighbors_are_the_same_color
- s2039_the_time_when_the_network_becomes_idle
- s2040_kth_smallest_product_of_two_sorted_arrays
- s2042_check_if_numbers_are_ascending_in_a_sentence
- s2043_simple_bank_system
- s2044_count_number_of_maximum_bitwise_or_subsets
- s2045_second_minimum_time_to_reach_destination
- s2047_number_of_valid_words_in_a_sentence
- s2048_next_greater_numerically_balanced_number
- s2049_count_nodes_with_the_highest_score
- s2050_parallel_courses_iii
- s2053_kth_distinct_string_in_an_array
- s2054_two_best_non_overlapping_events
- s2055_plates_between_candles
- s2056_number_of_valid_move_combinations_on_chessboard
- s2057_smallest_index_with_equal_value
- s2058_find_the_minimum_and_maximum_number_of_nodes_between_critical_points
- s2059_minimum_operations_to_convert_number
- s2060_check_if_an_original_string_exists_given_two_encoded_strings
- s2062_count_vowel_substrings_of_a_string
- s2063_vowels_of_all_substrings
- s2064_minimized_maximum_of_products_distributed_to_any_store
- s2065_maximum_path_quality_of_a_graph
- s2068_check_whether_two_strings_are_almost_equivalent
- s2069_walking_robot_simulation_ii
- s2070_most_beautiful_item_for_each_query
- s2071_maximum_number_of_tasks_you_can_assign
- s2073_time_needed_to_buy_tickets
- s2074_reverse_nodes_in_even_length_groups
- s2075_decode_the_slanted_ciphertext
- s2076_process_restricted_friend_requests
- s2078_two_furthest_houses_with_different_colors
- s2079_watering_plants
- s2080_range_frequency_queries
- s2081_sum_of_k_mirror_numbers
- s2085_count_common_words_with_one_occurrence
- s2086_minimum_number_of_buckets_required_to_collect_rainwater_from_houses
- s2087_minimum_cost_homecoming_of_a_robot_in_a_grid
- s2088_count_fertile_pyramids_in_a_land
- s2089_find_target_indices_after_sorting_array
- s2090_k_radius_subarray_averages
- s2091_removing_minimum_and_maximum_from_array
- s2092_find_all_people_with_secret
- s2094_finding_3_digit_even_numbers
- s2095_delete_the_middle_node_of_a_linked_list
- s2096_step_by_step_directions_from_a_binary_tree_node_to_another
- s2097_valid_arrangement_of_pairs
- s2099_find_subsequence_of_length_k_with_the_largest_sum
- s2100_find_good_days_to_rob_the_bank
- g2101_2200
- s2101_detonate_the_maximum_bombs
- s2102_sequentially_ordinal_rank_tracker
- s2103_rings_and_rods
- s2104_sum_of_subarray_ranges
- s2105_watering_plants_ii
- s2106_maximum_fruits_harvested_after_at_most_k_steps
- s2108_find_first_palindromic_string_in_the_array
- s2109_adding_spaces_to_a_string
- s2110_number_of_smooth_descent_periods_of_a_stock
- s2111_minimum_operations_to_make_the_array_k_increasing
- s2114_maximum_number_of_words_found_in_sentences
- s2115_find_all_possible_recipes_from_given_supplies
- s2116_check_if_a_parentheses_string_can_be_valid
- s2117_abbreviating_the_product_of_a_range
- s2119_a_number_after_a_double_reversal
- s2120_execution_of_all_suffix_instructions_staying_in_a_grid
- s2121_intervals_between_identical_elements
- s2122_recover_the_original_array
- s2124_check_if_all_as_appears_before_all_bs
- s2125_number_of_laser_beams_in_a_bank
- s2126_destroying_asteroids
- s2127_maximum_employees_to_be_invited_to_a_meeting
- s2129_capitalize_the_title
- s2130_maximum_twin_sum_of_a_linked_list
- s2131_longest_palindrome_by_concatenating_two_letter_words
- s2132_stamping_the_grid
- s2133_check_if_every_row_and_column_contains_all_numbers
- s2134_minimum_swaps_to_group_all_1s_together_ii
- s2135_count_words_obtained_after_adding_a_letter
- s2136_earliest_possible_day_of_full_bloom
- s2138_divide_a_string_into_groups_of_size_k
- s2139_minimum_moves_to_reach_target_score
- s2140_solving_questions_with_brainpower
- s2141_maximum_running_time_of_n_computers
- s2144_minimum_cost_of_buying_candies_with_discount
- s2145_count_the_hidden_sequences
- s2146_k_highest_ranked_items_within_a_price_range
- s2147_number_of_ways_to_divide_a_long_corridor
- s2148_count_elements_with_strictly_smaller_and_greater_elements
- s2149_rearrange_array_elements_by_sign
- s2150_find_all_lonely_numbers_in_the_array
- s2151_maximum_good_people_based_on_statements
- s2154_keep_multiplying_found_values_by_two
- s2155_all_divisions_with_the_highest_score_of_a_binary_array
- s2156_find_substring_with_given_hash_value
- s2157_groups_of_strings
- s2160_minimum_sum_of_four_digit_number_after_splitting_digits
- s2161_partition_array_according_to_given_pivot
- s2162_minimum_cost_to_set_cooking_time
- s2163_minimum_difference_in_sums_after_removal_of_elements
- s2164_sort_even_and_odd_indices_independently
- s2165_smallest_value_of_the_rearranged_number
- s2166_design_bitset
- s2167_minimum_time_to_remove_all_cars_containing_illegal_goods
- s2169_count_operations_to_obtain_zero
- s2170_minimum_operations_to_make_the_array_alternating
- s2171_removing_minimum_number_of_magic_beans
- s2172_maximum_and_sum_of_array
- s2176_count_equal_and_divisible_pairs_in_an_array
- s2177_find_three_consecutive_integers_that_sum_to_a_given_number
- s2178_maximum_split_of_positive_even_integers
- s2179_count_good_triplets_in_an_array
- s2180_count_integers_with_even_digit_sum
- s2181_merge_nodes_in_between_zeros
- s2182_construct_string_with_repeat_limit
- s2183_count_array_pairs_divisible_by_k
- s2185_counting_words_with_a_given_prefix
- s2186_minimum_number_of_steps_to_make_two_strings_anagram_ii
- s2187_minimum_time_to_complete_trips
- s2188_minimum_time_to_finish_the_race
- s2190_most_frequent_number_following_key_in_an_array
- s2191_sort_the_jumbled_numbers
- s2192_all_ancestors_of_a_node_in_a_directed_acyclic_graph
- s2193_minimum_number_of_moves_to_make_palindrome
- s2194_cells_in_a_range_on_an_excel_sheet
- s2195_append_k_integers_with_minimal_sum
- s2196_create_binary_tree_from_descriptions
- s2197_replace_non_coprime_numbers_in_array
- s2200_find_all_k_distant_indices_in_an_array
- g2201_2300
- s2201_count_artifacts_that_can_be_extracted
- s2202_maximize_the_topmost_element_after_k_moves
- s2203_minimum_weighted_subgraph_with_the_required_paths
- s2206_divide_array_into_equal_pairs
- s2207_maximize_number_of_subsequences_in_a_string
- s2208_minimum_operations_to_halve_array_sum
- s2209_minimum_white_tiles_after_covering_with_carpets
- s2210_count_hills_and_valleys_in_an_array
- s2211_count_collisions_on_a_road
- s2212_maximum_points_in_an_archery_competition
- s2213_longest_substring_of_one_repeating_character
- s2215_find_the_difference_of_two_arrays
- s2216_minimum_deletions_to_make_array_beautiful
- s2217_find_palindrome_with_fixed_length
- s2218_maximum_value_of_k_coins_from_piles
- s2220_minimum_bit_flips_to_convert_number
- s2221_find_triangular_sum_of_an_array
- s2222_number_of_ways_to_select_buildings
- s2223_sum_of_scores_of_built_strings
- s2224_minimum_number_of_operations_to_convert_time
- s2225_find_players_with_zero_or_one_losses
- s2226_maximum_candies_allocated_to_k_children
- s2227_encrypt_and_decrypt_strings
- s2231_largest_number_after_digit_swaps_by_parity
- s2232_minimize_result_by_adding_parentheses_to_expression
- s2233_maximum_product_after_k_increments
- s2234_maximum_total_beauty_of_the_gardens
- s2235_add_two_integers
- s2236_root_equals_sum_of_children
- s2239_find_closest_number_to_zero
- s2240_number_of_ways_to_buy_pens_and_pencils
- s2241_design_an_atm_machine
- s2242_maximum_score_of_a_node_sequence
- s2243_calculate_digit_sum_of_a_string
- s2244_minimum_rounds_to_complete_all_tasks
- s2245_maximum_trailing_zeros_in_a_cornered_path
- s2246_longest_path_with_different_adjacent_characters
- s2248_intersection_of_multiple_arrays
- s2249_count_lattice_points_inside_a_circle
- s2250_count_number_of_rectangles_containing_each_point
- s2251_number_of_flowers_in_full_bloom
- s2255_count_prefixes_of_a_given_string
- s2256_minimum_average_difference
- s2257_count_unguarded_cells_in_the_grid
- s2258_escape_the_spreading_fire
- s2259_remove_digit_from_number_to_maximize_result
- s2260_minimum_consecutive_cards_to_pick_up
- s2261_k_divisible_elements_subarrays
- s2262_total_appeal_of_a_string
- s2264_largest_3_same_digit_number_in_string
- s2265_count_nodes_equal_to_average_of_subtree
- s2266_count_number_of_texts
- s2267_check_if_there_is_a_valid_parentheses_string_path
- s2269_find_the_k_beauty_of_a_number
- s2270_number_of_ways_to_split_array
- s2271_maximum_white_tiles_covered_by_a_carpet
- s2272_substring_with_largest_variance
- s2273_find_resultant_array_after_removing_anagrams
- s2274_maximum_consecutive_floors_without_special_floors
- s2275_largest_combination_with_bitwise_and_greater_than_zero
- s2276_count_integers_in_intervals
- s2278_percentage_of_letter_in_string
- s2279_maximum_bags_with_full_capacity_of_rocks
- s2280_minimum_lines_to_represent_a_line_chart
- s2281_sum_of_total_strength_of_wizards
- s2283_check_if_number_has_equal_digit_count_and_digit_value
- s2284_sender_with_largest_word_count
- s2285_maximum_total_importance_of_roads
- s2286_booking_concert_tickets_in_groups
- s2287_rearrange_characters_to_make_target_string
- s2288_apply_discount_to_prices
- s2289_steps_to_make_array_non_decreasing
- s2290_minimum_obstacle_removal_to_reach_corner
- s2293_min_max_game
- s2294_partition_array_such_that_maximum_difference_is_k
- s2295_replace_elements_in_an_array
- s2296_design_a_text_editor
- s2299_strong_password_checker_ii
- s2300_successful_pairs_of_spells_and_potions
- g2301_2400
- s2301_match_substring_after_replacement
- s2302_count_subarrays_with_score_less_than_k
- s2303_calculate_amount_paid_in_taxes
- s2304_minimum_path_cost_in_a_grid
- s2305_fair_distribution_of_cookies
- s2306_naming_a_company
- s2309_greatest_english_letter_in_upper_and_lower_case
- s2310_sum_of_numbers_with_units_digit_k
- s2311_longest_binary_subsequence_less_than_or_equal_to_k
- s2312_selling_pieces_of_wood
- s2315_count_asterisks
- s2316_count_unreachable_pairs_of_nodes_in_an_undirected_graph
- s2317_maximum_xor_after_operations
- s2318_number_of_distinct_roll_sequences
- s2319_check_if_matrix_is_x_matrix
- s2320_count_number_of_ways_to_place_houses
- s2321_maximum_score_of_spliced_array
- s2322_minimum_score_after_removals_on_a_tree
- s2325_decode_the_message
- s2326_spiral_matrix_iv
- s2327_number_of_people_aware_of_a_secret
- s2328_number_of_increasing_paths_in_a_grid
- s2331_evaluate_boolean_binary_tree
- s2332_the_latest_time_to_catch_a_bus
- s2333_minimum_sum_of_squared_difference
- s2334_subarray_with_elements_greater_than_varying_threshold
- s2335_minimum_amount_of_time_to_fill_cups
- s2336_smallest_number_in_infinite_set
- s2337_move_pieces_to_obtain_a_string
- s2338_count_the_number_of_ideal_arrays
- s2341_maximum_number_of_pairs_in_array
- s2342_max_sum_of_a_pair_with_equal_sum_of_digits
- s2343_query_kth_smallest_trimmed_number
- s2344_minimum_deletions_to_make_array_divisible
- s2347_best_poker_hand
- s2348_number_of_zero_filled_subarrays
- s2349_design_a_number_container_system
- s2350_shortest_impossible_sequence_of_rolls
- s2351_first_letter_to_appear_twice
- s2352_equal_row_and_column_pairs
- s2353_design_a_food_rating_system
- s2354_number_of_excellent_pairs
- s2356_number_of_unique_subjects_taught_by_each_teacher
- s2357_make_array_zero_by_subtracting_equal_amounts
- s2358_maximum_number_of_groups_entering_a_competition
- s2359_find_closest_node_to_given_two_nodes
- s2360_longest_cycle_in_a_graph
- s2363_merge_similar_items
- s2364_count_number_of_bad_pairs
- s2365_task_scheduler_ii
- s2366_minimum_replacements_to_sort_the_array
- s2367_number_of_arithmetic_triplets
- s2368_reachable_nodes_with_restrictions
- s2369_check_if_there_is_a_valid_partition_for_the_array
- s2370_longest_ideal_subsequence
- s2373_largest_local_values_in_a_matrix
- s2374_node_with_highest_edge_score
- s2375_construct_smallest_number_from_di_string
- s2376_count_special_integers
- s2379_minimum_recolors_to_get_k_consecutive_black_blocks
- s2380_time_needed_to_rearrange_a_binary_string
- s2381_shifting_letters_ii
- s2382_maximum_segment_sum_after_removals
- s2383_minimum_hours_of_training_to_win_a_competition
- s2384_largest_palindromic_number
- s2385_amount_of_time_for_binary_tree_to_be_infected
- s2386_find_the_k_sum_of_an_array
- s2389_longest_subsequence_with_limited_sum
- s2390_removing_stars_from_a_string
- s2391_minimum_amount_of_time_to_collect_garbage
- s2392_build_a_matrix_with_conditions
- s2395_find_subarrays_with_equal_sum
- s2396_strictly_palindromic_number
- s2397_maximum_rows_covered_by_columns
- s2398_maximum_number_of_robots_within_budget
- s2399_check_distances_between_same_letters
- s2400_number_of_ways_to_reach_a_position_after_exactly_k_steps
- g2401_2500
- s2401_longest_nice_subarray
- s2402_meeting_rooms_iii
- s2404_most_frequent_even_element
- s2405_optimal_partition_of_string
- s2406_divide_intervals_into_minimum_number_of_groups
- s2407_longest_increasing_subsequence_ii
- s2409_count_days_spent_together
- s2410_maximum_matching_of_players_with_trainers
- s2411_smallest_subarrays_with_maximum_bitwise_or
- s2412_minimum_money_required_before_transactions
- s2413_smallest_even_multiple
- s2414_length_of_the_longest_alphabetical_continuous_substring
- s2415_reverse_odd_levels_of_binary_tree
- s2416_sum_of_prefix_scores_of_strings
- s2418_sort_the_people
- s2419_longest_subarray_with_maximum_bitwise_and
- s2420_find_all_good_indices
- s2421_number_of_good_paths
- s2423_remove_letter_to_equalize_frequency
- s2424_longest_uploaded_prefix
- s2425_bitwise_xor_of_all_pairings
- s2426_number_of_pairs_satisfying_inequality
- s2427_number_of_common_factors
- s2428_maximum_sum_of_an_hourglass
- s2429_minimize_xor
- s2430_maximum_deletions_on_a_string
- s2432_the_employee_that_worked_on_the_longest_task
- s2433_find_the_original_array_of_prefix_xor
- s2434_using_a_robot_to_print_the_lexicographically_smallest_string
- s2435_paths_in_matrix_whose_sum_is_divisible_by_k
- s2437_number_of_valid_clock_times
- s2438_range_product_queries_of_powers
- s2439_minimize_maximum_of_array
- s2440_create_components_with_same_value
- s2441_largest_positive_integer_that_exists_with_its_negative
- s2442_count_number_of_distinct_integers_after_reverse_operations
- s2443_sum_of_number_and_its_reverse
- s2444_count_subarrays_with_fixed_bounds
- s2446_determine_if_two_events_have_conflict
- s2447_number_of_subarrays_with_gcd_equal_to_k
- s2448_minimum_cost_to_make_array_equal
- s2449_minimum_number_of_operations_to_make_arrays_similar
- s2451_odd_string_difference
- s2452_words_within_two_edits_of_dictionary
- s2453_destroy_sequential_targets
- s2454_next_greater_element_iv
- s2455_average_value_of_even_numbers_that_are_divisible_by_three
- s2456_most_popular_video_creator
- s2457_minimum_addition_to_make_integer_beautiful
- s2458_height_of_binary_tree_after_subtree_removal_queries
- s2460_apply_operations_to_an_array
- s2461_maximum_sum_of_distinct_subarrays_with_length_k
- s2462_total_cost_to_hire_k_workers
- s2463_minimum_total_distance_traveled
- s2465_number_of_distinct_averages
- s2466_count_ways_to_build_good_strings
- s2467_most_profitable_path_in_a_tree
- s2468_split_message_based_on_limit
- s2469_convert_the_temperature
- s2470_number_of_subarrays_with_lcm_equal_to_k
- s2471_minimum_number_of_operations_to_sort_a_binary_tree_by_level
- s2472_maximum_number_of_non_overlapping_palindrome_substrings
- s2475_number_of_unequal_triplets_in_array
- s2476_closest_nodes_queries_in_a_binary_search_tree
- s2477_minimum_fuel_cost_to_report_to_the_capital
- s2478_number_of_beautiful_partitions
- s2481_minimum_cuts_to_divide_a_circle
- s2482_difference_between_ones_and_zeros_in_row_and_column
- s2483_minimum_penalty_for_a_shop
- s2484_count_palindromic_subsequences
- s2485_find_the_pivot_integer
- s2486_append_characters_to_string_to_make_subsequence
- s2487_remove_nodes_from_linked_list
- s2488_count_subarrays_with_median_k
- s2490_circular_sentence
- s2491_divide_players_into_teams_of_equal_skill
- s2492_minimum_score_of_a_path_between_two_cities
- s2493_divide_nodes_into_the_maximum_number_of_groups
- s2496_maximum_value_of_a_string_in_an_array
- s2497_maximum_star_sum_of_a_graph
- s2498_frog_jump_ii
- s2499_minimum_total_cost_to_make_arrays_unequal
- s2500_delete_greatest_value_in_each_row
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
1,423 files changed
+5
-5
lines changedLines changed: 5 additions & 5 deletions
0 commit comments
Comments
(0)