Chapter 6: Q55SE (page 440)
Devise an algorithm for generating all the r-permutations of a finite set when repetition is allowed.
Short Answer
Device an algorithm for generating all the \(r - \)permutation of a finite set when repetition is allowed.