Amazon Interview Question

Randomize an array such that all outcomes are equally likely