4 ms·
> In fact, you need much less How many iterations does that take on average? And why?
by pavel_lishin 8y ago
> In fact, you need much less
How many iterations does that take on average? And why?
- resource0x 8y agosee https://math.stackexchange.com/questions/1409862/average-length-of-a-cycle-in-a-n-permutation https://math.stackexchange.com/questions/1409862/average-len... Which gives you 1000/7.48, not 1000/2