I have a row of elements (in this case numbers)
example: 1 - 3 - 3 - 2
I want to create an algorithm that generates each sequence:
1-3-3-2
1-3-2-3
1-2-3-3
...
Does some one has an idea?
1 remarque: 3-1-2-3 and 3-1-2-3 or the same sequences for me, even though the first "3" is replaced with the last one.
example: 1 - 3 - 3 - 2
I want to create an algorithm that generates each sequence:
1-3-3-2
1-3-2-3
1-2-3-3
...
Does some one has an idea?
1 remarque: 3-1-2-3 and 3-1-2-3 or the same sequences for me, even though the first "3" is replaced with the last one.