09 Dec 2023/ Programming
Implementing Interval Splitting for Advent of Code
I originally didn't want to write _another_ blog post about Advent of Code, especially not consecutive ones. However, the solution to the second part of the fifth day was so interesting that I couldn't resist. The puzzle is about mapping intervals to one another. I just want to note that this puzzle took my sanity. Never have I had more off-by-one errors or why the fuck doesn't this work?'' moments. So let's get started, shall we? The puzzle To understand the puzzle, let's have a look at the e