You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Running against the test where n = data.len() and data = vec![0,1,2,3,4,5] we get duplicate picks
The algo is not rigourously described and the way it is coded does not guarantee unicity of the picks
https://dev.to/babak/an-algorithm-for-picking-random-numbers-in-a-range-without-repetition-4cp6
The text was updated successfully, but these errors were encountered: