Five stages of grief – Advent of Code 2025

— denial —

How is it not working with the actual input? It shouldn’t be failing.

— anger —

This isn’t fair; my code is OK!

— bargaining —

Maybe I can increase the table…? Or should I just move everything to a global variable? I honestly don’t even know anymore—should it still be a pointer?

— depression —

It doesn’t work… it still doesn’t work. I’m starting to feel completely defeated. I honestly don’t know why I ever thought I could handle a career in computer science.

— acceptance —

Ah, now I see it. This is the case I completely forgot about from the start.

Let’s move on to the next puzzle -_-.