hi Everyone !!

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.

Recommended Answers

All 3 Replies

hi Everyone !!

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.

Clicky.

Thank you Alot Narue i really appreciate that .

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.