This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "hashtable.h" | |
#include <stdio.h> | |
int print_hashtable(HashTable *ht); | |
HashTable *ht_create(unsigned int size); | |
int ht_put(HashTable *hashtable, const char *key, const char *value); | |
unsigned int hash(const char *key, unsigned int size); | |
int main(void) { | |
HashTable *ht = ht_create(5); |