Question: Write a full java implementation that covers the process of Open hashing and including the following 1 . Reads the names from the given file
Write a full java implementation that covers the process of Open hashing and
including the following
Reads the names from the given file "inputfile" to hash them using
chaining hashing to solve any collision.
Construct an array of objects of type linked list to store names by
their hash keys.dont use a builtin methods
The size of the array should be locations at Least.
Initialize all linked lists with the value in the first node to
indicate that the linked list has no names empty linked list
Use the hash code and hash function you have learnt in class to find the
hash key.
Insert any given name in its proper location depending on its hash
key. use the absolute value in the end
Your implementation should have methods for add, delete, and search
processes.
A method to search for a name in the array and return its index and
location in the linked list
A method to return the size of the linked list at any given index.
Use a menu for your choices, read, delete, search, print ets.
Include any additions you see it is important.
keep place for the input file i will add it
after deleting return the stars to indicate that is empty place
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
