/rust_vs_go

Same problems solved in rust and go!

Primary LanguageRust

Go vs rust with examples

Solving random problems on DS, Strings, Search algorithms, Backtracking etc

Problems

Here is the list of problems, links can be found inside the respective files.

Rust

rust/src
├── main.rs
└── problems
    ├── apply_discount_every_n_orders.rs
    ├── binary_watch.rs
    ├── bst_range_sum.rs
    ├── custom_sort_string.rs
    ├── filter_vegan_friendly.rs
    ├── find_and_replace_pattern.rs
    ├── generate_parenthesis.rs
    ├── greatest_number_of_candies.rs
    ├── homework_at_given_time.rs
    ├── letter_combinations.rs
    ├── letter_tile_possibilties.rs
    ├── max_product_two_items.rs
    ├── merge_sorted_arrays.rs
    ├── mod.rs
    ├── product_minus_sum.rs
    ├── remove_invalid_parenthesis.rs
    ├── reorder_logs.rs
    ├── rotate_array.rs
    ├── running_sum_of_array.rs
    ├── search_insert_position.rs
    ├── search_suggestions_system.rs
    ├── shuffle_string.rs
    ├── simple_is_subsequence.rs
    ├── simplified_fractions.rs
    ├── single_number.rs
    ├── subrectangle_queries.rs
    ├── trie_prefix_tree.rs
    └── unique_number_of_occurances.rs

Go

go/problems
├── apply_discount_every_n_orders.go
├── binary_watch.go
├── bst_range_sum.go
├── custom_sort_string.go
├── detect_capital.go
├── filter_vegan_friendly.go
├── find_and_replace_pattern.go
├── generate_parentheses.go
├── greatest_number_of_candies.go
├── homework_at_given_time.go
├── letter_combinations.go
├── letter_tile_possibilties.go
├── max_product_two_items.go
├── merge_sorted_arrays.go
├── product_minus_sum.go
├── remove_invalid_parenthesis.go
├── reorder_log_files.go
├── reverse_only_letters.go
├── rotate_array.go
├── running_sum_of_array.go
├── search_insert_position.go
├── search_suggestions_system.go
├── shuffle_string.go
├── simple_is_subsequence.go
├── simplified_fractions.go
├── single_number.go
├── subrectangle_queries.go
├── trie_prefix_tree.go
└── unique_number_of_occurances.g