- Accept 12_05_chained_hash
- Get basic_test.cpp
In chaining, if a hash function produces the same index for multiple elements, these elements are stored in the same index by using an AVL tree.
hash = key % CAPACITY;
- Implement
ChainedHash
class in chained_hash.h - Toggle the following line between basic_test and submit to github
static const std::size_t TABLE_SIZE = 19; // basic_test
static const std::size_t TABLE_SIZE = 811; // for submission