Union of sets in O(N)
Hi,
Suppose A,B,C.....are sets which contains real numbers between 0 and 1,
(U=Union)
I need to create a set S= AUBUCU...... in O(N)
It is also known that for every x,y belong to S
MIN(ABS(X-Y))>1/m (x!=y)
Where 1/m=O(N)
I am planning to use hash table to solve it but I wonder can I prove
from the above that a hash function without hash collision exist?
Thanks in advance.
.
Relevant Pages
- Re: Some comments on "super fast hash"
... SFH seems reasonably good and certainly is fast. ... > a hash, and SFH does not. ... The latest versions of each hash function which leverages this ... it must behave worse on other key sets. ... (comp.programming) - Some comments on "super fast hash"
... I've implemented a hash function here: ... SFH seems reasonably good and certainly is fast. ... quality of the hash function is not affected by the difference as far ... it must behave worse on other key sets. ... (comp.programming) - Re: Maximum String size in Java?
... >> compilation on any new target platform that does not already have ... Do you have a version of SFH posted with changes to use this file ... If they intend to use a hash ... benefit of 31/33 will sway me into using more than one hash function. ... (comp.programming) - Re: Suggestions for double-hashing scheme
... chain style and reprobe style are basically a wash. ... will be a smaller chance of encountering deleted entries before it. ... Once you sufficiently optimize a hash table, ... by computing of the hash function). ... (comp.programming) - Re: Maximum String size in Java?
... The hash function will *NOT* have the minimal collision ... > for long strings, so on average, SFH bakes it in the performance ... (comp.programming) |
|