19. Consider an empty hash table with 10 buckets and each bucket has 2 slots. Suppose that linear probing is used to handle overflow and the following is used as the hash function: h(n) =n % 10.Now we sequentially insert the following numbers into the hash table:5 15 23 44 3 53 6 4 109 What is the summation of the numbers in the full buckets of the hash table?
(A) 153
(B) 150
(C) 262
(D) 43
(E) none of the above
(A) 153
(B) 150
(C) 262
(D) 43
(E) none of the above
答案:登入後查看
統計: A(0), B(0), C(0), D(0), E(1) #3067425
統計: A(0), B(0), C(0), D(0), E(1) #3067425