Closed

Write java code to build an open-address hashtable

This project received 19 bids from talented freelancers with an average bid price of $50 USD.

Get free quotes for a project like this
Employer working
Project Budget
$10 - $20 USD
Total Bids
19
Project Description

Build an open-address Hash Table to store with size Z=100 social security numbers(SSN) using arrays only. Build the following classes :

• [url removed, login to view]

• [url removed, login to view]

1.A) Use Hash function H(x) = Key%Size.

1.B) [url removed, login to view] is a class for building and processing Hash Tables, see the description in “[url removed, login to view]”.

1.C) [url removed, login to view] is a class/program for testing the HashBag class. [url removed, login to view] must do the following:

1) Generate a random set S of 10 social security numbers (XXXXXXXXX). Write it to a text file called “[url removed, login to view]” using format F.

2) Read the SSN from “[url removed, login to view]” and insert them to an array(Hash Table) T, one-by-one using the chosen Hash function H(x).

3) Display the given Hash Table(array).

4) Let the user enter a SSN: A. Search to see if A is in T. Display the search result(if A is found or not and index of A if it is found).

5) Let the user enter a SSN: B. Remove B if there is B in T. Display B and the remove result(if B is found and removed or not and index where B is removed).

6) Let the user enter a SSN: C. Insert/add C to Hash Table/array T.

7) Display the new Hash Table(array) after the removal and addition.

MORE DETAILS IN DOC FILE

Looking to make some money?

  • Set your budget and the timeframe
  • Outline your proposal
  • Get paid for your work

Hire Freelancers who also bid on this project

    • Forbes
    • The New York Times
    • Time
    • Wall Street Journal
    • Times Online