Skip to content
/ Rust Public

This repository contains solutions to LeetCode problems implemented in Rust. Each problem is organized in a separate file, every problem includes it's Rust source(.rs) file and a Markdown file(.md) with problem descriptions and test cases.

License

Notifications You must be signed in to change notification settings

BKarthik7/Rust

Repository files navigation

LeetCode Problems in Rust

Welcome to my collection of LeetCode problem solutions implemented in Rust. This repository is intended to serve as a learning resource and showcase my problem-solving skills using the Rust programming language.

Repository Structure

Each LeetCode problem is organized in its own directory within the src folder. The structure is as follows:

.
├── Cargo.toml
└── src
├── lib.rs
├── q1
│ ├── 1.md
│ ├── _1_two_sum.rs
│ └── mod.rs
├── q2
│ ├── _2_add_two_numbers.rs
│ ├── 2.md
│ └── mod.rs
├── q3
│ ├── _3_longest_substring_without_repeating_characters.rs
│ ├── 3.md
│ └── mod.rs

The problems are arranged with questions (.md files) and solutions (.rs files).

Prerequisites

Make sure to have Cargo installed. You can install it from here.

How to Use

  1. Clone the repository:

    git clone https://github.com/BKarthik7/Rust.git
    cd Rust
  2. Navigate to the specific question folder:

    cd src/q1
  3. Run the tests:

    cargo test

Contact

Feel free to reach out if you have any questions or suggestions!

Happy coding!

About

This repository contains solutions to LeetCode problems implemented in Rust. Each problem is organized in a separate file, every problem includes it's Rust source(.rs) file and a Markdown file(.md) with problem descriptions and test cases.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published