Question: I need help creating code in java for a hash table using the requirements below. A Hash table pointing to a structure for a linked
I need help creating code in java for a hash table using the requirements below.
A Hash table pointing to a structure for a linked list that contains only the following information:
Each Hash Bucket Collision Item will have the following Information:
ID: Integer; //identifier key for future needs
Hash Bucket Functions/Methods:
Input constructor: //to accept a string for the name and additional information for each contributor (you will only need the ID portion of the input data)
Hash Function constructor: (Hint: You only have 5 Hash buckets, so the function can be a very simple calculation.)
Pop constructor
Push constructor
Print constructor: //to show the contents of a Hash bucket
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
