For the second year, I am publishing (yet another) set of solutions for the Advent of Code problems, written in Rust.
The goals for these solutions are the same as in the previous year: to be self-contained (using zero external crates), reasonably general (working on every valid input), compact and performant, without going overboard with error handling, custom types or traits.
The inputs are expected in the input folder.
Run any of the solutions with cargo run --release --bin DAY_NUMBER
, or run all with ./run_all.sh
.
Run the tests with cargo test
.