Hello Ranchers,
With the idea I got from my previous posts, I managed to create a Hash table by my own and used a Linked list for duplicate entries.
Now, the problem I have is: In my hash table I used a hashing function which will results hashcodes form 0-16.
So, there will be 17 keys. A a value will be stored in the place of its key. The main purpose of my program is to search for values & to get the result, using a method which will take a lesser running time. So, when I search for a string, if I convert it, I will get a key & that key may contains several different strings stored in a liked list.
What is the best way to retrieve the particular word, with minimum running time?
Do I need to use another hash table to store values of a key(using a different hashing function)?
If so, normally how many level's I have to go like this?
The main requirement of my program is to retrieve the stored data with minimum running time.
Please help me in this regard as soon as possible.
Thank you,
Usha