This project is an implementation of a HashTable data structure in C programming language, using the djb2 hash function.
- Implementation of a HashTable with key-value pairs.
- Utilizes the djb2 hash function for hashing keys.
- Provides functionalities for insertion, deletion, and retrieval of elements.
- Handles collision resolution using chaining method.
To use this HashTable implementation in your C project, follow these steps:
- Clone or download the repository.
- Include the necessary files (
hashtable.c
,hashtable.h
) in your project. - Implement the necessary logic to interact with the HashTable functions (insert, delete, retrieve).
See main.c file
-
Fix Capacity Issue: Currently, there might be a capacity limitation in the HashTable implementation. Investigate and resolve any issues related to capacity constraints to ensure scalability and efficient usage.
-
Review
hashtable.c
for code duplication, readability, and efficiency and refactor