It is this time of the year again. The time when the advent of code is happening. I'm really looking forward to this year, and for extra challenge I will not be using a language that I am very familiar with. Enter Elixir.
Well, now you might be asking yourself "but why not haskell or erlang?". Simple answer again: I really like Elixir's syntax and style, and it's not like I have to relearn every single concept (spoiler: I'll definitely have to).
What is AoC?
The Advent of Code is a yearly coding challenge that runs between December 1st and December 25th. There is always some kind of a backstory, and every day there is two puzzles. Those puzzles share the same structure and input, but often the procedure is varied slightly and the required output changes. Completing a challenge rewards a gold star, and if you happen to be within the first 100 players to receive a gold star, you also get points on the global leaderboard. This year, I'll be playing with a few friends from elixi.re and maybe a few members of Geekforce. We'll see. On this page, I'll post a writeup (well, more of a problem-solving diary) and the code. If I ever happen to be in the top 100, this won't happen until 100 solutions are in.
Follow me into the rabbit hole
Did that make you curious? Do you want to play with me? Follow along? I'll be tweeting whenever I find a solution, so follow me on Twitter (I'm @JustGerd). And before anyone complains, I'll also toot on Mastodon as @computerfairi.es@Gerd. Thanks for reading!
Schroedingers Days (wanted dead and alive)
Day 1: Chronal Calibration
Day 2: Inventory Management System
Day 3: No Matter How You Slice It
Day 4: Repose Record
Day 5: Alchemical Reduction
Day 6: Chronal Coordinates