Skip to content

Implementation of a node-based binary tree data structure for educational purposes.

Notifications You must be signed in to change notification settings

Amaterazu7/binarySearchTreeCpp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 

Repository files navigation

C++ Binary Search Tree

Here you have the binary search tree data structure implementation in C++, this project was create to the "Algorithm and Data Structure (Algoritmos y Estructura de Datos)" subject for the Universidad Nacional de Lanús.

  • Binary search Tree with:

     * Insertion / Creation of the tree
     * Show the size
     * Show the Max Node
     * Show the Min Node
     * Show  boolean if the contains data
     * Depth First Search 
         * PreOrder search   
         * InOrder search
         * PostOrder search
     * Breadth First Search
    

Running the APP

  • In order to compile & execute the application, you just can use this command for Linux/Mac OS (inside the project folder, of course):

     mkdir -p ./bin/ && g++ $(find ./src/ -name *.cpp -o -name *.c) -o ./bin/main -g -lm && ./bin/main 
    

Binary Search Tree Sample

Notes

If you want to learn all about computer science, algorithms and data structures, I recommend you visit the site GeeksForGeeks.

About

Implementation of a node-based binary tree data structure for educational purposes.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages