/HackerRankWithRust

This repository contains my solutions to HackerRank problems, implemented in Rust.

MIT LicenseMIT

HackerRankWithRust

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!

Table of Contents

Structure

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

How to Use

Prerequisites

  • Rust installed on your machine. You can download it from rust-lang.org.

Running Solutions

To run a specific solution:

cargo run --bin solution_name

Running Tests

To run tests for all solutions:

cargo test

To run tests for a specific solution:

cargo test -p solution_name

License

This project is licensed under the MIT License - see the LICENSE file for details.

Contact

If you have any questions or feedback, feel free to reach out:

Happy Coding!