Data Structure Hash Tables Question #5689
Single Choice Easy

QWhat is the load factor of a hash table?

ID: #5689 Hash Tables 147 views
Question Info
#5689Q ID
EasyDifficulty
Hash TablesTopic

Choose the Best Option

Click any option to instantly check if you're correct.

  • A The number of elements in the table divided by the number of slots in the table.
  • B The number of collisions in the table divided by the number of elements in the table.
  • C The number of slots in the table divided by the number of elements in the table.
  • D The number of elements in the table divided by the size of the hash function.
Correct Answer

Explanation

The number of elements in the table divided by the number of slots in the table.

Share This Question

Challenge a friend or share with your study group.