Domanda di colloquio di Amazon

Randomize an array such that all outcomes are equally likely