sindresorhus / unique-random

Generate random numbers that are consecutively unique
MIT License
116 stars 15 forks source link

Used set method for unique random number generation #20

Closed BLANK00ANONYMOUS closed 1 year ago

BLANK00ANONYMOUS commented 1 year ago

Hello Sir, i tried to come up with set solution. In this essentially if i ask for 1800 random superheroes it gave me 1800 unique superheroes or whatever is the upper limit of superheroes list in the json file