I saw that I missed a case when I submitted part 2. Instead of making an elegant fix, I just did something more brute force, but it still seemed to solve it really fast. I kinda feel bad for doing that. Is there something called AOC guilt?
I'm writing the dirtiest code of my life. Functional programming may be very good at parsing things but it is illegible. But I'm going all in on doing a lot of it.
It kind of makes sense for these problems because, Map Filter Reduce as a pattern is turing complete, and that's what all of these problems are at the end of the day is a reduction of the input.
I saw that I missed a case when I submitted part 2. Instead of making an elegant fix, I just did something more brute force, but it still seemed to solve it really fast. I kinda feel bad for doing that. Is there something called AOC guilt?
Yes. But by tomorrow you will forget about it.
I'm writing the dirtiest code of my life. Functional programming may be very good at parsing things but it is illegible. But I'm going all in on doing a lot of it.
It kind of makes sense for these problems because, Map Filter Reduce as a pattern is turing complete, and that's what all of these problems are at the end of the day is a reduction of the input.
My solutions:
https://lab.matrixforum.net/JasonMitchell/AdventOfCodeSolutions/src/branch/main/2024/day2