Search:

Type: Posts; User: laserlight

Search: Search took 0.31 seconds.

  1. Replies
    5
    Views
    2,236

    In this case, since it appears that Exorcist...

    In this case, since it appears that Exorcist wants an array whose size is as large as the range of possible numbers, that may not be as efficient as normal shuffling since the chance of producing a...
  2. Replies
    5
    Views
    2,236

    Fill the array with the integers from 1 to 10....

    Fill the array with the integers from 1 to 10. Shuffle the array, and you're done.

    To shuffle the array, first select at random one of the array elements, then swap it with the first element....
Results 1 to 2 of 2