Question: In C++ Using your DynamicArray and your Doubly-Linked list, create a Hashtable. The Hashtable is a DynamicArray of LinkedLists. The LinkedLists handle the collisions. Read

In C++

Using your DynamicArray and your Doubly-Linked list, create a Hashtable. The Hashtable is a DynamicArray of LinkedLists. The LinkedLists handle the collisions. Read the Customer.csv data file and store it in a ADT. For example:

class Customer string lastname string firstname string id Sample Data: perez,diana,86824983-3587182 oxford,greg,49451687-6884854 smith,tsung,34722447-9802850 Place each ADT data object into the Hashtable structure using a custom Hashing function. I recommend coding a Hashing Function based on the Customer-id, but you could also use either the first of last name fields. Try to keep the collision rate under 10% if possible, but if it's over 25% refactor your Hashing Function.

PreviousNext

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!