I have up to 10,000 such data:
I have to use a hash table with open adressing for collision resolution to store this data and retrieve them effectively, on the basis of the isbn.Code:typedef struct { char authors[5][40]; // first and last names of the author char title[50]; // title of the publication unsigned int year; // year of the publication char isbn[15]; // publication code } PubEntryT;
I'm having problems understanding how to store this data.
I can't figure out what is the key of the hash table here?
When does the collision happens?
Give me examples using this data please.



LinkBack URL
About LinkBacks



