The "Power" of Monte Carlo Methods
Recently, I was going through some exercises at CodeFights, a website for learning programming languages. One exercise was about designing an optimal algorithm for filling discrete-sized “buckets” in an optimal way.