-->
当前位置:首页 > 题库 > 正文内容

单选题:Insert $\{18, 23, 4, 26, 33, 31,17, 39\}$ one by one into a hash

Luz4年前 (2022-01-18)题库635
Insert $\{18, 23, 4, 26, 33, 31,17, 39\}$ one by one into a hash table of size 13 with the hash function $H(x)=x\%13$, and linear probing is used to resolve collisions. What is the loading density when the first collision occurs?




A.0.31
B.0.23
C.0.46
D.0.38


答案:D

发表评论

访客

◎欢迎参与讨论,请在这里发表您的看法和观点。