Advent of Code 2022

I almost gave up on the Day 7 puzzle, but I guess I’m just too stubborn.
I had an elusive circular reference bug in my node tree that kept causing a stack overflow exception. It took forever to figure that out. Then when I finally got it working with the example data, it broke again with the real data. Finally sorted that one out (a node not being added in some cases when it should have been).

By then my brain was so fried that the relatively simple part 2 took me way longer than it should have.

Oh well, it’s done. I’m afraid to think about what’s coming next.

Beer definitely sounds good right now.

3 Likes