User talk:Alex-ilin

From Rosetta Code

Exactly three adjacent 3 in list

The example you added at doesn't do quite the same thing as the first one. The first one ensures there is a three-long contiguous subsequence of threes in the list, but it also ensures there are no threes anywhere else. There is some ambiguity in the task requirements so it's probably best to say each example represents a different interpretation of what "exactly three adjacents 3s" means.

--Chunes (talk) 22:25, 8 August 2023 (UTC)

Umm... I'm not sure how to respond to talks in this Wiki. Thanks for the note, I've updated the implementation. I also read the discussions page, I didn't even realize how vaguely the task is actually specified.