Task: in Python, implement a hash table with chained collision resolution.
You can use a linked list or Python's built-in list type for collision chaining.
As a hashing function, implement either of:
- DJB2
- FNV-1 (64-bit)
(These can be googled and copied from pseudocode.)
Implement get
, put
, and delete
functionality.
Implement tests using the built-in unittest
module.
Submit as a pull request to this repo.