This repository contains my solutions to the Advent of Code challenges. Each year, the Advent of Code provides a series of programming puzzles, one for each day in December leading up to Christmas.
The repository is organized by year, and each day's solution is stored in its own directory. For example:
.
├── 2024
│ └── day-01
│ ├── README.md # Description of the problem and solution approach
│ ├── go.mod # Go module file
│ ├── input.txt # Puzzle input for the day
│ ├── solution # Compiled solution binary
│ ├── solution.go # Go source code for the solution
│ └── solution_test.go # Unit tests for the solution
-
Clone the repository:
git clone https://github.com/bclews/advent-of-code.git cd advent-of-code
-
Navigate to the desired year and day:
cd 2024/day-01
-
Run the solution:
go run solution.go
-
Run the tests:
go test
This repository is primarily for personal learning and development. However, if you spot any errors or have suggestions, feel free to open an issue or submit a pull request.
This repository is licensed under the MIT License. See LICENSE for details.
Happy Coding! 🎄