In a hash table, how would I calculate the number of collisions?

53 Views Asked by At

So far I have a list of how many times each hash value is repeated. However, when I sum all the repeated values together it ends up just being the total number of values in the dataset. So how would I count the number of collisions in the data set?

I tried suming all the repeated values together

0

There are 0 best solutions below