假定有k个关键码互为同义词 即hash函数结果相同 若采用闭散列的线性探测法把这k个关键字存入散列

大学网课 已帮助 人

假定有k个关键码互为同义词,即hash函数结果相同,若采用闭散列的线性探测法把这k个关键字存入散列表中,至少要进行()次探测? If there are k key values which are synonyms of each other, which means their return values of hash function are same, if we insert these k key values into the hash table by linear probing of closed hashing, we need to probe at least () times.

A.k

B.k-1

C.k*(k+1)/2

D.k+1

假定有k个关键码互为同义词 即hash函数结果相同 若采用闭散列的线性探测法把这k个关键字存入散列

热搜:商业模式画布主要有几个核心关键要素