Snap interview question

How to return a permutation of an array by equal probability?