i need help guys with hash table in c ..could anyone help me by a little explaination of how to use hash tables ...please give examples..
Thanks in advance for all.
A hash table is a data structure that stores key/value pairs,hash function used to map identifying value and can be quickly searched by the key. The has function transforms the key into the index of an array from where we can get the value.
There are different operation like insertion and removal are dependent on the speed of the search,for that reason search should be fast as well. According to situation we can use different methods like Collision resolution,Separate chaining,Double hashing.