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! π