Advent of Code is a series of programming puzzles released in December each year that can be solved in any programming language. Correctly solving all of the puzzles earns 50 stars.
This year I am aiming to write solutions in R and python.
2022-12-18 - Struggling for time some days so still running behind, generally happy with the R solutions so far with the exception of day 14 which is in desperate need of optimisation.
2022-12-12 - Currently running a little behind, who would of thought December would be a busy month! Will try to catch up this week. Typically going to focus on R solutions, but may switch to python later on for the more challenging puzzles.
2023-10-21 - Starting to think about this years challenge, and my lack of effort in 2022. Will try to add a few more solutions as a warm up to 2023.
I'm utilising my new favourite framework, the box package, to structure my R code. Modules for solving each puzzle reside within the R
directory and the main.r
script is ran to generate the answers for each day.
Box provides a mechanism for "writing reusable, composable and modular R code", is much simpler to use than the R package system, and encourages a more pythonesque approach to imports, bringing in as little as required in terms of dependencies.
Python solutions are written as self contained scripts and can be found in the python
directory.
Total ⭐'s = 36
Puzzle | Python | R |
---|---|---|
Day 1 | ⭐⭐ | ⭐⭐ |
Day 2 | ⭐⭐ | ⭐⭐ |
Day 3 | ⭐⭐ | ⭐⭐ |
Day 4 | ⭐⭐ | ⭐⭐ |
Day 5 | ⭐⭐ | ⭐⭐ |
Day 6 | ⭐⭐ | ⭐⭐ |
Day 7 | ⭐⭐ | ⭐⭐ |
Day 8 | ⭐⭐ | ⭐⭐ |
Day 9 | ⭐⭐ | ⭐⭐ |
Day 10 | ⭐⭐ | ⭐⭐ |
Day 11 | ⭐⭐ | ⭐⭐ |
Day 12 | ⭐⭐ | ⭐⭐ |
Day 13 | ⭐⭐ | ⭐⭐ |
Day 14 | ⭐⭐ | ⭐⭐ |
Day 15 | ⭐⭐ | ⭐⭐ |
Day 16 | ⭐⭐ | |
Day 17 | ⭐ ⭐ | ⭐ |
Day 18 | ⭐ ⭐ | |
Day 19 | ||
Day 20 | ||
Day 21 | ||
Day 22 | ||
Day 23 | ||
Day 24 | ||
Day 25 |