Skip to content

ivkrotova/advent-of-code-2024

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🎄 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

🌟 Featured Solutions

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! 🦀✨