This repo is only meant to expose what I'm currently learning
- How to insert data in a tree (v1)
- How to print data from a tree (v1)
- In-order
- Pre-order
- Pos-order
- A better way to insert data in a tree (v2)
- How to get the size of the tree (v3)
- How to search for a value in a tree (v4)
- How to delete an item from a tree (TBD)
- How to delete a leaf (node that has no children)
- How to delete a middle node (that has only one child)
- How to delete a node with two children
To compile:
gcc nameOfTheFileToCompile.c -o outputFileName
To execute:
outputFileName
Docs about Structures in C/C++ Árvores em C (Portuguese Lessons about Trees in the C Language)