This is a basic implementation of a hash table in C programming language. The code provides functionalities to insert, lookup, and delete elements from the hash table.
- Hash Function: Uses a simple hash function to determine the index for storing elements in the hash table.
- Collision Handling: Resolves collisions using separate chaining by maintaining a linked list at each index.
- Initialization: Initializes the hash table with a specified size.
-
Clone the repository:
git clone https://github.com/stefano-mazziotta/hash-table-c.git
-
Compile the code using the provided makefile::
make main
-
Run the executable:
./_output/hash_table
Feel free to contribute to this project by opening issues or submitting pull requests. Your feedback and contributions are highly appreciated.