Open ssmath opened 3 years ago
@redhat123456 so slowly
什么时候操作完
已完成 2021/8/1
还得再改改
又好了
洗牌算法没有用到leetcode上的算法
而是使用了一个函数
_.shuffle([1, 2, 3, 4]); // => [4, 1, 3, 2]
著名的js库lodash 上的函数
后面进入这个方向的同学可以根据这个来进行学习,js库用得好也挺好的