The aoc_lib package used in these solutions is my own custom helper functions library. You can find the code here. I’ll try to post my solutions daily. These are probably not the most optimized solutions. That is not my goal with advent of code honestly, I do these just for fun. Day 1 Day 1 was pretty straightforward. Just some basic array magic. I don’t think the code needs much explanation.