Re:Coding Horror: Finishing The Game
by pfedor on Thursday January 01, 2009 @02:10PM
(#416580)
This can be used as a warm-up question for another fun problem (which a friend of mine was asked during a phone screen for a position at DE Shaw): What if instead of telling you that they have two children at least one of them a girl, someone told you that they have two children at least one of them named, say, Linda? The assumption is that there are no boys named Linda, that the likelihood for a girl to be named Linda is not affected by having an older brother or sister, etc. It's not a trick question, nor a sociological problem requiring any knowledge about names, it's a purely mathematical puzzle. And, as you may have guessed, the solution is not the same as in the previous case (with two children at least one of them girl).
[ Parent
| on HN ]
someone told you that they have two children at least one of them named, say, Linda
You would need a special case to determine if you were talking to Johnny Cash's father...
I'm not sure what you mean. Is the question still the same? Then why wouldn't the result be 2/3rds in either case?