But if we wish to add another number in the given linked list we will get a linked list with seven nodes and 6 collisions?On Sun, Jun 7, 2015 at 7:23 PM, Mehreen Saeed <courses...@gmail.com> wrote:
It will be 5 collisions. The first key mapped to an index is not a collision.So if index 5 has: 34,32,45,12,46,78there are 5 collisions.MehreenOn Sun, Jun 7, 2015 at 7:04 PM, <ahmad...@gmail.com> wrote:Is moving across a linked list counted as collisions like in chain hashing will we be count the number of nodes in collision or not. Eg;should be a chain with 6 nodes counted as 6 collision or just one?