Awesome
aoc solutions
My original advent-of-code solutions in python, tidied to varing degrees.
Probably not quick or competitive (at least Christmas side of around day 12). Hopefully intelligible.
I usually solve parts a and b separately. I won't force a combined solution at the expense of intelligibility, although I might use or add one (_comb) if part b is a natural evolution of part a or if part a can be easily extracted from part b.
After solving I might write a revised version to learn a better way of doing it or an alternative version to learn a different way of doing it (references included where these were inspired by someone else's solution).
The README for each year serves as a reference of the key features of each solution.
Useful references
:information_source: Last revised references Dec 2023
- awesome-advent-of-code - the Awesome repo is pretty awesome, references to resources and solutions (by year / by language).
- advent-of-code-data - helper library for accessing puzzle data.
- aoc subreddit
Solutions
- hyper-nutrino shares very competitive solutions and offers video explanations for each puzzle (hyper-nutrino can be frequently found at or towards the top of the day's leaderboard). My go-to "this is how you should have done it".
- MasterMedo regularly publishes solutions. I've found some real gems in here offering novel, efficient implementations.
- Jonathan Paulson is as good as always towards the top of the leaderboard. Publishes original solutions and videos (here) of real-time submissions streamed with a delay. Videos include post-submission explanations.
- mebeim has been offering a walkthrough of (nearly all) aoc solutions since 2019.
- iKevinY is a regular leaderboarder who publishes clear intelligible solutions.
- oliver-ni is a regular leaderboarder publishing solutions with minimal clean-up.
- gahjelle frequently offers various solutions for a day, each offering a different approach.
Solutions from previous years (not publishing in 2023)
- Viliam Pucik doesn't usually do all the puzzles each year, although among those Viliam has solved I've found some of the best solutions I've seen anywhere (look at day 25 2022 and weep).