[Solved] How to randomly generate numbers that don’t repeat?


How does one generate a random number in Apple’s Swift language?

check this answer, you can then write an easy function to check your array or data structure for duplicate numbers.

0

solved How to randomly generate numbers that don’t repeat?