I have written code which randomly generates number and stores them in a hashset to prevent duplicates. However, each time i run the generator i need to generate a specific number as well as some other numbers and then store all the values including the number i wanted generated stored in a hashset in a random order.
What would be the best way to do this?
Aucun commentaire:
Enregistrer un commentaire