Collision is caused due to the presence of two keys having the same value.

Category: QuestionsCollision is caused due to the presence of two keys having the same value.
Editor">Editor Staff asked 1 month ago

Collision is caused due to the presence of two keys having the same value.
 
(a) True
 
(b) False
 
This interesting question is from Hash Tables topic in division Hash Tables of Data Structures & Algorithms I
 
The question was asked in final exam.

1 Answers
Editor">Editor Staff answered 1 month ago

Right choice is (a) True
 
Explanation: A collision is caused due to the presence of two keys having the same value. It is handled by using any one of the two methods namely:- Chaining and Open addressing.