● Develop a simple hashtable with specified size (parameter) that accepts key-value pairs and stores them in an internal structure. The key has to be a string • Use your hash function from exercise 2 • The value can be an object • Demonstrate how your hashtable works with multiple inputs Implement add (key, value), get(key), and print () methods
● Develop a simple hashtable with specified size (parameter) that accepts key-value pairs and stores them in an internal structure. The key has to be a string • Use your hash function from exercise 2 • The value can be an object • Demonstrate how your hashtable works with multiple inputs Implement add (key, value), get(key), and print () methods
Related questions
Question
Expert Solution
This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
Step by step
Solved in 3 steps with 2 images