An open API service indexing awesome lists of open source software.

https://github.com/cpplawyer/simpel-binary-search-tree


https://github.com/cpplawyer/simpel-binary-search-tree

binary-search-tree cplusplus

Last synced: 5 months ago
JSON representation

Awesome Lists containing this project

README

          

# binary-search-tree-C-plus-plus

- Made safe and robust
- The everything is set on the stack if you like you can edit it to be on the heap

Example:

```
node base;
//base node

base.insert(std::move(node(212)));
//insert with std::move(number)

base.remove(212);
//to remove a element

base.search(757)
//to search in the binary tree returns a boolean of true if found else false
```