Hi there,
Looking to get some ideas on the best approach to doing permutations with repetition please. If I have an array with {x,y,z,…} distinct elements and want to generate all permutations to a length of N allowing repetition, how would I be best to go about doing this?
Thanks