0 people like it.
Like the snippet!
get all combinations (as array index values) with k items from n items. indexes are 1 based
1: 2: 3: 4: 5: 6: 7: 8: 9: 10: 11: 12: |
|
| Link: | http://fssnip.net/858 |
| Posted: | 4 years ago |
| Author: | snuup |
| Tags: | combinations |