Javascript – Algorithm to repeatedly pseudorandomly select from a set, without frequent repeats
I have an array of things (conceptually a set, but let's implement as an array), say [A, B, C, D, E, F]. I need an algorithm that can pseudo-randomly pick an item from the array such that no item will…