Introduction - If you have any usage issues, please Google them yourself
Random number does not repeat
There are three algorithms to generate random numbers N does not repeat order. N compared under different conditions of the three algorithms running time and complexity analysis.
Function of time to generate a random number N, then according to the above three algorithms, both by generating different the previous generation number of the i-th comparison, the same are removed, different fill or keep a record of whether the array element to Compare or use swap function swap implementation. To achieve not repeat random number.