PreviewLabs interview question

How would you make a shuffling algorithm