in reply to Re: Permutation with repetitions
in thread Permutation with repetitions
Thanks for replying. I don't think your code is what I am looking for. I'll try to explain again:
For the sake of illustration let's say the size of the substring I am looking for is 3. Ideally, what I would like in the end is a list for all possible permutations with repetitions and a count how often they occur. For this example, the list would look something like that:
aaa 0
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Permutation with repetitions
by moritz (Cardinal) on Jun 07, 2010 at 10:15 UTC | |
by umeboshi (Acolyte) on Jun 07, 2010 at 10:22 UTC | |
by ambrus (Abbot) on Jun 07, 2010 at 11:06 UTC | |
by bart (Canon) on Jun 07, 2010 at 11:23 UTC | |
by ikegami (Patriarch) on Jun 12, 2010 at 23:37 UTC |