Shuffle in O(n) time and O(1) space
有一个
Written by Vincent 强强
Related protips
1 Response
![](https://coderwall-assets-0.s3.amazonaws.com/uploads/user/avatar/67426/14gdH.jpeg)
Is it a question? For those interested
Fisher–Yates Shuffle is what you need.
over 1 year ago
·
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#