• Visitors can check out the Forum FAQ by clicking this link. You have to register before you can post: click the REGISTER link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. View our Forum Privacy Policy.
  • Want to receive the latest contracting news and advice straight to your inbox? Sign up to the ContractorUK newsletter here. Every sign up will also be entered into a draw to WIN £100 Amazon vouchers!

Google Interview Question - Probability

Collapse
X
  •  
  • Filter
  • Time
  • Show
Clear All
new posts

    #41
    Visualise the problem differently:
    1. The first couple keep having babies until a boy is born.
    2. Then the next couple start having babies until a boy is born to them.
    3. Continue through the rest of the couples.
    In this case, the couple gets replaced but the baby production just continues.

    For each baby, the likelihood of it being boy/girl (50:50 or 52:48 or whatever) will not change.

    So, the likelihood of boy / girl remains the same as it would if the couples continued having babies.

    If all those couples' activities were then made concurrent, the ratio would still remain the same.


    How's that for a solution & explanation?
    My all-time favourite Dilbert cartoon, this is: BTW, a Dumpster is a brand of skip, I think.

    Comment

    Working...
    X