AbstractA changing collection of items to be chosen at random can be stored efficiently as an array. The method can be extended to maintain several sets and also to choose random samples without replacement. It is important to find such simple ways of structuring data.
展开▼