tests/
- Main functions provided by Holberton School to test the files.hash_tables.h
- Header file with function prototypes and with structures.
- 0. >>> ht = {}
0-hash_table_create.c
- Function that creates a hash table.
- 1. djb2
1-djb2.c
- Write a hash function implementing the djb2 algorithm.
- 2. key -> index
2-key_index.c
- Function that gives you the index of a key.
- 3. >>> ht['betty'] = 'cool'
3-hash_table_set.c
- Function that adds an element to the hash table.
- 4. >>> ht['betty']
4-hash_table_get.c
- Function that retrieves a value associated with a key.
- 5. >>> print(ht)
5-hash_table_print.c
- Function that prints a hash table.
- 6. >>> del ht
6-hash_table_delete.c
- Function that deletes a hash table.
- Felipe Villamizar - GitHub