Timeline for Algorithm for creating n-multiset out of x?
Current License: CC BY-SA 4.0
7 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
S Dec 4, 2019 at 19:08 | history | suggested | Marcelo Fornet | CC BY-SA 4.0 |
Use latex binom
|
Dec 4, 2019 at 18:50 | comment | added | Marcelo Fornet |
But in practice I just recommend you take a look at the solution proposed by @D.W. There are already tools to do this on several languages, usually under library named like itertools .
|
|
Dec 4, 2019 at 18:49 | comment | added | Marcelo Fornet |
A really bad, but working idea is: instead of 15 loops from 1 to 21, you can do 15 loops so that each loop start at the next position of the previous loop, something like: for i = 1..21 { for j = i+1..21 {... }}
|
|
Dec 4, 2019 at 18:45 | review | Suggested edits | |||
S Dec 4, 2019 at 19:08 | |||||
Dec 4, 2019 at 0:47 | answer | added | D.W.♦ | timeline score: 2 | |
Dec 3, 2019 at 23:00 | review | First posts | |||
Dec 4, 2019 at 18:45 | |||||
Dec 3, 2019 at 22:55 | history | asked | Christian H. Kuhn | CC BY-SA 4.0 |