Title:
Random-number-does-not-repeat Download
Description: 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.
To Search:
File list (Check if you may need any files):
Cpp0.plg
Cpp0.cpp
Cpp0.dsp
Cpp0.dsw
Cpp0.ncb
Cpp0.opt