File tree
189 files changed
+17182
-0
lines changed- src/main/kotlin
- g1801_1900
- s1801_number_of_orders_in_the_backlog
- s1802_maximum_value_at_a_given_index_in_a_bounded_array
- s1803_count_pairs_with_xor_in_a_range
- s1805_number_of_different_integers_in_a_string
- s1806_minimum_number_of_operations_to_reinitialize_a_permutation
- s1807_evaluate_the_bracket_pairs_of_a_string
- s1808_maximize_number_of_nice_divisors
- s1812_determine_color_of_a_chessboard_square
- s1813_sentence_similarity_iii
- s1814_count_nice_pairs_in_an_array
- s1815_maximum_number_of_groups_getting_fresh_donuts
- s1816_truncate_sentence
- s1817_finding_the_users_active_minutes
- s1818_minimum_absolute_sum_difference
- s1819_number_of_different_subsequences_gcds
- s1822_sign_of_the_product_of_an_array
- s1823_find_the_winner_of_the_circular_game
- s1824_minimum_sideway_jumps
- s1825_finding_mk_average
- s1827_minimum_operations_to_make_the_array_increasing
- s1828_queries_on_number_of_points_inside_a_circle
- s1829_maximum_xor_for_each_query
- s1830_minimum_number_of_operations_to_make_string_sorted
- s1832_check_if_the_sentence_is_pangram
- s1833_maximum_ice_cream_bars
- s1834_single_threaded_cpu
- s1835_find_xor_sum_of_all_pairs_bitwise_and
- s1837_sum_of_digits_in_base_k
- s1838_frequency_of_the_most_frequent_element
- s1839_longest_substring_of_all_vowels_in_order
- s1840_maximum_building_height
- s1844_replace_all_digits_with_characters
- s1845_seat_reservation_manager
- s1846_maximum_element_after_decreasing_and_rearranging
- s1847_closest_room
- s1848_minimum_distance_to_the_target_element
- s1849_splitting_a_string_into_descending_consecutive_values
- s1850_minimum_adjacent_swaps_to_reach_the_kth_smallest_number
- s1851_minimum_interval_to_include_each_query
- s1854_maximum_population_year
- s1855_maximum_distance_between_a_pair_of_values
- s1856_maximum_subarray_min_product
- s1857_largest_color_value_in_a_directed_graph
- s1859_sorting_the_sentence
- s1860_incremental_memory_leak
- s1861_rotating_the_box
- s1862_sum_of_floored_pairs
- s1863_sum_of_all_subset_xor_totals
- s1864_minimum_number_of_swaps_to_make_the_binary_string_alternating
- s1865_finding_pairs_with_a_certain_sum
- s1866_number_of_ways_to_rearrange_sticks_with_k_sticks_visible
- s1869_longer_contiguous_segments_of_ones_than_zeros
- s1870_minimum_speed_to_arrive_on_time
- s1871_jump_game_vii
- s1872_stone_game_viii
- s1873_calculate_special_bonus
- s1876_substrings_of_size_three_with_distinct_characters
- s1877_minimize_maximum_pair_sum_in_array
- s1878_get_biggest_three_rhombus_sums_in_a_grid
- s1879_minimum_xor_sum_of_two_arrays
- s1880_check_if_word_equals_summation_of_two_words
- s1881_maximum_value_after_insertion
- s1882_process_tasks_using_servers
- s1883_minimum_skips_to_arrive_at_meeting_on_time
- s1884_egg_drop_with_2_eggs_and_n_floors
- s1886_determine_whether_matrix_can_be_obtained_by_rotation
- s1887_reduction_operations_to_make_the_array_elements_equal
- s1888_minimum_number_of_flips_to_make_the_binary_string_alternating
- s1889_minimum_space_wasted_from_packaging
- s1890_the_latest_login_in_2020
- s1893_check_if_all_the_integers_in_a_range_are_covered
- s1894_find_the_student_that_will_replace_the_chalk
- s1895_largest_magic_square
- s1896_minimum_cost_to_change_the_final_value_of_expression
- s1897_redistribute_characters_to_make_all_strings_equal
- s1898_maximum_number_of_removable_characters
- s1899_merge_triplets_to_form_target_triplet
- s1900_the_earliest_and_latest_rounds_where_players_compete
- 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
- 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
- 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
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
189 files changed
+17182
-0
lines changedLarge diffs are not rendered by default.
Lines changed: 120 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + |
Lines changed: 65 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + |
Lines changed: 115 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + |
Lines changed: 86 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + |
0 commit comments