A
artem
hi all,
i am trying to write a program that will give me all permutations of
the given set, with repetition.
ex:
set: {A,B,C} length: 3 (the user enters the set and the length)
AAA
AAB
AAC
ABA
......
ABC
i understand the algorithem, but still cant write it. could someone
give me the source for this or help me to write it.
thank you
i am trying to write a program that will give me all permutations of
the given set, with repetition.
ex:
set: {A,B,C} length: 3 (the user enters the set and the length)
AAA
AAB
AAC
ABA
......
ABC
i understand the algorithem, but still cant write it. could someone
give me the source for this or help me to write it.
thank you