Note: It's more fun to solve these puzzles yourself, so I highly recommend to do so, before checking my solutions.
The input files and puzzle text are under copyright of Advent of Code and are only included for completeness sake.
The code itself is is available under 2 licenses: Public Domain or MIT -- choose whichever you prefer, see also the license file.