Baidu interview question

Describe an algorithm to shuffle an array