circular-permutations

Permutations without cycles

Permutations without cycles Question: I want to generate all possible permutations of a list, where cyclic permutations (going from left to right) should only occur once. Here is an example: Let the list be [A, B, C]. Then I want to have permutations such as [A, C, B] but not [B, C, A] as this …

Total answers: 3