If several elements are competing for the same bucket in the hash table, what is it called?

Category: QuestionsIf several elements are competing for the same bucket in the hash table, what is it called?
Editor">Editor Staff asked 5 months ago

If several elements are competing for the same bucket in the hash table, what is it called?
 
(a) Diffusion
 
(b) Replication
 
(c) Collision
 
(d) Duplication
 
I’m obligated to ask this question of Hash Tables in section Hash Tables of Data Structures & Algorithms I
 
This question was addressed to me by my school principal while I was bunking the class.

1 Answers
Editor">Editor Staff answered 5 months ago

Right answer is (c) Collision
 
Explanation: In a hash table, if sevaral elements are computing for the same bucket then there will be a clash among elements. This condition is called Collision. The Collision is reduced by adding elements to a linked list and head address of linked list is placed in hash table.


Notice: Trying to get property 'ID' of non-object in /home/fvckxqmi/public_html/wp-content/themes/blocksy/inc/single/single-helpers.php on line 17

Notice: Trying to get property 'ID' of non-object in /home/fvckxqmi/public_html/wp-content/themes/blocksy/inc/single/single-helpers.php on line 17

Notice: Trying to get property 'ID' of non-object in /home/fvckxqmi/public_html/wp-content/themes/blocksy/inc/single/single-helpers.php on line 17

Notice: Trying to get property 'ID' of non-object in /home/fvckxqmi/public_html/wp-content/themes/blocksy/inc/single/single-helpers.php on line 17
Articles: 40702