My solutions to Advent of Code 2023, written in Rust.
Follow the instructions here to install Rust and Cargo.
Each problem is separated by the folder denoted by the day order (e.g. day01). Since each problem is structured as a standalone without having any dependencies, in order to run, go to the desired problem's directory and run with cargo as follows.
cd day01
cargo run PART_NUMBER # part 1 or 2
# or run with the actual test file
cargo run PART_NUMBER test.input
There are unit tests, to run these:
cargo test