Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ivkrotova/advent-of-code-2024
Advent of Code 2024 in Rust language
https://github.com/ivkrotova/advent-of-code-2024
advent-of-code advent-of-code-2024 advent-of-code-2024-rust learning-rust rust rust-lang
Last synced: 10 days ago
JSON representation
Advent of Code 2024 in Rust language
- Host: GitHub
- URL: https://github.com/ivkrotova/advent-of-code-2024
- Owner: ivkrotova
- Created: 2024-12-04T12:19:24.000Z (26 days ago)
- Default Branch: main
- Last Pushed: 2024-12-11T21:49:41.000Z (19 days ago)
- Last Synced: 2024-12-11T22:24:02.668Z (19 days ago)
- Topics: advent-of-code, advent-of-code-2024, advent-of-code-2024-rust, learning-rust, rust, rust-lang
- Language: Rust
- Homepage: https://adventofcode.com
- Size: 17.6 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 🎄 Advent of Code 2024 - Rust Solutions 🦀
![Days Completed](https://img.shields.io/badge/days%20completed-4%2F25-blue)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](https://adventofcode.com/2024/about) 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:
```bash
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](https://www.rust-lang.org/tools/install).### Run a Solution:
```bash
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](https://adventofcode.com/2024/day/1) | [Day 1 Solution](https://github.com/ivkrotova/advent-of-code-2024/tree/main/src/day01) |
| 2 | [Red-Nosed Reports](https://adventofcode.com/2024/day/2) | [Day 2 Solution](https://github.com/ivkrotova/advent-of-code-2024/tree/main/src/day02) |
| 3 | [Mull It Over](https://adventofcode.com/2024/day/3) | [Day 3 Solution](https://github.com/ivkrotova/advent-of-code-2024/tree/main/src/day03) | |
| 4 | [Ceres Search](https://adventofcode.com/2024/day/4) | [Day 4 Solution](https://github.com/ivkrotova/advent-of-code-2024/tree/main/src/day04) |
| 5 | [Print Queue](https://adventofcode.com/2024/day/5) | Coming soon |
| 6 | [Guard Gallivant](https://adventofcode.com/2024/day/6) | Coming soon |
| 7 | [Bridge Repair](https://adventofcode.com/2024/day/7) | Coming soon |
| 8 | [Resonant Collinearity](https://adventofcode.com/2024/day/8) | Coming soon |
| 9 | [Disk Fragmenter](https://adventofcode.com/2024/day/9) | Coming soon |
| 10 | [Hoof It](https://adventofcode.com/2024/day/10) | Coming soon |
| 11 | [Plutonian Pebbles](https://adventofcode.com/2024/day/11) | Coming soon |You can also check out the full list of puzzles directly on the [Advent of Code website](https://adventofcode.com/2024/).
---
## 📘 Handy Resources
If you’re learning Rust too, here are some of the resources I’ve found helpful along the way:
- 📖 [The Rust Programming Language (Book)](https://doc.rust-lang.org/book/) – Your go-to guide for all things Rust.
- 🦀 [Rustlings](https://github.com/rust-lang/rustlings) – A set of exercises that will walk you through the basics.
---## 🌍 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! 🦀✨