This repository contains my solutions to HackerRank problems, implemented in Rust. It's a collection of coding challenges aimed at improving my proficiency in Rust while tackling a variety of algorithmic and data structure problems. Each solution is documented with explanations and insights on the approach used.
Feel free to browse through the solutions, provide feedback, or suggest improvements. Let's embark on this journey to master Rust together!
The repository is organized as follows:
HackerRankWithRust/
│
├── algorithms/
│ ├── warmup/
│ │ ├── solve_me_first/
│ │ │ ├── src/
│ │ │ │ ├── main.rs
│ │ │ ├── tests/
│ │ │ │ ├── solve_me_first.rs
│ │ │ ├── Cargo.toml
│ │ ├── ...
│ ├── ...
│
├── data_structures/
│ ├── arrays/
│ │ ├── arrays-ds/
│ │ │ ├── src/
│ │ │ │ ├── main.rs
│ │ │ ├── tests/
│ │ │ │ ├── arrays-ds.rs
│ │ │ ├── Cargo.toml
│ │ ├── ...
│ ├── ...
│
├── shared_utils/
│ ├── src/
│ │ ├── lib.rs
│ ├── Cargo.toml
│
├── Cargo.toml
├── LICENSE
└── README.md
- Rust installed on your machine. You can download it from rust-lang.org.
To run a specific solution:
cargo run --bin solution_name
To run tests for all solutions:
cargo test
To run tests for a specific solution:
cargo test -p solution_name
This project is licensed under the MIT License - see the LICENSE file for details.
If you have any questions or feedback, feel free to reach out:
- GitHub Issues: HackerRankWithRust Issues
Happy Coding!