--- Begin Message ---
Op 30-12-2018 om 02:14 schreef Ben Coman:
'abcdefg' asArray  overlappingPairsRemainderCollect: [ :a :b :rem | { a.b.rem } ]


Sorry, I do not see how this can work so I can find the answer

qjhvhtzxzqqjkmpb is nice because is has a pair that appears twice (qj)

so if I try it on the code for overlappingPairsRemainderCollect  I see this as answer :

"#($q $j #($h $v $h $t $z $x $z $q $q $j $k $m $p $b))"
"#($j $h #($v $h $t $z $x $z $q $q $j $k $m $p $b))"
"#($h $v #($h $t $z $x $z $q $q $j $k $m $p $b))"
"#($v $h #($t $z $x $z $q $q $j $k $m $p $b))"
"#($h $t #($z $x $z $q $q $j $k $m $p $b))"
"#($t $z #($x $z $q $q $j $k $m $p $b))"
"#($z $x #($z $q $q $j $k $m $p $b))"
"#($x $z #($q $q $j $k $m $p $b))"
"#($z $q #($q $j $k $m $p $b))"
"#($q $q #($j $k $m $p $b))"
"#($q $j #($k $m $p $b))"
"#($j $k #($m $p $b))"
"#($k $m #($p $b))"
"#($m $p #($b))"
"#($p $b #())"

How does help me the output in telling me that there are two pairs that are there two times


--- End Message ---

Reply via email to