A hash crash

Computer Science Level pending

Suppose our Hash tables has 1000 slots. Under the simple uniform hashing assumption, the probability that three distinct elements hash to the same slot can be expressed as a ratio a b \dfrac{a}{b} , where a a and b b are coprime positive integers . Find a + b a+b .


This problem is a part of the Hash Crash Series


The answer is 1000001.

This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try refreshing the page, (b) enabling javascript if it is disabled on your browser and, finally, (c) loading the non-javascript version of this page . We're sorry about the hassle.

0 solutions

No explanations have been posted yet. Check back later!

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...