question for Mr.Wizard, need some assistant with hashtable, pop and push.
At this point, you decide to implement a Hash structure for the contributor data to prepare for searches. You will read the contributor information from a file provided; it is a comma delimited (CSV) file. As each record is read, create a Hash table for the ID field. The limitation for the Hash table is that it has a size of 5, so you need to be able to handle collisions. Collisions should be resolved through the use of a linked list for the ID values (implement this using a stack). Your design should include the following:
A Hash table pointing to a structure for a linked list that contains only the following information:
Each Hash Bucket Collision Item will have the following Information:
- ID: Integer; //identifier key for future needs
Hash Bucket Functions/Methods:
- Input constructor: //to accept a string for the name and additional information for each contributor (you will only need the ID portion of the input data)
- Hash Function constructor: (Hint: You only have 5 Hash buckets, so the function can be a very simple calculation.)
- Pop constructor
- Push constructor
- Print constructor: //to show the contents of a Hash bucket
12 years ago
20
Purchase the answer to view it

- datastructures_assign2.zip
- Suppose the sample space for a continuous random variable is 0 to 200. If the area under the density graph...
- just paraphrase( good one ) these 10 Answers from my friend. ( 8 hours )
- for geniusy_2006 only please
- Tori has very poor physical fitness. she wants to begin to exercise,but she doesn't know where to start . write...
- Managerial Accounting 1B Financial and Managerial Accounting Chapter 13
- Mike Bayville Only Mathlab
- How to use the word deposition in a sentence
- I have a graph with a int label and int cost associated with each edge. The graph is represented as...
- Rough Draft // DUE TODAY ASAP.....
- multinational companies operating in the global marketplace. Include one U.S. and one foreign company