阿摩線上測驗 登入

申論題資訊

試卷:106年 - 106 國立中山大學_碩士班招生考試_電機系(丙組):資料結構#110221
科目:中山◆電機◆資料結構
年份:106年
排序:0

題組內容

6.[10] Suppose we have the following 11 integers: 
44,30,95,33,50,82,18,55,70, 64,26
 Please create a hash table AA with 13 entries declared by
 int AA[13];
 Let's insert the integers one by one and from the left to the right into the hash table. Assume the hash function is h(k) = k%13 and linear probing is used for collision resolution. Note that % yields the remainder when one integer is divided by another, for example, 20%13 = 7 and 5%13 = 5. Please answer the following questions:

申論題內容

6.3 [2] What is the content of A[6]?