Advent of Code 2025 - Day 4: Printing Department
Day 4 brought us back to grid problems. The task involved identifying paper rolls on a grid that forklifts could access, where accessibility is determined by how many neighboring rolls surround each position.
Part 1: Finding Accessible Rolls
Grids are back, and so is my helper library fred.py. The problem is straightforward: count how many paper rolls (@) have fewer than 4 neighboring rolls in the 8 adjacent positions (including diagonals).