Advent of code 2023 solved using Rust. My focus is on readability and expressiveness, rather than minimizing LOC, memory usage or program runtime. I'm using as few "utils" as possible, to present pure solutions for each day. Both parts of each day can be run like this from root directory:
cargo run -- d01
d01
should be replaced with the day to be run, like d01
, d02
, d03
, ...
Running all days at once in sequence can be done like this:
cargo run -- all
Tests are run like this:
cargo test