Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

A very general solution, which works regardless of how the numbers in the envelope are picked:

Choose a monotonically increasing function f with values between 0 and 1. Choose one of the envelopes at random. Then look at the number x in the envelope. Then, with probability f(x) say that you have the larger envelope.



Yes. My suggestion is a special case of yours.

Both are equally baffling in how / why they work.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: