@[email protected] to Advent Of [email protected] • 2 years ago[2023 Day 3] Motivation time!lemmy.worldimagemessage-square21fedilinkarrow-up197
arrow-up197image[2023 Day 3] Motivation time!lemmy.world@[email protected] to Advent Of [email protected] • 2 years agomessage-square21fedilink
minus-square@[email protected]linkfedilink2•2 years agoHmm, I did it the opposite. Found every number and passed a list of every adjacent position of the number to check for non-digit/dot/non-whitespace. Took a bit longer to solve part 2 due to that approach though.
minus-squareBlack616Angellinkfedilink1•2 years agoIn that case I was kinda lucky. But it looked more second-partly to do it that way. 😂
Hmm, I did it the opposite. Found every number and passed a list of every adjacent position of the number to check for non-digit/dot/non-whitespace.
Took a bit longer to solve part 2 due to that approach though.
In that case I was kinda lucky.
But it looked more second-partly to do it that way. 😂