Question
PLEASE READ ENTIRE QUESTION!! Output directions are at the end. create a hash table for names (first name and last name only, no telephone numbers),
PLEASE READ ENTIRE QUESTION!! Output directions are at the end.
create a hash table for names (first name and last name only, no telephone numbers), and use the following to generate the keys:
unsigned char key = 0;
for (int i = 0; i < fullName.length(); i++) {
key ^= fullName[i];
}
Your instructor will be using the following list of names to test your program:
Uzoma Acholonu
Giuliana Asmad
Michael Atkins-Combs
Vishnu Bakthisaran
Christopher Blowars
William Bronson
Trevor Butcher
Tiffany Caceres-Bonilla
Dulce Castro
David Cifuentes
Daniel Coursen
Alexandra Davilla
Amanda Dewitt
Alfredo Diaz
Jan Espinosa
Anthony Farrisi
Seth Fenstermaker
Daniella Gabout
Regina Green
Kelly Gregory
Bryan Houser
Michael Jackamorris
Kevin Kim
Benjamin Lee
Kyle Lighting
Perlamassiel Lopez
Omran Losinno
Lisa Maine
Derrike Mason
Andrew McCalla
When done loading the hash table print out the contents of each occupied entry, and any other entries pointed to by an occupied entry in the following format (use tabs, the columns do not have to line up):
Slot 51 is occupied with
Alexandra Davilla Ryan Snyder
Slot 56 is occupied with
William Bronson Derrike Mason Taylor Schnappauf Jason Spiegel
You do NOT have to print out the statistics
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started