Question: ( python ) TASK 1 ( 2 0 pts ) : Implement the HashTable class provided be the slides ( Search and Sort _ MapADT
python TASK pts: Implement the HashTable class provided be the slides Search and SortMapADT: You can choose to define it within the main.py or create another HashTable.py and imports it back in main.py
TASK pts: Create a HashTable object named h and fill in with a list of strings of different animals and print it out to the screen
Sample output: None, None, bird 'goat', 'pig', 'chicken', 'dog', 'lion', 'tiger', None, None, 'cow', 'cat'
TASK pts: Modify the Hash Table into chained tables.
Reference chained hash table modify your HashTable class to make both slots and data as chained lists, then print the same test caseas h out to the screen
Sample output: bird 'goat', 'pig'dogliontigercow 'chicken'cat
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
