Hacker News new | ask | show | jobs
by momonga 1799 days ago
I think you can do this with a Fisher-Yates shuffle (https://en.wikipedia.org/wiki/Fisher%E2%80%93Yates_shuffle), right?