50
SOLUTION MEGATHREAD-🎄- 2019 Day 3 Solutions -🎄-(self.adventofcode)
submitted 6 years, 1 month ago* (edited 14 minutes after) by daggerdragon to /r/adventofcode (134.8k)
since 6 years, 1 month ago
1 of 1
Tip Reveddit Real-Time can notify you when your content is removed.
your account history
Tip Check if your account has any removed comments.
view my removed comments you are viewing a single comment's thread.
view all comments


Yeah, got a bit complex, but hey I do that a lot too, I was struggling and redoing my matching function 4-5 times before I got it right, I do recalculate some values too often, so I would probably really benefit from making a global, but then that feels so dirty as well :)
Matching is really nice, and I really enjoy simple structures, it makes thinking about a problem so much easier to me, since I don't forget where I am as often in a larger function :p