AfanasevGad7

This is a task for our favourite professor
git clone git://git.stellar-nexus.ru/AfanasevGad7
Log | Files | Refs

commit 4003f8e85f2644c805c7323ca5e54ef076465931
parent 64e728bf00f464bc60b46062f8d579f7318ae020
Author: Plat <plat@stellar-nexus.ru>
Date:   Sat, 18 Oct 2025 21:49:08 +0000

Updated tree.h

Diffstat:
Mlibutil/tree.h | 6++++++
1 file changed, 6 insertions(+), 0 deletions(-)

diff --git a/libutil/tree.h b/libutil/tree.h @@ -2,3 +2,9 @@ typedef struct Node { int val; struct Node *left, *right; } Node; + +Node *init(int val); +void add(int val, Node *root); +Node *parse_pre(unsigned int *index, Node *root); +Node *parse_post(unsigned int *index, Node *root); +Node *parse_inf(unsigned int *index, Node *root);