Skip to content

Instantly share code, notes, and snippets.

View bartobri's full-sized avatar

Brian Barto bartobri

View GitHub Profile
@bartobri
bartobri / hashtable.c
Created August 15, 2017 14:54
Hash Table Example code
#include <stdio.h>
#include "hashtable.h"
// Table size. Should be a prime number that is roughly 2x the
// number of expected records for optimal performance.
#define M 97
// Our record table definition, an array of M records.
Record record_table[M];