HashedDictionary
Budget $10-30 USD
Use the java files, “[login to view URL]”, [login to view URL]”, and [login to view URL]”, provided by
the instructor to complete this project. For this project you have to complete the following tasks:
1. Write a private method int randomProbe(int index, K key) for class
HashedDictionary that implements random probing for collisions.
Use the set of prime numbers as pool of pseudo-random numbers.
2. Write a public method add and private method locate of class
HashedDictionary to use method randomProbe.
3. Use the skeleton java file, HashedDictionaryTest, to test the
HashedDictionary class. To test different operations on the hash
table, the program will read a text file provided by the user which
contains add, remove, locate, and display operations in the
following format:
add 555-1234 Tabatha
add 555-1235 Toni
locate Toni
remove Tabatha
add 555-1236 Tobbie
locate Tabatha
…
Extra credit (25 points)
Evaluate random probing by implementing a different collision resolution method, then compare the total
number of collisions occurred between the two methods after completing all operations from the input
file.
IMPORTANT
Follow the various style conventions we’ve discussed in class (variable naming, constants, spaces, etc)
including putting comments in your program.
1. The program must compile without errors.
2. Your program must have the following comments at the top. Don’t forget to include them because
they will count toward the grade of this lab.
Awarded to:
Hello, warm greetings! I am a Java developer working on Java and javascript technology since 7+ years having hands on windows and web development experience. I would like to help in your application development. More
3 freelancers are bidding on average $31 for this job
hello,how are you.i read your bid carefully. i am java/javafx expert and have full experience for 12 years. java/javafx is my top skill and passision. i can provide most quality and high speed. if you want to succe More
"Hi, Hope you are doing well! Thanks for sharing your project requirement with us. It will be our great pleasure to work on your project. I have checked your requirement, yes we can do it, because we already work on si More