A simple hash table using open addressing.
- Ubuntu-latest
- MacOS-latest
- clone this repository into your desired location, e.g.
dir
. cd dir
make
./hash
A series of hash operation written in main.c
will be performed, and the result(with explanation) will be displayed in the terminal.
make debug
- valgrind
- make sure valgrind is installed on your system
make valgrind
- cppcheck
- make sure cppcheck is installed on your system
make check
- add test
- support for hashing with different hash functions
- better error report
Inspired by jamesroutley's tutorial on how to write a hash table.