Thursday | 21 NOV 2024
[ previous ]
[ next ]

Advent of Code 2023 - Day 3

Title:
Date: 2023-12-03

Today's puzzle involved parsing a board and looking at the adjacent pieces. I feel like there is a method to this that is simpler but I brute forced it. This made part 1 take a bit but part 2 was very easy once I had the code written out.

I did end up using the string math functions but that was because I had my part list for part 2 one level too far. This meant I was multiplying some very large numbers.

I also got a message that my answer was surprisingly the answer to someone else's puzzle and so I double checked that I was logged in properly and that I had the correct puzzle input. This was cool to see as it means that they check the answer against everyone's puzzle. I wonder if it is truly unique or if there is a grouping going on.

Quite fun still, this took the longest so far at about a solid 1 hour, most of that time was writing out the adjacent checking logic.

My Day 3 Answer