This message was deleted.
# advent-of-code
s
This message was deleted.
l
Part 1 should be fast.
Mine is 10ms on my input
s
Did you use any optimization method? I just stored them in a map and lookup for each value while ZZZ is not found,
l
No it’s what I did too
e
if you are not getting a result quickly, perhaps you are not following the left/right instructions correctly
s
Oh, well then something is wrong in my code
I'll try to debug it.
j
Also check, that you parse negative numbers correctly, took me 30mins this morning to notice, I missed the -? in my regex
s
Thank you all. It turns out I was starting the first node from the first row, not from AAA, which was the problem.
e
Jonathan, do you mean day 9? no numbers in day 8 input
👍 1
j
@ephemient Oops, yeah I meant day 9, losing track of days/not seen the day 8 part