3 ms·
Is there a O(n) shuffling algorithm? In place, I don't think so.
by chopin 10mo ago
Is there a O(n) shuffling algorithm? In place, I don't think so.
- tialaramex 10mo agoUm, the "Knuth Shuffle" aka "Fisher-Yates" ? https://en.wikipedia.org/wiki/Fisher%E2%80%93Yates_shuffle https://en.wikipedia.org/wiki/Fisher%E2%80%93Yates_shuffle