阿摩線上測驗 登入

試題詳解

試卷:107年 - 107 國立中山大學_碩士班招生考試_電機系(丙組):資料結構#110049 | 科目:中山◆電機◆資料結構

試卷資訊

試卷名稱:107年 - 107 國立中山大學_碩士班招生考試_電機系(丙組):資料結構#110049

年份:107年

科目:中山◆電機◆資料結構

19. An empty hash table has a capacity of 13, and you insert six entries with keys 20, 15, 7, 9, 21, 33, and 48. Using linear probing and the hash function x%(13), what index 21 is stored at in the table? Note that % is the remainder operator, e.g., (100)%(13)=9.
(A) 7;
(B) 8;
(C) 9;
(D) 10.
正確答案:登入後查看