Chef and Chain

“The sequence is called Chain if each two neighboring symbols of sequence are either ‘-+’ or ‘±’”.
Does it mean that I can have both ‘±’ and ‘-+’ symbols in the same chain???

here you can see ± -> (±)± as well as +(-+)-
so, yes !

ask it in the comment section in the question it self…
the admin will answer to your query…

He/She didn’t approve my comment

if A={0,1,2,3} is an array, then I don’t think we should count {0,1} and {1,2} as neighbors.

what I want to know is that whether ‘±-+’ and ‘-+±’ can be called chains??

No, they are not valid chains.


what about + and - are they considered as chain ???