« first day (1563 days earlier)      last day (3172 days later) » 

12:08
Hello
 
4 hours later…
17:12
1
Q: Is this probability distribution data structure already discovered?

coderoddeProblem formulation I have implemented an interesting probability distribution data structure: having $n$ elements $a_1, a_2, \dots, a_n$ in the data structure with respective positive weights $w_1, w_2, \dots, w_n > 0$, upon request each $a_i$ may be returned with probability $$\frac{w_i}{\sum...


« first day (1563 days earlier)      last day (3172 days later) »