These are my solutions for the puzzles on adventofcode.com. I recommend trying the puzzles yourself before looking at these or other solutions.
The code here hasn't been cleaned up, and nor have I made an effort to explain it; it's just whatever I came up with as quickly as possible.