28 #define BST_EMPTY (BSTree*) 0 int bst_exists(BSTree *t, Type c)
int bst_height(BSTree *t)
BSTree * bst_search(BSTree *t, Type c)
struct BinaryNode * right
Definition: binary-tree.h:26
Definition: binary-tree.h:23
void bst_posfix(BSTree *t)
void bst_prefix(BSTree *t)
void bst_print(BSTree *t)
void bst_infix(BSTree *t)
struct BinaryNode * left
Definition: binary-tree.h:25
BSTree * bst_remove(BSTree *t, Type c)
int bst_nodes_equal_height(BSTree *t)
int bst_equals(BSTree *t1, BSTree *t2)
BSTree * bst_create_node(BSTree *left, BSTree *right, Type value)
Type value
Definition: binary-tree.h:24
BSTree * bst_create(void)
BSTree * bst_insert(BSTree *t, Type c)
int bst_two_children(BSTree *t)
int bst_leafs_primes(BSTree *t)