Random number without repetition

An array sounds exactly what you want here. Here’s a previous solution

1 Like