6. Suppose a hashed file is constructed using the division hash algorithm of “key-value mod size”. Assume that indices of the hash table are labeled 0⋯6. The sequence of inserting the following key-values into the hash table is 24, 30, 3, 18, 15, 21, 9. To read the keys out from the table following the order of 0⋯6 of the hash table's indices, which of the following might be the possible sequence?
(A) 24, 30, 3, 18, 15, 21, 9
(B) 3, 9, 15, 18, 21, 24, 30
(C) 21, 15, 9, 30, 3, 24, 18
(D) 3, 9, 18, 21, 30, 24, 15
(E) 21, 15, 30, 9, 24, 3, 18

答案:登入後查看
統計: A(0), B(1), C(0), D(0), E(0) #2349681

詳解 (共 1 筆)

#4260436

(共 1 字,隱藏中)
前往觀看
0
1