KATA: Write a simulator of eating chex mix, where you grab a handful, pick out the good stuff, put the rest back in & redraw. What is the distribution of draws before you're pretty sure all the good stuff is gone? Draw the despair graph as you realize it is just pretzels now.
Post
July 31, 2019