How do I efficiently and randomly shuffle 3 copies of each of n things into k piles so that no pile contains the same thing twice?

0 favourites 2 retweets

View this tweet on twitter.com

This tweet as JSON