数据结构与算法 典型散列函数 直接定址 $$\mathrm{Hash}(key)=a\times key+b$$ 除数留余 $$\mathrm{Hash}(key)=key% p$$ 数字分析 平方取中 := $\mathrm{Hash}(key)=key^{2}$ 取中间几位