A collision occurs when the hash function used to index a hash table indices the element of an array to an already pre-existing value. For example, if the has function were a mod function by a value, you would run into collisions eventually.
A collision occurs when the hash function used to index a hash table indices the element of an array to an already pre-existing value. For example, if the has function were a mod function by a value, you would run into collisions eventually.