Loading [MathJax]/jax/output/HTML-CSS/fonts/TeX/fontdata.js

EmptySoulist's blog

By EmptySoulist, history, 4 years ago, In English

One day I thought of an interesting problem :

“ Given n elements that are initially 0, operate k times, each time will randomly select an element, increase it by 1, and find the expected value of the maximum value among the n elements”

I used to think it was a very simple problem (at the beginning), but actually I couldn't find any good solution (at the beginning, I only knew an O(k2lnk) solution)

After asking some powerful people, I learned one way to solve this problem in O(poly k53)/O(nk1.5). (thanks them.)

It is unimaginable to me that the solution of a seemingly simple problem is so difficult, Could any one find a better solution? Thank you !

Full text and comments »

  • Vote: I like it
  • +67
  • Vote: I do not like it