Splicing a random element out of an array takes on average linear time.
In reply to Re^2: getting random number 8 times never the same
by JavaFan
in thread getting random number 8 times never the same
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |