This repository contains an implementation of the general tree data model and the binary tree for educational purposes.
Implemented models:
- Binary tree.
- Traversal operations:
- In-order
- Pre-order
- Post-order
- Traversal operations:
- Binary Search Tree (BST).
- Operations:
- Search
- Insert
- Delete
- Operations:
Implementation is in the trees.cpp
and trees.hpp
files. Demonstration is in the demo.cpp
file.