Question: How do I design an address book (hashing based searching supported) ? I want my address book to record and store all data in a

How do I design an address book (hashing based searching supported) ?

I want my address book to record and store all data in a CSV file (initialized from a CSV file). Each record should have the basic fields included to collect data such as : user name, phone number, mobile phone number, address, memo.

I want it to use (mobile) phone number and user name item respectively as the keywords and build the

index with hashing

I want this to support searching with the user name and phone number/mobile phone number.

Lastly how do find a solution to avoid collision. Thanks.

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!