Find Jobs
Hire Freelancers

Telephone List + Hash Table Utility

$30-50 USD

Completed
Posted about 21 years ago

$30-50 USD

Paid on delivery
I need a hash table template (for use with other programs) and an interactive telephone lookup program. There are several kinds of hash table; the kind described here uses “separate chaining??. A “hash value?? is calculated from the key. The hash value is much smaller than the key. Different keys may generate the same hash value. The hash value is used to index into an array of singly linked lists. Each entry in the list contains the key and data for an entry which has the same hash value. To add an entry the hash table, compute the hash key and add the entry to the list indexed by the key. To find an entry, compute the hash key and then walk down the list of entries indexed by the hash key until the matching key is found. To remove an entry, find it and remove it from the list. Write a class template which will implement a hash table. Allow the user to specify the class to be stored in the hash table, the class of the key, and the number of entries in the array of lists. The key class should provide a member function hash() which will compute the hash value, as well as defining operator== which will compare two key values. Use this template to implement an interactive telephone list. Use the person’s name as the key. When found, display the matching telephone number. If not found, ask if a new entry is to be created. ## Deliverables 1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done. 2) Complete ownership and distribution copyrights to all work purchased. ## Platform Should be standard C++ code and should compile with g++
Project ID: 2923096

About the project

7 proposals
Remote project
Active 21 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
Awarded to:
User Avatar
See private message.
$34 USD in 14 days
4.8 (14 reviews)
4.5
4.5
7 freelancers are bidding on average $33 USD for this job
User Avatar
See private message.
$42.50 USD in 14 days
5.0 (158 reviews)
7.5
7.5
User Avatar
See private message.
$34 USD in 14 days
4.9 (212 reviews)
5.8
5.8
User Avatar
See private message.
$12.75 USD in 14 days
4.1 (43 reviews)
5.0
5.0
User Avatar
See private message.
$40.80 USD in 14 days
4.9 (79 reviews)
4.7
4.7
User Avatar
See private message.
$42.50 USD in 14 days
5.0 (18 reviews)
4.2
4.2
User Avatar
See private message.
$21.25 USD in 14 days
4.9 (5 reviews)
1.9
1.9

About the client

Flag of UNITED STATES
United States
5.0
8
Member since Apr 6, 2003

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.