06-28-2017, 01:56 PM
I have to generate a mask in which a character is not repeated more than twice,and no two character comes together,what should I do?
for e.g:If the characters are a,b,c and the word length is 3,the combinations should not contain strings like:aab,caa,bbc,ccc e.t.c
for e.g:If the characters are a,b,c and the word length is 3,the combinations should not contain strings like:aab,caa,bbc,ccc e.t.c