Baidu Interview Question

randomly disorder an array