C implementation of an integer multi-set using an AVL tree (height balanced) as the underlying data structure with support for a wide variety of operations including viewing the underlying tree at any state.
Run the code using
sh run.sh
A menu-driven program with all the operations supported will run.
Each operation can be executed be entering it's corresponding index number followed by any required arguments (if any).
At any point, executing the operation
- Write tree to file
using 5
will write the underlying AVL tree into a text file which can be viewed as an image by opening a new terminal window and executing
sh viewtree.sh
GCC
Graphviz - for viewing the tree
Any image viewer that can open svg
files