Advent of Code 2016
For the second year in a row, I spent a significant amount of time in December solving the Advent of Code programming puzzles. Before writing the first line of code, I created a repository for my solutions. Unlike last year, I wanted to have all the code readily available for future reference. More than once, I actually looked up previous solutions while solving a more recent puzzle.
Now, that the season is over and all puzzles are published, I decided to make access to my repository public. Feel free to take a look at it, if you got stuck at any of the puzzles or if you are just curious, how it could be solved (differently).
All the solutions are written in C#. In case you are wondering about the
.linq file extension, it's LINQPad's file format. Except for the XML header replacing the
using directive, it's pure C# console application code, taking advantage of
Dump() extension method to output results. I chose to use LINQPad because I like its low footprint and find its interface very productive for working with short snippets of code, such as these puzzle solutions. If you're not familiar with it, you can download it for free and give it a try.
I also encourage you to accept the challenge of solving the Advent of Code puzzles. I had a lot of fun doing it and I am already looking forward to next year. Don't worry about being late to the party. The puzzles will remain published. Not only that, last year's puzzles are still available, as well.