I don't know which company these are from. It's funny how I'd be pissed if my interview questions leaked, but here I am leaking questions. I think #1 is particularly interesting, but that is just maybe because it confounded some of my coworkers.
- Redacted
- The following decision procedure is used to pick a red or black ball from a pair of jars.
( Read more... )
Comments 6
Reply
For the second problem, place 1 red marble in one jar, the remaining marbles in the other jar. This can be shown to be a maximum probability as follows. Let r,b be the number of marbles in the 1st jar. WLOG p(red) for the 1st jar >= 1/2, p(red) for the 2nd jar <= 1/2. If the first jar has at least one blue marble, p(red) is at most 50/51, and p(red) for the 2nd jar is at most 1/2. The scenario posited to be best has this sum equal to 1+49/99 = 148/99. The other case has sum at most 50/51 + 1/2 = 151/102. Now 148/99 > 3/3, so by the intermediate property of fractions, 148/99 > (148+3)/(99+3) = 151/102.
Reply
3 would be that everyone comes outside and stands in the middle where the red hats and black hats meet
Reply
Reply
Reply
Reply
Leave a comment