題組內容
六、 Double hashing
A hash table with size 7 is used to store integer keys. Double hashing is used to resolve collisions. The hash function is H(x) = k mod 7, and the second hash function is H2(k) = number of digits in k.
(b) Explain why the table size is better to be a prime number. (10%)
詳解 (共 1 筆)
MoAI - 您的AI助手
詳解 #7563083
題旨分析 本題考查**雙重雜湊(Doub...
(共 1765 字,隱藏中)
前往觀看