/simpleHashTable

A simple open-addressing hash table with friendly user interface.

Primary LanguageC

simpleHashTable

A simple hash table using open addressing.

Support OS

  • Ubuntu-latest
  • MacOS-latest

Basic Usage

  1. clone this repository into your desired location, e.g. dir.
  2. cd dir

Quick Demo

  1. make
  2. ./hash

A series of hash operation written in main.c will be performed, and the result(with explanation) will be displayed in the terminal.

Debug

  1. make debug

TODOs

  • add test
  • support for hashing with different hash functions
  • better error report

Reference

Inspired by jamesroutley's tutorial on how to write a hash table.