This is a hash table library in C where key type, value type and hash function are user defined.
dll.h
- Doubly linked list headerdll.c
- Doubly linked list implementationhash.h
- Hash table headerhash.c
- Hash table implementation using separate chainingtest_ll.c
- A sample program used to test the functionality of doubly linked list library.test_hash.c
- A sample program used to test the functionality of hash table library.
The project uses a standard cmake build system. To build:
cd build
cmake -S .. -B . -DCMAKE_BUILD_TYPE=Release # Use Debug for debug build or RelWithDebInfo for symbols enabled build.
make -j3 # This will build and run the test-suite.
The libraries and test binaries will be available in build once the above steps are done.