Microsoft interview question

How would you implement a shuffling algorithm