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.
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).
Make sure to have Cargo installed. You can install it from here.
-
Clone the repository:
git clone https://github.com/BKarthik7/Rust.git cd Rust
-
Navigate to the specific question folder:
cd src/q1
-
Run the tests:
cargo test
Feel free to reach out if you have any questions or suggestions!
- Email: bangikarthik7@gmail.com
- LinkedIn: B Karthik
- GitHub: BKarthik7
Happy coding!