Hello everyone....

I am trying to generate a random unique array which would have in it all the whole numbers up to n.
For an example.
If n=10
Then it may give the following output
9
5
4
2