dsalglib
1.0.0
dsalglib is a ready to use data structures and algorithms library written in C++ . Object Oriented Template implementations are written.
|
#include <bstree.h>
Public Member Functions | |
bstree () | |
type | find_min () |
type | find_max () |
bool | insert (type param) |
bool | remove (type param) |
type | tree_root () |
long long int | size () |
void | clear () |
long long int | height () |
bool | isempty () |
void | inorder (void(fun)(type obj)) |
void | preorder (void(fun)(type obj)) |
void | postorder (void(fun)(type obj)) |
void | levelorder (void(fun)(type obj)) |
bool | search (type val) |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |