This question is how to generate an array of all unique fixed integer numbers that the highest is equal to the length - 1 of the array.
An example of a result array: [3, 6, 4, 2, 1, 5, 0]
- All unique
- Random
- Highest number is in the highest number of the index (6)
This one is not: [3, 16, 4, 22, 19039, 555, 0]