My solutions to Advent of Code challenges. My solutions emphasize readability and object-oriented design over pure performance. I'm not aiming for the fastest solutions, but I do try to keep them efficient.
This project includes some scaffolding around the challenges, including:
exe/advent init YEAR DAY
: initialize a day's challenge class, test and input files. Requires theAOC_SESSION
env var (get it from a cookie in a browser session).exe/advent go YEAR DAY
: run the solutions for the day.mise run test
orbin/qt
to run all tests (includes the tests for the solutions and the scaffolding)mise run watch
orbin/guard
to run tests in watch mode
2024 Solutions ⭐ × 28/50
Day | Execution Time |
---|---|
Day 1 | 4.09ms |
Day 2 | 8.63ms |
Day 3 | 1.87ms |
Day 4 | 73.35ms |
Day 5 | 9.46ms |
Day 6 | 16.4s 😬 |
Day 7 | 2.19s |
Day 8 | 8.22ms |
Day 9 | 142.51ms |
Day 10 | 19.79ms |
Day 11 | 63.93ms |
Day 12 | 429.86ms |
Day 13 | 2.36ms |
Day 14 | 43.84ms |
2023 Solutions ⭐ × 27/50
Day | Execution Time |
---|---|
Day 1 | 5.81ms |
Day 2 | 16.65ms |
Day 3 | 1.63s |
Day 4 | 50.33s |
Day 5 | 3.55ms |
Day 6 | 14.44ms |
Day 7 | 14.92ms |
Day 8 | 54.77ms |
Day 9 | 7.57ms |
Day 10 | 48.91ms |
Day 11 | 786.18ms |
Day 14 | 3.42s |
Day 15 | 64.47ms |