8. Hashing - II
Download the code for the lab:
code
.
8.1. Hashing - HashTableOpen
Complete the generic class
HashTableOpen
.It contains five data fields.
Implement the constructor
HashTableOpen()
.Implement the methods
int find(K key)
andvoid rehash()
Implement all the function from the interface.
Complete the generic class
HashTableOpenQuad
inheriting fromHashTableOpen
.Override the method
int find(K key)
Make sure that your code works.
8.2. Hahsing - HashTableOpenDouble
Complete class
HashTableOpenDouble
.Override the method
int find(K key)
.Make sure that your code works.