It runs in O(n) time so I'm not sure there's a way to improve this. It looks like you've implemented the algorithm pretty well, according the Fisher-Yates ...
確定! 回上一頁