PreviewLabs Interview Question

How would you make a shuffling algorithm