Previous: 简明Hoare Logic
Next: A Lemma in Graph Theory
Drawing Balls from a Bag
2018-12-14
There is a puzzle being asked in my company mailing list:
You have r red balls and w white balls in a bag. You keep randomly drawing balls from the bag, until the bag only has one color in it. What is the probability that the bag has only white balls?
Here is my answer and analysis to this puzzle: link