Skip to content

Instantly share code, notes, and snippets.

View biancadragomir's full-sized avatar

Bianca Dragomir biancadragomir

View GitHub Profile
@phsym
phsym / hashtable.c
Last active February 21, 2024 12:57
An hashtable implementation in C
/*
* Author : Pierre-Henri Symoneaux
*/
#include <stdlib.h>
#include <string.h>
//Hashtable element structure
typedef struct hash_elem_t {
struct hash_elem_t* next; // Next element in case of a collision