Chapter 6: Q56SE (page 440)
Devise an algorithm for generating all the r-combinations of a finite set when repetition is allowed.
Short Answer
The algorithm for generating\(r - \)combinations of a finite set when repetition is allowed
\({n_{{c_r}}} = \frac{{n!}}{{r!\left( {n - r} \right)!}}\)