Which of the following most accurately describes the "load factor"? 单项选择题

A

The load factor is defined as the total number of elements n added, and hence the same as the number of keys.

B

When using quadratic probing, the load factor describes the total number of values defined for the hash function, but not necessarily related to the number of keys.

C

For a hash table with open addressing, the load factor is the size of the array.

D

For a hash table with chaining, it is the average chain length (avg length of the linked lists)

登录即可查看完整答案

我们收录了全球超50000道真实原题与详细解析,现在登录,立即获得答案。

更多留学生实用工具

加入我们,立即解锁 海量真题独家解析,让复习快人一步!