restruct 1

This commit is contained in:
ada-dmitry
2023-09-11 17:15:34 +03:00
parent 096d8dea1a
commit 6809e2ef5f
67 changed files with 0 additions and 0 deletions
+18
View File
@@ -0,0 +1,18 @@
typedef struct tnode
{
int field;
struct tnode *left;
struct tnode *right;
struct tnode *parent;
} tree;
tree *init_root(tree *root, int field);
tree *add_node(tree *root, int field);
tree *find_node(tree *root, int field);
tree *minim(tree *root);
tree *maxim(tree *root);
tree *findForDel(tree *root);
tree *del_node(tree *root, int field);
void preorder(tree *root);
void inorder(tree *root);
void postorder(tree *root);