摘要: 简介: 有许多哈希函数,其中很普遍,好用的一个就是BKDR函数. BKDR_hash: 将string串转化为一个x进制的数字储存. 例如: string T={1,2,3}; x=6; hash_code=1*+2*+3; 扩展为: string T={T1,T2,T3}; hash_code=T 阅读全文
posted @ 2021-12-22 11:52 冷月半明 阅读(23) 评论(0) 推荐(0)