Random permutations by random bit

前端 未结 0 1783
别那么骄傲
别那么骄傲 2021-01-22 09:00

In this algorithm, we have a random bit source that generates one bit randomly (p(0) = p(1) = 1/2) to decide to swap the data or not.

Now the question is that:

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