Given as input two integers:
Nthe length of the expected array
Rthe interval's range starting in one:
Output in each run of your program/function one different array of length
N with values between
1..R in such a way no one value occurs more than once.
You must use
R-value in your code.
You can assume:
2 <= N <= R.
But of course, it is open to all languages!
If your language can not return an array, you can print all the numbers ;)