Looks like an unfortunate typo - it should say "and there are no matches within that set." Because it doesn't match, you'll keep the offset, but repeat processing the list - the first two +3 then change the offset to 7 and 10, which finally gives you the second repeat.
Yep. Now it is clear.
I was confused with the problem statement and had exactly the same confusement as described here: reddit.com/r/adventofcode/comments....
Thanks.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Looks like an unfortunate typo - it should say "and there are no matches within that set." Because it doesn't match, you'll keep the offset, but repeat processing the list - the first two
+3
then change the offset to7
and10
, which finally gives you the second repeat.Hope that helps!
Yep. Now it is clear.
I was confused with the problem statement and had exactly the same confusement as described here: reddit.com/r/adventofcode/comments....
Thanks.