Ok so i am really bored and have decided to make a lottery calculator type thing (yes i know, i am sad!)
Anyway, i was wondering if there was a java library method/class for working out permutations/combinations. I want to generate all possible number sets, that have 6 numbers from 1 - 49 with no repeats in them
If this isnt available as a pre written method, whats the best approach for me to write my own?
Thank you