Question DSA-HASH-0006
EasyWhat is the load factor of a hash table?
- A.
Number of stored keys ÷ number of slots
- B.
Number of collisions
- C.
Show answer and explanation
Answer: A
A higher load factor means more collisions; tables usually resize when it passes a threshold such as 0.75.