Saturday, October 18, 2008
MS interview problem(zz)
I was asked how to select M numbers from N existing numbers randomly and fairly (N>M). Example, assume that there are 10 numbers, you need to select 3 numbers from them randomly.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment