Skip to content

This is a hash table implementation of the dictionary ADT which handles collisions using chaining. The implementation is essentially an array of linked lists that will append a new node (make it the tail) to the linked list whose head it collided with/ It is a simple, yet useful and relatively fast implementation.

Notifications You must be signed in to change notification settings

jacobmcclure/Dictionary

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Jacob McClure
[email protected]

1) README - (this file) a table of contents for the repository

2) Dictionary.c - executable C file for the Dictionary ADT which utilizes
   an array of pointers which all reference the head node of a linked list.
   That is, several linked lists embedded in an array, where the array itself
   contains pointers to the heads of each linked list. Collisions are handled by
   appending the new node as the tail of the linked list whose head it collided
   with.

3) Dictionary.h - header file that contains all of the function prototypes
   for Dictionary.c.

4) DictionaryTest.c - test client for Dictionary.c that checks
   functionality of all functions and structs, etc.

5) Makefile - Tool created to ease the compilation and execution of 
   Dictionary.c. Also contains a memcheck tool to check for memory leaks.

About

This is a hash table implementation of the dictionary ADT which handles collisions using chaining. The implementation is essentially an array of linked lists that will append a new node (make it the tail) to the linked list whose head it collided with/ It is a simple, yet useful and relatively fast implementation.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published