問題詳情

6. Suppose a hashed file is constructed using the division hash algorithm of “key-value mod size”. Assume that indices ofthe 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 followingmight 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

參考答案

無參考答案

內容推薦

內容推薦