Top "Permutation" questions

A permutation is an arrangement of objects into a particular order.

Python itertools permutations how to include repeating characters

Possible Duplicate: Power set and Cartesian Product of a set python With Python Itertools.permutations() I would like to receive …

python permutation itertools
Finding n-th permutation without computing others

Given an array of N elements representing the permutation atoms, is there an algorithm like that: function getNthPermutation( $atoms, $permutation_…

php algorithm math permutation
How do I generate permutations of length LEN given a list of N Items?

Note: I'm working in python on this. For example, given a list: list = ['a','b','c','d','e','f','g',…

python permutation
generating Variations without repetitions / Permutations in java

I have to generate all variations without repetitions made of digits 0 - 9. Length of them could be from 1 to 10. I …

java algorithm permutation variations
Print all permutation in lexicographic order

I want to print all permutation of string in lexicographic order. I wrote this code: void permute(char *a, int …

c arrays algorithm sorting permutation
How to generate permutations or combinations of object in R?

How to generate sequences of r objects from n objects? I'm looking for a way to do either permutations or …

r combinations permutation multiset r-faq
How would you calculate all possible permutations of 0 through N iteratively?

I need to calculate permutations iteratively. The method signature looks like: int[][] permute(int n) For n = 3 for example, the …

language-agnostic math permutation
Python - get all combinations of a list

I know that I can use itertools.permutation to get all permutation of size r. But, for itertools.permutation([1,2,3,4],3) it …

python list combinations permutation itertools
How to access list permutations in prolog?

I want to access list permutation and pass it as argument to other functions. This is the permutation code: takeout(…

list prolog permutation prolog-dif
How do you efficiently generate a list of K non-repeating integers between 0 and an upper bound N

The question gives all necessary data: what is an efficient algorithm to generate a sequence of K non-repeating integers within …

arrays algorithm random permutation