leetcoderust-leetcode-rust:Rust中的Leetcode解决方案

时间:2021-06-30 18:08:37
【文件属性】:
文件名称:leetcoderust-leetcode-rust:Rust中的Leetcode解决方案
文件大小:122KB
文件格式:ZIP
更新时间:2021-06-30 18:08:37
系统开源 leetcode 锈Rust 中的 Leetcode 解决方案 一个学习 Rust 以及练习 leetcode 问题的游戏场。 问题获取和测试框架来自不同的功能,并演化出不同的功能。 运行cargo run ,然后提供一个id来初始化“problem #id”的模板提交文件。 运行cargo test n{id}来测试“problem #id”的解决方案。 运行cargo test以测试所有解决方案。
【文件预览】:
leetcode-rust-master
----.gitignore(320B)
----README.md(566B)
----template.rs(352B)
----Cargo.toml(287B)
----LICENSE(1KB)
----src()
--------n0001_two_sum.rs(1KB)
--------n1310_xor_queries_of_a_subarray.rs(2KB)
--------n1330_reverse_subarray_to_maximize_array_value.rs(46KB)
--------n1420_build_array_where_you_can_find_the_maximum_exactly_k_comparisons.rs(2KB)
--------n1247_minimum_swaps_to_make_strings_equal.rs(2KB)
--------n1313_decompress_run_length_encoded_list.rs(1KB)
--------n1323_maximum_69_number.rs(2KB)
--------n0704_binary_search.rs(2KB)
--------n1262_greatest_sum_divisible_by_three.rs(3KB)
--------n1271_hexspeak.rs(2KB)
--------n1255_maximum_score_words_formed_by_letters.rs(2KB)
--------n1309_decrypt_string_from_alphabet_to_integer_mapping.rs(3KB)
--------n1260_shift_2d_grid.rs(3KB)
--------n1266_minimum_time_visiting_all_points.rs(2KB)
--------n1475_final_prices_with_a_special_discount_in_a_shop.rs(3KB)
--------n0003_longest_substring_without_repeating_characters.rs(3KB)
--------n1365_how_many_numbers_are_smaller_than_the_current_number.rs(2KB)
--------n0007_reverse_integer.rs(2KB)
--------n1261_find_elements_in_a_contaminated_binary_tree.rs(5KB)
--------n0839_similar_string_groups.rs(110KB)
--------n1340_jump_game_v.rs(4KB)
--------n1238_circular_permutation_in_binary_representation.rs(2KB)
--------n1411_number_of_ways_to_paint_n_3_grid.rs(4KB)
--------n1359_count_all_valid_pickup_and_delivery_options.rs(2KB)
--------n1425_constrained_subset_sum.rs(1KB)
--------lib.rs(2KB)
--------n1272_remove_interval.rs(2KB)
--------n1046_last_stone_weight.rs(2KB)
--------n1424_diagonal_traverse_ii.rs(3KB)
--------problem.rs(5KB)
--------n1248_count_number_of_nice_subarrays.rs(2KB)
--------n1416_restore_the_array.rs(4KB)
--------n1614_maximum_nesting_depth_of_the_parentheses.rs(3KB)
--------n1512_number_of_good_pairs.rs(1KB)
--------n0307_range_sum_query_mutable.rs(3KB)
--------n0700_search_in_a_binary_search_tree.rs(2KB)
--------n0004_median_of_two_sorted_arrays.rs(933B)
--------n0002_add_two_numbers.rs(3KB)
--------n1356_sort_integers_by_the_number_of_1_bits.rs(3KB)
--------n0509_fibonacci_number.rs(1KB)
--------n0861_score_after_flipping_matrix.rs(2KB)
--------n1334_find_the_city_with_the_smallest_number_of_neighbors_at_a_threshold_distance.rs(9KB)
--------n1051_height_checker.rs(1KB)
--------n1358_number_of_substrings_containing_all_three_characters.rs(2KB)
--------n1256_encode_number.rs(1KB)
--------n1312_minimum_insertion_steps_to_make_a_string_palindrome.rs(3KB)
--------n1361_validate_binary_tree_nodes.rs(3KB)
--------n1249_minimum_remove_to_make_valid_parentheses.rs(3KB)
--------n1480_running_sum_of_1d_array.rs(2KB)
--------n1263_minimum_moves_to_move_a_box_to_their_target_location.rs(9KB)
--------n1491_average_salary_excluding_the_minimum_and_maximum_salary.rs(2KB)
--------n1018_binary_prefix_divisible_by_5.rs(3KB)
--------n1367_linked_list_in_binary_tree.rs(32KB)
--------n1311_get_watched_videos_by_your_friends.rs(5KB)
--------n1502_can_make_arithmetic_progression_from_sequence.rs(2KB)
--------n1354_construct_target_array_with_multiple_sums.rs(13KB)
--------util()
--------main.rs(9KB)
--------n1415_the_k_th_lexicographical_string_of_all_happy_strings_of_length_n.rs(3KB)
--------n1470_shuffle_the_array.rs(2KB)
--------n1486_xor_operation_in_an_array.rs(2KB)
----.cargo()
--------config(37B)
----.travis.yml(268B)

网友评论