Array and queue randomization: foreach and unique constraintLet’s say that you need to generate a random queue of data.