Question: Create a hash table ( i . e . , Separate Chaining ) using C + + unordered _ map application that performs the following.
Create a hash table ie Separate Chaining using Cunorderedmap application that performs the following.
Creates a Hash Table of elements consisting of string key and Circle element type uses a hash function, "MyHasher" that will generate the index for elements in the array.
a string of lowercase letters will be the key.
Allow insertion of a "Circle" objectstructure in the Hash Table
Creates and usesa function, "DisplayElement", that retrieves an element from the Hash Table using a string as the key that will generate the integer index by hashing
Displays a menu for user to access the following eg inserting, displaying, deleting
Inserting an elementDisplaying an elementErase a single elementDeleting all elementsTerminating application
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
