GitHunt

๐ŸŽ„ Advent of Code 2024 - Rust Solutions ๐Ÿฆ€

Days Completed

Hi! Welcome to my Advent of Code 2024 repository. I hope you find it fun, helpful, or maybe just a little inspiring.

Iโ€™m learning Rust while solving these puzzles, so expect lots of comments along the code and some trial and error.

Advent of Code is an annual calendar of programming puzzles that can be solved in any language. This year, Iโ€™ve chosen Rust because itโ€™s new to me, and I'd like to learn the basics by solving small problems one day at a time.

Whether youโ€™re a seasoned Rustacean or just here for some fun solutions, feel free to poke around!


๐Ÿ“š Whatโ€™s Inside?

  • Commented Solutions: Each solution comes with detailed comments explaining both the puzzle logic and Rust-specific syntax.
  • Easy Navigation: Everything is organized by day so you can find what youโ€™re looking for quickly.
  • Open Source: Contributions are welcome! Whether itโ€™s an alternative solution or just a suggestion to improve my Rust skills, Iโ€™d love to hear from you.

๐Ÿš€ Getting Started

Hereโ€™s how to try these solutions on your own machine:

Clone the Repository:

git clone https://github.com/your-username/AdventOfCode2024.git
cd AdventOfCode2024

Install Rust:

If you donโ€™t already have Rust installed, you can grab it from here.

Run a Solution:

cd advent-of-code-2024/
cargo run

Advent of Code puzzles are released daily, and Iโ€™ll be adding solutions here as I solve them. Each one links to the code and includes comments breaking down the approach. ๐ŸŽ

Day Title Solution
1 Historian Hysteria Day 1 Solution
2 Red-Nosed Reports Day 2 Solution
3 Mull It Over Day 3 Solution
4 Ceres Search Day 4 Solution
5 Print Queue Coming soon
6 Guard Gallivant Coming soon
7 Bridge Repair Coming soon
8 Resonant Collinearity Coming soon
9 Disk Fragmenter Coming soon
10 Hoof It Coming soon
11 Plutonian Pebbles Coming soon

You can also check out the full list of puzzles directly on the Advent of Code website.


๐Ÿ“˜ Handy Resources

If youโ€™re learning Rust too, here are some of the resources Iโ€™ve found helpful along the way:


๐ŸŒ Community and Contributions

The best part of Advent of Code is the community, and Iโ€™d love for you to join in! Hereโ€™s how you can contribute:

  • Submit alternative solutions via pull requests.
  • Open issues to suggest improvements or report bugs.
  • Share your tips, questions, or ideas in the discussions tab.

How to Contribute:

  1. Fork this repository.
  2. Create a branch: git checkout -b feature-name.
  3. Commit your changes: git commit -m "Add new feature".
  4. Push your branch: git push origin feature-name.
  5. Open a pull request, and letโ€™s chat!

Happy coding! ๐Ÿฆ€โœจ