New answers tagged

2 votes

Find the list of combination (with repetition) given rank and number of items. (Lexicographic ordering)

First Take Your code gets the job done and is correct as far as I can tell. It would be more convenient if it was converted to a function. I have taken the liberty to do so as follow: ...
Joseph Wood's user avatar

Top 50 recent answers are included