hash algorithm

Moshe Raab raab at novavax.UUCP
Wed Aug 17 03:24:55 AEST 1988


could anyone recommend a hashing algorithm to store a list of 10
digit phone numbers (area code plus 7 digits).
It should have little or no overflow and no collisions (as few as
possible). The list will contain more than one area code but
about 1000 numbers per area code (ie not a totasly random sample
but one which has a relatively common prefix)
thank you very much.



More information about the Comp.lang.c mailing list