Question: We want to devise a program that can tell whether an input name is the name of a boy or a girl. You can assume
We want to devise a program that can tell whether an input name is the name of a boy or a girl. You can assume that list of all possible names and their corresponding gender association is already available. One possible way is to store all these names in a hash table as key value pairs, where key is the name and value is its associated gender. What is the most suitable hash function for this type of data?
Answer in concepts of data structures in C++ please. No code only breif 2-3 lines concept
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
