A simple project using generic linked lists and trees in C. The tree is used as a key-value map.
The List structure has two function pointer fields
-> toString: to represent a data item as a string
-> equal: to compare two data items for equality
These two need to be specified while initializing a list using the 'newsList' function available in List.h
The Tree structure has three function pointer fields
-> toString: to obtain a string representation of the data item
-> key: to compute the key given a data item
-> equal: compare two data items for equality
These need to be specified during initialization of the tree