Is there a way to generate a random permutation from a seed?

前端 未结 0 1519
不思量自难忘°
不思量自难忘° 2020-12-19 15:32

Lets say I have a seed shuffle,

export const seedShuffle = (arr, seed) => {
  const rng = seedrandom(seed);
  const          


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题