37 ms·
I may be misinterpreting the question here but can't the author just use a large prime to to pull from the array like you would when hashing? Its how you would
by floor_ 7y ago
I may be misinterpreting the question here but can't the author just use a large prime to to pull from the array like you would when hashing? Its how you would in place shuffle a music playlist.