This commit is contained in:
ada.dmitry
2023-05-17 14:51:46 +03:00
parent dc4a1158f6
commit 68f659165b
11 changed files with 128 additions and 92 deletions
+7 -1
View File
@@ -7,8 +7,14 @@ int main(int argc, char *argv[])
{
tree *root = NULL;
root = init_root(root, 'A');
// preorder(root);
preorder(root);
root = add_node(root, 'r');
preorder(root);
root = del_node(root, 'A');
preorder(root);
exit(0);
// preorder(root);
printf("\n");