Advent of Code 2025 - Day 7

I think this was my favourite day of Advent of Code this year. Very interesting puzzle with some super satisfying solutions once you give it a bit of thought (or a lot of thought, in my case). Read the full prompt. Part 1 So we've got a beam that's being fired down through a Christmas tree-shaped structure of "beam splitters" and we need to count how many times the beam gets split as it makes its…