[algogeeks] Re: Hashing problem with collision

2010-01-07 Thread Geoffrey Summerhayes
On Jan 7, 10:10 am, Vijay wrote: > Thanks for response. > > Can you please tell me what will be the contains of Hash table and how > searching works? > > Lets say, we have one data like > Key       Data > === > IP1 -  Sys1 > IP8    Sys8 > IP2    Sys2 > > Lets say, there are keys  "IP1" a

[algogeeks] Re: Hashing problem with collision

2010-01-07 Thread Vijay
Thanks for response. Can you please tell me what will be the contains of Hash table and how searching works? Lets say, we have one data like Key Data === IP1 - Sys1 IP8Sys8 IP2Sys2 Lets say, there are keys "IP1" and "IP8". and Hash_function will return 1 as index for both

[algogeeks] Re: Hashing problem with collision

2010-01-07 Thread Geoffrey Summerhayes
On Jan 6, 2:54 pm, Vijay wrote: > Hi All, > > I have one question about Hashing. > > Say I have one Hash table where > index Hash_function(key) function will return index value of > corresponding string/key. > Hash_insert(key) function it will take key and get converted index > value using Hash_fu