I am generating discrete uniform random numbers from 1 to 6. I want to find the index of the array by which point all of the numbers from 1 to 6 have been generated. I am arbitrarily generating 100 numbers at a time (under the pretty safe assumption that all distinct numbers have been generated within 100 numbers).
Aucun commentaire:
Enregistrer un commentaire