re: AoC Day 3: No Matter How You Slice It VIEW POST

re: Part 1 I really struggled with part 1. Not because I couldn't figure out the problem, or get my code to compile. I had my tests running pretty ...

I made the exact same mistake with my initial attempt, where I was only grabbing the first digit with my regex. I'm glad it wasn't just me 😅I was so frustrated because the test input worked, since each number in the test input was only one digit! Sometimes I wish that AoC gave just a little more test data to work with before grabbing your final input.


Yes! The first test input kept passing, and then I wrote like 4 or 5 more tests to check different things, and they all passed! But I never checked double-digit numbers. :|

code of conduct - report abuse