Comment on The Anti-Pattern GameparentComments−akoboldfrying1yI think it's pretty clear that a string s of pebbles is a pattern iff there exist strings x and y such that s = x|y|y|y, where | denotes string concatenation and y is nonempty.EDIT: Clarify that only y is nonempty.
Comments
I think it's pretty clear that a string s of pebbles is a pattern iff there exist strings x and y such that s = x|y|y|y, where | denotes string concatenation and y is nonempty.
EDIT: Clarify that only y is nonempty.