🎄 Advent of Code 2022 in Rust 🦀
My solutions to Advent of Code 2022. Each year I like to try in a language I'm interested in or may be using soon.
| Puzzle | Code | Part 1 | Part 2 |
|---|---|---|---|
| Calorie Counting | Day 1 | ⭐ | ⭐ |
| Rock Paper Scissors | Day 2 | ⭐ | ⭐ |
| Rucksack Reorganization | Day 3 | ⭐ | ⭐ |
| Camp Cleanup | Day 4 | ⭐ | ⭐ |
| Supply Stacks | Day 5 | ⭐ | ⭐ |
| Tuning Trouble | Day 6 | ⭐ | ⭐ |
| No Space Left On Device | Day 7 | ⭐ | ⭐ |
| Treetop Tree House | Day 8 | ⭐ | ⭐ |
| Rope Bridge | Day 9 | ⭐ | ⭐ |
| Cathode-Ray Tube | Day 10 | ⭐ | ⭐ |
| Monkey in the Middle | Day 11 | ⭐ | ⭐ |
| Hill Climbing Algorithm | Day 12 | ⭐ | ⭐ |
Each day is its own binary in ./src/bin (format 01.rs). The corresponding
input file should be placed in ./src/inputs (format 01.txt).
# The days can be run independently...
cargo run --bin 01
# or all at once
cargo run