Jump to content

Best shuffle: Difference between revisions

Line 1,370:
var aShuffled := self toArray.
0 to:(anOriginal length - 1) do(:i)
[
0 to:(anOriginal length - 1) do(:j)
[
if ((i != j) && $(anOriginal[i] != aShuffled[j]) && $(anOriginal[j] != aShuffled[i]))
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.