This repository contains my solutions to the Advent of Code 2023 challenge. The Advent of Code is an annual event where participants solve programming puzzles using their favorite language.
The project is organized into subfolders, each containing a separate solution for a given day's puzzle. The directory structure follows this pattern:
advent-of-code-2023/
├── day01
│ └── src
│ └── main.rs
├── day02
│ └── src
│ └── main.rs
...
└── day25
└── src
└── main.rs
Each day's solution is contained in its own directory, with a src/main.rs
file containing the Rust code and a README.md
file providing context and explanations for my solution.
- Solution files are written in Rust.
- Each day's puzzle has a separate directory with its own
src/main.rs
file containing the solution code.
- Clone this repository using
git clone
. - Navigate to the root directory of the project using
cd advent-of-code-2023
. - Run
cargo run
(e.g.,cargo run
) in the terminal, then select a day number from the options to run my solution for that day. - The program will print out the result of my solution for each puzzle.
- You can also run
cargo test
to run all tests for the