Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
Getting a Fair Flip out of an Unfair Coin
(
jjinux.blogspot.com
)
2 points
by
gcheong
on June 3, 2011
|
hide
|
past
|
favorite
|
1 comment
yaks_hairbrush
on June 3, 2011
[–]
John von Neumann came up with this algorithm. Basically, it goes like this: flip coin twice. If result is HH or TT, flip it twice again. If result is HT, player 1 wins, if result is TH, player 2 wins.
Consider applying for YC's Spring batch! Applications are open till Feb 11.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: