🧩 A collection of creative and efficient solutions (that may be a lie) to popular programming challenges implemented in Rust!
This repository contains my Rust implementations of various programming puzzles. Each puzzle demonstrates efficient algorithms and practical Rust coding techniques. Whether you're a beginner looking to learn Rust or a puzzle enthusiast, this repo has something for you!
-
⭐ Advent of Code 🎄
Explore solutions to Advent of Code, a yearly coding challenge filled with creative and festive puzzles. -
🧬 Rosalind
Dive into bioinformatics puzzles from Rosalind, designed to help learn computational biology concepts. -
🧮 Project Euler
Solve mathematical and algorithmic problems that require more than just programming skills.
Ensure you have the Rust toolchain installed. You can install it via rustup:
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
To run a specific puzzle solution, use the following command:
cargo run <puzzle-name>
For example, to run a solution for Advent of Code Day 1:
cargo run aoc run 2024 1
Running All Tests
The repository includes tests (not many) to verify the solutions. Run them using:
cargo test
Contributions are welcome!
Fork the repo and create a new branch for your changes.
Submit a pull request and ensure it follows the repository's structure and coding style.
This repository is licensed under the MIT License. See the LICENSE file for details.