Question: Write a class for hash table using chaining. Class must contain following functions: 1. Insert an element in hash table 2. Search an element
Write a class for hash table using chaining. Class must contain following functions: 1. Insert an element in hash table 2. Search an element in hash table 3. Delete an element in hash table 4. Return the number of chains currently present 5. Display hash table Write a main function to test class. Note: Use STL list in your program.
Step by Step Solution
3.44 Rating (154 Votes )
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
