DISQUS

DISQUS Hello!  The comments on this profile are unclaimed and thus are unverified.

Do they belong to you? Claim these comments.

ken vh's picture

Unregistered

Feeds

aliases

  • ken vh

ken vh

11 months ago

in Interview Questions: Two Bowling Balls | 20bits on 20bits
I couldnt help myself and went ahead and found the optimal strategy under the (not unreasonable) assumption of uniform distribution. The 14 strategy outlined above is the best worst case, but it will always take 14 tries. The following sequence of skips has the optimal expected tries of around 12.84--not much of an improvement--with worst case 19:

10, 9, 9, 8 ,8 ... 3, 3, 2, 2, 1, 1
1 reply
Jesse Farmer's picture
Jesse Farmer Yeah, the idea is that the person placing the light bulb is actively working against you and knows your strategy beforehand.

Can you share the math that gave you those numbers? I'd be interested in taking a look.
Returning? Login