.@propensive shared an interesting problem yesterday, and I thought it might be a fun exercise to code up a simulation of it in scala. Check it out:https://github.com/zakpatterson/nprisonerproblem …
-
-
It's in the readme! Here it is for 1 million trials: bestStrategy: Lived 312304 times (31.230%)
-
Oh, I missed that bit! Seems about right. :)
- Show replies
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.