Re:140 Google Interview Questions
by ez77 on Tuesday November 30, 2010 @05:45AM
(#1953732)
Thoughts?
[ Parent
| on HN ]
A good analogy for this is flipping a coin. What is the proportion of total heads to total tails if a population of people each flip a coin until they get a heads. The answer is fairly trivial, as each coin flip is independent. Given a fair coin, you would expect the answer to be near 1. You could always calculate the variance given the population size using the binomial distribution.
A more fruitful question might be: what is the average family size in a country with these birthing habits?
Its been discussed on MathOverflow: http://mathoverflow.net/questions/17960/google-question-in-a...
If we assume there's an even chance of having a boy or girl, the proportion of boys to girls is still 50/50. It's basic stats. These are independent events.
Smart-ass, no-way-getting-an-offer answer: if we assume gender selection to be truly random, the answer may be anywhere between 0 and 1, period.