Advent of Code is an annual coding puzzle.

We're going to deal with AoC 2024 Day 2: Red-Nosed Reports, Part 2.

The straightforward solution is a sublist iteration algorithm.

On some inputs - which we'll see later - this approach is quite slow:



Disclaimer: It wasn't ever supposed to be run on this input. There's nothing wrong with using the...