Search for leak in sudo’s changelog: https://www.sudo.ws/releases/changelog/
Search for leak in sudo’s changelog: https://www.sudo.ws/releases/changelog/
Maybe you are adding the same point multiple times to to_visit. I don’t know ruby but couldn’t see a check for visited points before adding, and to_visit appears to be an array instead of set, which can store the same point multiple times.
Language: Python
Decided to use a graph to solve (which expanded the size). Part 1 was cycle detection, and part 2 was flooding of the outside.
Language: Python
Python, used a number map to search positions near symbols.
https://github.com/massahud/advent-of-code-2023/blob/main/day03/day03.ipynb
Python, interesting that the readMax function that I created on part 1 was also what I needed for part 2. https://github.com/massahud/advent-of-code-2023/blob/main/day02/day02.ipynb
Cars should come with ✖️⭕🟪🔺