Perfect hashing (And Minimal perfect hashing)
Perfect Hashing:
A hash function that is injective—that is, maps each valid input to a different hash value—is said to be perfect.
With such a function one can directly locate the desired entry in a hash table, without any additional searching.
Minimal perfect Hashing:
A perfect hash function for n keys is said to be minimal if its range consists of n consecutive integers, usually from 0 to n−1. Besides providing single-step lookup, a minimal perfect hash function also yields
a compact hash table, without any vacant slots. Minimal perfect hash functions are much harder to find than perfect ones with a wider range.
想要看到更多学习笔记、考试复习资料、面试准备资料?
想要看到IBM工作时期的技术积累和国外初创公司的经验总结?
敬请关注:
[CSDN](https://blog.csdn.net/u013152895)
[简书](https://www.jianshu.com/u/594a3de3852d)
[博客园](https://www.cnblogs.com/vigorz/)
[51Testing](http://www.51testing.com/?15263728)

浙公网安备 33010602011771号