15 ms·
You can calculate the probabilities and expected number of collisions analytically, but evaluating the expressions numerically is tricky for large numbers. I ca
by whyever 2y ago
You can calculate the probabilities and expected number of collisions analytically, but evaluating the expressions numerically is tricky for large numbers. I can recommend https://herbie.uwplse.org/ https://herbie.uwplse.org/ to rewrite the expressions into a form that can be evaluated.