[English] String Permutation Algorithm [DownSub.com]
[English] String Permutation Algorithm [DownSub.com]
permutation problem.
by 2 which
this process.
from left
'B'
that's 'C'.
like this. For 'B' it's 0, for 'A' it's still 1 and for
'C' it's still 1. Then we are going to again
count of 'C'
becomes 'B',
0,0,0
do that.
is B,C
A,B,C,0,0,0
corresponding position,
repetitions.
reached
value which is 2.
So this is what happened,these two
recursions are done so they're orange now