CC150 20.3

20.3 Write a method to randomly generate a set of m integers from an array of size n. Each element must have equal probability of being chosen.

// Similar to 20.2

// This assume m <= n


你可能感兴趣的:(interview)