problemscpp
A collection of my answers to algorithm problems in c++.
类索引
A
|
B
|
C
|
D
|
E
|
F
|
H
|
I
|
L
|
M
|
N
|
P
|
R
|
S
|
T
|
U
A
acwing1
(
acwing
)
acwing1443
(
acwing
)
acwing1460
(
acwing
)
acwing1471
(
acwing
)
acwing1660
(
acwing::acwing1660
)
acwing1672
(
acwing
)
acwing1684
(
acwing
)
acwing1696
(
acwing
)
acwing1715
(
acwing
)
acwing1726
(
acwing
)
acwing1738
(
acwing
)
acwing1750
(
acwing
)
acwing1762
(
acwing
)
acwing1776
(
acwing
)
acwing1789
(
acwing
)
acwing1801
(
acwing
)
acwing1813
(
acwing
)
acwing1826
(
acwing::acwing1826
)
acwing1843
(
acwing
)
acwing1855
(
acwing
)
acwing1875
(
acwing
)
acwing1884
(
acwing
)
acwing1904
(
acwing
)
acwing1913
(
acwing
)
acwing1922
(
acwing
)
acwing1934
(
acwing
)
acwing1945
(
acwing
)
acwing1952
(
acwing
)
acwing1960
(
acwing
)
acwing1969
(
acwing
)
acwing1978
(
acwing::acwing1978
)
acwing1987
(
acwing
)
acwing1996
(
acwing
)
acwing2005
(
acwing
)
acwing2014
(
acwing
)
acwing2019
(
acwing::acwing2019
)
acwing2041
(
acwing
)
acwing2058
(
acwing
)
acwing2060
(
acwing::acwing2060
)
acwing3346
(
acwing
)
acwing3347
(
acwing
)
acwing3412
(
acwing
)
acwing4200
(
acwing
)
acwing4201
(
acwing
)
acwing4203
(
acwing
)
acwing4204
(
acwing
)
acwing4206
(
acwing
)
acwing4207
(
acwing
)
acwing4208
(
acwing::acwing4208
)
acwing4209
(
acwing
)
acwing4210
(
acwing
)
acwing4211
(
acwing
)
acwing4212
(
acwing
)
acwing4213
(
acwing
)
acwing4214
(
acwing
)
acwing4215
(
acwing
)
acwing4216
(
acwing
)
acwing4217
(
acwing
)
acwing4296
(
acwing
)
acwing4297
(
acwing
)
acwing4298
(
acwing
)
acwing4299
(
acwing
)
acwing4300
(
acwing
)
acwing4301
(
acwing
)
acwing4302
(
acwing
)
acwing4303
(
acwing
)
acwing4304
(
acwing
)
acwing4305
(
acwing
)
acwing4306
(
acwing
)
acwing4307
(
acwing
)
acwing4308
(
acwing
)
acwing4309
(
acwing
)
acwing4310
(
acwing::acwing4310
)
acwing4311
(
acwing
)
acwing604
(
acwing
)
acwing605
(
acwing
)
acwing606
(
acwing
)
acwing607
(
acwing
)
acwing608
(
acwing
)
acwing609
(
acwing
)
acwing610
(
acwing
)
acwing611
(
acwing
)
acwing612
(
acwing
)
acwing613
(
acwing
)
acwing614
(
acwing
)
acwing615
(
acwing
)
acwing616
(
acwing
)
acwing617
(
acwing
)
acwing618
(
acwing
)
acwing633
(
acwing
)
acwing653
(
acwing
)
acwing654
(
acwing
)
acwing655
(
acwing
)
acwing656
(
acwing
)
acwing657
(
acwing
)
acwing658
(
acwing
)
acwing659
(
acwing
)
acwing660
(
acwing
)
acwing661
(
acwing
)
acwing662
(
acwing
)
acwing664
(
acwing
)
acwing665
(
acwing
)
acwing666
(
acwing
)
acwing667
(
acwing
)
acwing668
(
acwing
)
acwing669
(
acwing
)
acwing670
(
acwing
)
acwing671
(
acwing
)
acwing672
(
acwing
)
acwing708
(
acwing
)
acwing709
(
acwing
)
acwing710
(
acwing
)
acwing711
(
acwing
)
acwing712
(
acwing
)
acwing713
(
acwing
)
acwing714
(
acwing
)
acwing715
(
acwing
)
acwing716
(
acwing
)
acwing717
(
acwing
)
acwing718
(
acwing
)
acwing719
(
acwing
)
acwing720
(
acwing
)
acwing721
(
acwing
)
acwing722
(
acwing
)
acwing723
(
acwing
)
acwing724
(
acwing
)
acwing725
(
acwing
)
acwing726
(
acwing
)
acwing727
(
acwing
)
acwing737
(
acwing
)
acwing738
(
acwing
)
acwing739
(
acwing
)
acwing740
(
acwing
)
acwing741
(
acwing
)
acwing742
(
acwing
)
acwing743
(
acwing
)
acwing744
(
acwing
)
acwing745
(
acwing
)
acwing746
(
acwing
)
acwing747
(
acwing
)
acwing748
(
acwing
)
acwing749
(
acwing
)
acwing750
(
acwing
)
acwing751
(
acwing
)
acwing752
(
acwing
)
acwing753
(
acwing
)
acwing754
(
acwing
)
acwing755
(
acwing
)
acwing756
(
acwing
)
acwing760
(
acwing
)
acwing761
(
acwing
)
acwing762
(
acwing
)
acwing763
(
acwing
)
acwing764
(
acwing
)
acwing765
(
acwing
)
acwing766
(
acwing
)
acwing767
(
acwing
)
acwing768
(
acwing
)
acwing769
(
acwing
)
acwing770
(
acwing
)
acwing771
(
acwing
)
acwing772
(
acwing
)
acwing773
(
acwing
)
acwing774
(
acwing
)
acwing775
(
acwing
)
acwing776
(
acwing
)
acwing777
(
acwing
)
acwing778
(
acwing
)
acwing779
(
acwing
)
acwing804
(
acwing
)
acwing805
(
acwing
)
acwing806
(
acwing
)
acwing807
(
acwing
)
acwing808
(
acwing
)
acwing809
(
acwing
)
acwing810
(
acwing
)
acwing811
(
acwing
)
acwing812
(
acwing
)
acwing813
(
acwing
)
acwing814
(
acwing
)
acwing815
(
acwing
)
acwing816
(
acwing
)
acwing817
(
acwing
)
acwing818
(
acwing
)
acwing819
(
acwing
)
acwing820
(
acwing
)
acwing821
(
acwing
)
acwing822
(
acwing
)
acwing823
(
acwing
)
acwing862
(
acwing
)
AllOne
(
leetcode::all_oone_data_structure
)
B
Bank
(
leetcode::simple_bank_system
)
bi
(
pat::a::a1024
)
BigInt
Bitset
(
leetcode::design_bitset
)
C
Chtholly
(
leetcode::range_module
)
cmp
(
leetcode::sort_the_jumbled_numbers
)
cmpcol
(
acwing::acwing1826
)
cmprow
(
acwing::acwing1826
)
Codec
(
leetcode::serialize_and_deserialize_binary_tree
)
comp
(
acwing::acwing849
)
comp
(
pat::a::a1003
)
comp
(
pat::b::b1100
)
comp_sale
(
pat::b::b1102
)
comp_total
(
pat::b::b1102
)
Compare
(
acwing::acwing149
)
cow
(
acwing::acwing1660
)
cow
(
acwing::acwing3370
)
customer
(
pat::a::a1016
)
customer
(
pat::a::a1017
)
customer_comp_p
(
pat::a::a1017
)
D
DetectSquares
(
leetcode::detect_squares
)
E
edge
(
acwing::acwing859
)
Encrypter
(
leetcode::encrypt_and_decrypt_strings
)
event
(
leetcode::find_servers_that_handled_most_number_of_requests
)
F
FenwickTree
(
leetcode::count_good_triplets_in_an_array
)
Fraction
frame
(
leetcode::shortest_path_to_get_all_keys
)
frame
(
pat::a::a1018
)
frame_cmp
(
pat::a::a1018
)
FriendTreeNode
(
leetcode::convert_bst_to_greater_tree
)
H
hash
(
acwing::acwing845
)
huff_tree
(
acwing::acwing149
)
I
item
(
leetcode::k_highest_ranked_items_within_a_price_range
)
L
LFUCache
(
leetcode::lfu_cache
)
ListNode
(
acwing::acwing3757
)
ListNode
(
acwing
)
ListNode
(
leetcode
)
LRUCache
(
leetcode::lru_cache
)
M
Matrix
msg
(
leetcode::maximum_good_people_based_on_statements
)
mycmp
(
leetcode::minimum_cost_to_make_at_least_one_valid_path_in_a_grid
)
myeq
(
leetcode::house_robber_iii
)
myeq
(
leetcode::pacific_atlantic_waterflow
)
myhash
(
leetcode::house_robber_iii
)
myhash
(
leetcode::pacific_atlantic_waterflow
)
MyHashMap
(
leetcode::design_hashmap
)
MyLinkedList
(
leetcode::design_linked_list
)
MyQueue
(
acwing::acwing20
)
N
Node
(
leetcode::kill_process
)
node
(
pat::b::b1110
)
node
(
pat::b::b1105
)
Node
(
pat::b::b1075
)
Node
(
pat::b::b1025
)
Node
(
pat::a::a7_4
)
node
(
pat::a::a1004
)
Node
(
leetcode::the_time_when_the_network_becomes_idle
)
Chtholly::Node
(
leetcode::range_module
)
node
(
leetcode::parallel_courses
)
Node
(
leetcode
)
Node
(
leetcode::n_ary_tree_preorder_traversal
)
Node
(
leetcode::n_ary_tree_postorder_traversal
)
Node
(
leetcode::n_ary_tree_level_order_traversal
)
Node
(
leetcode::minimum_cost_to_make_at_least_one_valid_path_in_a_grid
)
Node
(
leetcode::all_nodes_distance_k_in_binary_tree
)
NumArray
(
leetcode::range_sum_query_immutable
)
NumArray
(
leetcode::range_sum_query_mutable
)
P
P1000
(
luogu
)
P1001
(
luogu
)
P1002
(
luogu
)
P1003
(
luogu
)
P1008
(
luogu
)
P1009
(
luogu
)
P1035
(
luogu
)
P1046
(
luogu
)
P1047
(
luogu
)
P1055
(
luogu
)
P1075
(
luogu
)
P1085
(
luogu
)
P1089
(
luogu
)
P1125
(
luogu
)
P1161
(
luogu
)
P1200
(
luogu
)
P1205
(
luogu
)
P1217
(
luogu
)
P1304
(
luogu
)
P1307
(
luogu
)
P1308
(
luogu
)
P1319
(
luogu
)
P1320
(
luogu
)
P1321
(
luogu
)
P1420
(
luogu
)
P1421
(
luogu
)
P1422
(
luogu
)
P1423
(
luogu
)
P1424
(
luogu
)
P1425
(
luogu
)
P1427
(
luogu
)
P1428
(
luogu
)
P1553
(
luogu
)
P1554
(
luogu
)
P1597
(
luogu
)
P1598
(
luogu
)
P1603
(
luogu
)
P1614
(
luogu
)
P1720
(
luogu
)
P1765
(
luogu
)
P1789
(
luogu
)
P1888
(
luogu
)
P1909
(
luogu
)
P1914
(
luogu
)
P1957
(
luogu
)
P1980
(
luogu
)
P2141
(
luogu
)
P2181
(
luogu
)
P2415
(
luogu
)
P2433
(
luogu
)
P2550
(
luogu
)
P2615
(
luogu
)
P2669
(
luogu
)
P2911
(
luogu
)
P3741
(
luogu
)
P3954
(
luogu
)
P4414
(
luogu
)
P4956
(
luogu
)
P5015
(
luogu
)
P5461
(
luogu
)
P5703
(
luogu
)
P5704
(
luogu
)
P5705
(
luogu
)
P5706
(
luogu
)
P5707
(
luogu
)
P5708
(
luogu
)
P5709
(
luogu
)
P5710
(
luogu
)
P5711
(
luogu
)
P5712
(
luogu
)
P5713
(
luogu
)
P5714
(
luogu
)
P5715
(
luogu
)
P5716
(
luogu
)
P5717
(
luogu
)
P5718
(
luogu
)
P5719
(
luogu
)
P5720
(
luogu
)
P5721
(
luogu
)
P5722
(
luogu
)
P5723
(
luogu
)
P5724
(
luogu
)
P5725
(
luogu
)
P5726
(
luogu
)
P5727
(
luogu
)
P5728
(
luogu
)
P5729
(
luogu
)
P5730
(
luogu
)
P5731
(
luogu
)
P5732
(
luogu
)
P5733
(
luogu
)
P5734
(
luogu
)
P5735
(
luogu
)
P5736
(
luogu
)
P5737
(
luogu
)
P5738
(
luogu
)
P5739
(
luogu
)
P5740
(
luogu
)
P5741
(
luogu
)
P5742
(
luogu::P5742
)
P5743
(
luogu
)
P5744
(
luogu::P5744
)
p_stu_comp
(
pat::b::b1095
)
pair
(
leetcode::find_k_pairs_with_smallest_sums
)
pair_equal
(
acwing::acwing858_408
)
pair_hash
(
leetcode::grid_illumination
)
pair_hash
(
acwing::acwing858_408
)
paper
(
pat::b::b1102
)
ParkingSystem
(
leetcode::design_parking_system
)
path
(
acwing::acwing1978
)
Person
(
pat::b::b1028
)
Person
(
pat::b::b1055
)
player
(
pat::a::a1026
)
player
(
pat::b::b1082
)
point
(
leetcode::escape_a_large_maze
)
point
(
acwing::acwing3874
)
point
(
acwing::acwing2060
)
point
(
acwing::acwing2019
)
point_hash
(
leetcode::escape_a_large_maze
)
pointequal
(
acwing::acwing2060
)
pointhash
(
acwing::acwing2060
)
Problem
(
pat::b::b1058
)
problem
(
pat::b::b1073
)
R
RandomizedSet
(
leetcode::insert_delete_getrandom_o1
)
RangeModule
(
leetcode::range_module
)
record
(
pat::a::a1016
)
room
(
pat::b::b1095
)
room_cnt_comp
(
pat::b::b1095
)
S
school
(
pat::b::b1085
)
Solution
(
leetcode::number_of_steps_to_reduce_a_number_to_zero
)
Solution
(
leetcode::minimum_time_difference
)
Solution
(
leetcode::number_of_rectangles_that_can_form_the_largest_square
)
Solution
(
leetcode::number_of_operations_to_make_network_connected
)
Solution
(
leetcode::number_of_longest_increasing_subsequence
)
Solution
(
leetcode::number_of_lines_to_write_string
)
Solution
(
leetcode::number_of_laser_beams_in_a_bank
)
Solution
(
leetcode::number_of_enclaves
)
Solution
(
leetcode::non_overlapping_intervals
)
Solution
(
leetcode::n_queens
)
Solution
(
leetcode::n_ary_tree_preorder_traversal
)
Solution
(
leetcode::n_ary_tree_postorder_traversal
)
Solution
(
leetcode::n_ary_tree_level_order_traversal
)
Solution
(
leetcode::most_frequent_number_following_key_in_an_array
)
Solution
(
leetcode::missing_element_in_sorted_array
)
Solution
(
leetcode::minimum_window_substring
)
Solution
(
leetcode::minimum_white_tiles_after_covering_with_carpets
)
Solution
(
leetcode::minimum_weighted_subgraph_with_the_required_paths
)
Solution
(
leetcode::minimum_time_to_finish_the_race
)
Solution
(
leetcode::minimum_time_to_complete_trips
)
Solution
(
leetcode::permutations_ii
)
Solution
(
leetcode::parallel_courses
)
Solution
(
leetcode::maximize_number_of_subsequences_in_a_string
)
Solution
(
leetcode::permutations
)
Solution
(
leetcode::permutation_in_string
)
Solution
(
leetcode::perfect_number
)
Solution
(
leetcode::pattern_matching_lcci
)
Solution
(
leetcode::path_with_maximum_gold
)
Solution
(
leetcode::partition_labels
)
Solution
(
leetcode::partition_equal_subset_sum
)
Solution
(
leetcode::partition_array_according_to_given_pivot
)
Solution
(
leetcode::number_of_valid_words_in_a_sentence
)
Solution
(
leetcode::pancake_sorting
)
Solution
(
leetcode::palindrome_partitioning_ii
)
Solution
(
leetcode::palindrome_partitioning
)
Solution
(
leetcode::pacific_atlantic_waterflow
)
Solution
(
leetcode::optimal_division
)
Solution
(
leetcode::open_the_lock
)
Solution
(
leetcode::number_of_ways_to_select_buildings
)
Solution
(
leetcode::number_of_ways_to_reconstruct_a_tree
)
Solution
(
leetcode::number_of_ways_to_divide_a_long_corridor
)
Solution
(
leetcode::maximum_number_of_achievable_transfer_requests
)
Solution
(
leetcode::merge_intervals
)
Solution
(
leetcode::meeting_scheduler
)
Solution
(
leetcode::median_of_two_sorted_arrays
)
Solution
(
leetcode::maximum_total_beauty_of_the_gardens
)
Solution
(
leetcode::maximum_split_of_positive_even_integers
)
Solution
(
leetcode::maximum_size_subarray_sum_equals_k
)
Solution
(
leetcode::maximum_running_time_of_n_computers
)
Solution
(
leetcode::maximum_product_after_k_increments
)
Solution
(
leetcode::maximum_points_in_an_archery_competition
)
Solution
(
leetcode::maximum_number_of_balloons
)
Solution
(
leetcode::merge_nodes_in_between_zeros
)
Solution
(
leetcode::maximum_nesting_depth_of_the_parentheses
)
Solution
(
leetcode::maximum_good_people_based_on_statements
)
Solution
(
leetcode::maximum_employees_to_be_invited_to_a_meeting
)
Solution
(
leetcode::maximum_difference_between_increasing_elements
)
Solution
(
leetcode::maximum_candies_allocated_to_k_children
)
Solution
(
leetcode::maximum_and_sum_of_array
)
Solution
(
leetcode::maximize_the_topmost_element_after_k_moves
)
Solution
(
leetcode::maximize_the_confusion_of_an_exam
)
Solution
(
acwing::acwing16
)
Solution
(
leetcode::minimum_moves_to_reach_target_score
)
Solution
(
leetcode::minimum_swaps_to_group_all_1s_together
)
Solution
(
leetcode::minimum_sum_of_four_digit_number_after_splitting_digits
)
Solution
(
leetcode::minimum_size_subarray_sum
)
Solution
(
leetcode::minimum_operations_to_make_the_array_alternating
)
Solution
(
leetcode::minimum_operations_to_halve_array_sum
)
Solution
(
leetcode::minimum_number_of_steps_to_make_two_strings_anagram_ii
)
Solution
(
leetcode::minimum_number_of_operations_to_convert_time
)
Solution
(
leetcode::minimum_number_of_moves_to_make_palindrome
)
Solution
(
leetcode::minimum_number_of_k_consecutive_bit_flips
)
Solution
(
leetcode::minimum_swaps_to_group_all_1s_together_ii
)
Solution
(
leetcode::minimum_index_sum_of_two_lists
)
Solution
(
leetcode::minimum_height_trees
)
Solution
(
leetcode::minimum_difference_in_sums_after_removal_of_elements
)
Solution
(
leetcode::minimum_difference_between_highest_and_lowest_of_k_scores
)
Solution
(
leetcode::minimum_deletions_to_make_array_beautiful
)
Solution
(
leetcode::minimum_cost_to_set_cooking_time
)
Solution
(
leetcode::minimum_cost_to_make_at_least_one_valid_path_in_a_grid
)
Solution
(
leetcode::minimum_cost_of_buying_candies_with_discount
)
Solution
(
leetcode::minimum_cost_for_tickets
)
Solution
(
leetcode::sum_of_subarray_ranges
)
Solution
(
leetcode::triangle
)
Solution
(
leetcode::trapping_rain_water
)
Solution
(
leetcode::top_k_frequent_elements
)
Solution
(
leetcode::the_time_when_the_network_becomes_idle
)
Solution
(
leetcode::the_number_of_weak_characters_in_the_game
)
Solution
(
leetcode::the_number_of_good_subsets
)
Solution
(
leetcode::task_scheduler
)
Solution
(
leetcode::swap_adjacent_in_lr_string
)
Solution
(
leetcode::surrounded_regions
)
Solution
(
leetcode::sum_of_unique_elements
)
Solution
(
leetcode::two_sum_iv_input_is_a_bst
)
Solution
(
leetcode::sum_of_scores_of_built_strings
)
Solution
(
leetcode::sudoku_solver
)
Solution
(
leetcode::subtree_of_another_tree
)
Solution
(
leetcode::subarray_sum_equals_k
)
Solution
(
leetcode::subarray_product_less_than_k
)
Solution
(
leetcode::strong_password_checker
)
Solution
(
leetcode::stone_game_ix
)
Solution
(
leetcode::split_array_largest_sum
)
Solution
(
leetcode::spiral_matrix_ii
)
Solution
(
lintcode::convert
)
Solution
(
lintcode::remove_extra
)
Solution
(
lintcode::min_path_sum
)
Solution
(
lintcode::min_diff_in_BST
)
Solution
(
lintcode::license_key_formatting
)
Solution
(
lintcode::judge_circle
)
Solution
(
lintcode::intersection
)
Solution
(
lintcode::flatten
)
Solution
(
lintcode::distribute_candies
)
Solution
(
lintcode::digit_counts
)
Solution
(
leetcode::sort_the_jumbled_numbers
)
Solution
(
lintcode::character_deletion
)
Solution
(
leetcode::zigzag_conversion
)
Solution
(
leetcode::word_break
)
Solution
(
leetcode::where_will_the_ball_fall
)
Solution
(
leetcode::walls_and_gates
)
Solution
(
leetcode::utf_8_validation
)
Solution
(
leetcode::unique_paths
)
Solution
(
leetcode::uncommon_words_from_two_sentences
)
Solution
(
leetcode::UhWRSj
)
Solution
(
leetcode::rearrange_array_elements_by_sign
)
Solution
(
leetcode::reverse_only_letters
)
Solution
(
leetcode::replace_non_coprime_numbers_in_array
)
Solution
(
leetcode::replace_all_s_to_avoid_consecutive_repeating_characters
)
Solution
(
leetcode::repeated_dna_sequences
)
Solution
(
leetcode::removing_minimum_number_of_magic_beans
)
Solution
(
leetcode::remove_palindromic_subsequences
)
Solution
(
leetcode::remove_invalid_parentheses
)
Solution
(
leetcode::remove_colored_pieces_if_both_neighbors_are_the_same_color
)
Solution
(
leetcode::regular_expression_matching
)
Solution
(
leetcode::reverse_prefix_of_word
)
Solution
(
leetcode::reaching_points
)
Solution
(
leetcode::push_dominoes
)
Solution
(
leetcode::projection_area_of_3d_shapes
)
Solution
(
leetcode::product_of_two_run_length_encoded_arrays
)
Solution
(
leetcode::product_of_array_except_self
)
Solution
(
leetcode::process_restricted_friend_requests
)
Solution
(
leetcode::prime_number_of_set_bits_in_binary_representation
)
Solution
(
leetcode::predict_the_winner
)
Solution
(
leetcode::populating_next_right_pointers_in_each_node_ii
)
Solution
(
leetcode::simplify_path
)
Solution
(
leetcode::sort_even_and_odd_indices_independently
)
Solution
(
leetcode::sort_colors
)
Solution
(
leetcode::solving_questions_with_brainpower
)
Solution
(
leetcode::smallest_value_of_the_rearranged_number
)
Solution
(
leetcode::smallest_rotation_with_highest_score
)
Solution
(
leetcode::slowest_key
)
Solution
(
leetcode::sliding_window_maximum
)
Solution
(
leetcode::single_number_iii
)
Solution
(
leetcode::single_element_in_a_sorted_array
)
Solution
(
leetcode::plates_between_candles
)
Solution
(
leetcode::simplified_fractions
)
Solution
(
leetcode::shuffle_an_array
)
Solution
(
leetcode::shortest_path_to_get_all_keys
)
Solution
(
leetcode::shortest_path_in_binary_matrix
)
Solution
(
leetcode::shortest_distance_to_target_color
)
Solution
(
leetcode::self_dividing_numbers
)
Solution
(
leetcode::second_minimum_time_to_reach_destination
)
Solution
(
leetcode::search_a_2d_matrix_ii
)
Solution
(
leetcode::rotate_string
)
Solution
(
leetcode::convert_bst_to_greater_tree
)
Solution
(
leetcode::count_integers_with_even_digit_sum
)
Solution
(
leetcode::count_hills_and_valleys_in_an_array
)
Solution
(
leetcode::count_good_triplets_in_an_array
)
Solution
(
leetcode::count_equal_and_divisible_pairs_in_an_array
)
Solution
(
leetcode::count_elements_with_strictly_smaller_and_greater_elements
)
Solution
(
leetcode::count_collisions_on_a_road
)
Solution
(
leetcode::count_artifacts_that_can_be_extracted
)
Solution
(
leetcode::count_array_pairs_divisible_by_k
)
Solution
(
leetcode::coun_vowels_permutation
)
Solution
(
leetcode::count_nodes_with_the_highest_score
)
Solution
(
leetcode::convert_1d_array_into_2d_array
)
Solution
(
leetcode::contains_duplicate_ii
)
Solution
(
leetcode::construct_string_with_repeat_limit
)
Solution
(
leetcode::construct_string_from_binary_tree
)
Solution
(
leetcode::concatenated_words
)
Solution
(
leetcode::complex_number_multiplication
)
Solution
(
leetcode::combination_sum_ii
)
Solution
(
leetcode::combination_sum
)
Solution
(
leetcode::coin_change
)
Solution
(
leetcode::count_words_obtained_after_adding_a_letter
)
Solution
(
leetcode::decode_ways
)
Solution
(
leetcode::decode_the_slanted_ciphertext
)
Solution
(
leetcode::decode_string
)
Solution
(
leetcode::day_of_the_week
)
Solution
(
leetcode::critical_connections_in_a_network
)
Solution
(
leetcode::create_binary_tree_from_descriptions
)
Solution
(
leetcode::course_schedule_ii
)
Solution
(
leetcode::course_schedule
)
Solution
(
leetcode::counting_words_with_a_given_prefix
)
Solution
(
leetcode::check_if_every_row_and_column_contains_all_numbers
)
Solution
(
leetcode::count_the_hidden_sequences
)
Solution
(
leetcode::count_special_quadruplets
)
Solution
(
leetcode::count_operations_to_obtain_zero
)
Solution
(
leetcode::count_of_smaller_numbers_after_self
)
Solution
(
leetcode::count_of_matches_in_tournament
)
Solution
(
leetcode::count_numbers_with_unique_digits
)
Solution
(
leetcode::count_number_of_pairs_with_absolute_difference_k
)
Solution
(
leetcode::count_number_of_maximum_bitwise_or_subsets
)
Solution
(
acwing::acwing51
)
Solution
(
leetcode::add_digits
)
Solution
(
acwing::acwing87
)
Solution
(
acwing::acwing84
)
Solution
(
acwing::acwing78
)
Solution
(
acwing::acwing75
)
Solution
(
acwing::acwing68
)
Solution
(
acwing::acwing67
)
Solution
(
acwing::acwing66
)
Solution
(
acwing::acwing53
)
Solution
(
leetcode::additive_number
)
Solution
(
acwing::acwing36
)
Solution
(
acwing::acwing35
)
Solution
(
acwing::acwing32
)
Solution
(
acwing::acwing29
)
Solution
(
acwing::acwing28
)
Solution
(
acwing::acwing26
)
Solution
(
acwing::acwing21
)
Solution
(
acwing::acwing1929
)
Solution
(
acwing::acwing17
)
Solution
(
leetcode::base_7
)
Solution
(
leetcode::check_if_all_as_appears_before_all_bs
)
Solution
(
leetcode::cells_in_a_range_on_an_excel_sheet
)
Solution
(
leetcode::cat_and_mouse
)
Solution
(
leetcode::calculate_money_in_leetcode_bank
)
Solution
(
leetcode::binary_number_with_alternating_bits
)
Solution
(
leetcode::best_time_to_buy_and_sell_stock_with_transaction_fee
)
Solution
(
leetcode::best_time_to_buy_and_sell_stock_with_cooldown
)
Solution
(
leetcode::best_time_to_buy_and_sell_stock_iii
)
Solution
(
leetcode::baseball_game
)
Solution
(
leetcode::maximal_rectangle
)
Solution
(
leetcode::array_of_doubled_pairs
)
Solution
(
leetcode::arithmetic_slices
)
Solution
(
leetcode::append_k_integers_with_minimal_sum
)
Solution
(
leetcode::all_paths_from_source_to_target
)
Solution
(
leetcode::all_nodes_distance_k_in_binary_tree
)
Solution
(
leetcode::all_divisions_with_the_highest_score_of_a_binary_array
)
Solution
(
leetcode::all_ancestors_of_a_node_in_a_directed_acyclic_graph
)
Solution
(
leetcode::alien_dictionary
)
Solution
(
leetcode::k_highest_ranked_items_within_a_price_range
)
Solution
(
leetcode::linked_list_random_node
)
Solution
(
leetcode::leetcode717_1_bit_and_2_bit_characters
)
Solution
(
leetcode::leetcode454_4sum_ii
)
Solution
(
leetcode::largest_number_at_least_twice_of_others
)
Solution
(
leetcode::kth_largest_element_in_an_array
)
Solution
(
leetcode::knight_probability_in_chessboard
)
Solution
(
leetcode::kill_process
)
Solution
(
leetcode::keep_multiplying_found_values_by_two
)
Solution
(
leetcode::k_th_smallest_in_lexicographical_order
)
Solution
(
leetcode::longest_common_subsequence
)
Solution
(
leetcode::jump_game_iv
)
Solution
(
leetcode::jump_game_ii
)
Solution
(
leetcode::jump_game
)
Solution
(
leetcode::integer_break
)
Solution
(
leetcode::increasing_triplet_subsequence
)
Solution
(
leetcode::image_smoother
)
Solution
(
leetcode::house_robber_iii
)
Solution
(
leetcode::house_robber_ii
)
Solution
(
leetcode::longest_uncommon_subsequence_i
)
Solution
(
leetcode::maximal_square
)
Solution
(
leetcode::max_points_on_a_line
)
Solution
(
leetcode::max_consecutive_ones_iii
)
Solution
(
leetcode::max_area_of_island
)
Solution
(
leetcode::map_of_highest_peak
)
Solution
(
leetcode::majority_element
)
Solution
(
leetcode::lucky_numbers_in_a_matrix
)
Solution
(
leetcode::lowest_common_ancestor_of_a_binary_search_tree
)
Solution
(
leetcode::longest_word_in_dictionary
)
Solution
(
leetcode::delete_operation_for_two_strings
)
Solution
(
leetcode::longest_substring_with_at_most_two_distinct_characters
)
Solution
(
leetcode::longest_substring_with_at_most_k_distinct_characters
)
Solution
(
leetcode::longest_palindromic_substring
)
Solution
(
leetcode::longest_nice_substring
)
Solution
(
leetcode::longest_mountain_in_array
)
Solution
(
leetcode::longest_increasing_subsequence
)
Solution
(
leetcode::longest_increasing_path_in_a_matrix
)
Solution
(
leetcode::longest_happy_string
)
Solution
(
leetcode::excel_sheet_column_number
)
Solution
(
leetcode::find_good_days_to_rob_the_bank
)
Solution
(
leetcode::find_center_of_star_graph
)
Solution
(
leetcode::find_all_the_lonely_nodes
)
Solution
(
leetcode::find_all_lonely_numbers_in_the_array
)
Solution
(
leetcode::find_all_k_distant_indices_in_an_array
)
Solution
(
leetcode::find_all_anagrams_in_a_string
)
Solution
(
leetcode::find_a_peak_element_ii
)
Solution
(
leetcode::factorial_trailing_zeroes
)
Solution
(
leetcode::factor_combinations
)
Solution
(
leetcode::excel_sheet_column_title
)
Solution
(
leetcode::hand_of_straights
)
Solution
(
leetcode::escape_a_large_maze
)
Solution
(
leetcode::elimination_game
)
Solution
(
leetcode::edit_distance
)
Solution
(
leetcode::dungeon_game
)
Solution
(
leetcode::divide_chocolate
)
Solution
(
leetcode::divide_a_string_into_groups_of_size_k
)
Solution
(
leetcode::different_ways_to_add_parentheses
)
Solution
(
leetcode::destroying_asteroids
)
Solution
(
leetcode::delete_node_in_a_bst
)
Solution
(
leetcode::find_substring_with_given_hash_value
)
Solution
(
leetcode::find_the_minimum_number_of_fibonacci_numbers_whose_sum_is_k
)
Solution
(
leetcode::find_k_pairs_with_smallest_sums
)
Solution
(
leetcode::find_three_consecutive_integers_that_sum_to_a_given_number
)
Solution
(
leetcode::gray_code
)
Solution
(
leetcode::find_the_duplicate_number
)
Solution
(
leetcode::grid_illumination
)
Solution
(
leetcode::find_the_closest_palindrome
)
Solution
(
leetcode::group_anagrams
)
Solution
(
leetcode::find_servers_that_handled_most_number_of_requests
)
Solution
(
leetcode::groups_of_strings
)
Solution
(
leetcode::house_robber
)
Solution
(
leetcode::find_players_with_zero_or_one_losses
)
Solution
(
leetcode::find_palindrome_with_fixed_length
)
Solution
(
leetcode::find_missing_observations
)
status
(
acwing::acwing2
)
status
(
acwing::acwing1470
)
status
(
acwing::acwing3445
)
status
(
leetcode::second_minimum_time_to_reach_destination
)
status
(
leetcode::knight_probability_in_chessboard
)
status_equal
(
leetcode::knight_probability_in_chessboard
)
status_hash
(
leetcode::knight_probability_in_chessboard
)
step
(
acwing::acwing1929
)
step_equal
(
acwing::acwing1929
)
step_hash
(
acwing::acwing1929
)
StockPrice
(
leetcode::stock_price_fluctuation
)
student
(
pat::b::b1095
)
student
(
acwing::acwing3376
)
student
(
pat::b::b1080
)
student
(
pat::b::b1041
)
student
(
pat::b::b1015
)
Student
(
luogu::P5744
)
Student
(
luogu::P5742
)
student
(
acwing::acwing3378
)
T
table
(
pat::a::a1026
)
task
(
acwing::acwing3406
)
TimeMap
(
leetcode::time_based_key_value_store
)
TreeNode
(
leetcode::count_nodes_with_the_highest_score
)
TreeNode
(
pat::a::a1020
)
TreeNode
(
lintcode
)
TreeNode
(
leetcode
)
TreeNode
(
acwing
)
TreeNode
(
acwing::acwing4310
)
TreeNodeP
(
leetcode::lowest_common_ancestor_of_a_binary_search_tree
)
trie_node
(
acwing::acwing4208
)
TrieNode
(
leetcode::concatenated_words
)
TrieNode
(
acwing::acwing143
)
TrieNode
(
leetcode::UhWRSj
)
TrieNode
(
acwing::acwing4398
)
TrieNode
tuple_compare
(
acwing::acwing858_408
)
U
UndergroundSystem
(
leetcode::design_underground_system
)
UnionFind
(
acwing::acwing240
)
UnionFind
(
leetcode::max_area_of_island
)
UnionFind
制作者
1.9.2