Friday, June 15, 2012

true and false

Given a function bool Zoo(int x) and its called for y times , how you will generate the true with probability x/y times .

No comments:

Post a Comment