From 9891f38ddcca971fa21ab61e7a70832c8c877b0a Mon Sep 17 00:00:00 2001 From: Michael Hunteman Date: Sat, 23 Sep 2023 12:53:46 -0500 Subject: Initial commit --- tree/data_structures.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 tree/data_structures.h (limited to 'tree/data_structures.h') diff --git a/tree/data_structures.h b/tree/data_structures.h new file mode 100644 index 0000000..dbc7bdc --- /dev/null +++ b/tree/data_structures.h @@ -0,0 +1,14 @@ +#ifndef DATA_STRUCTURES_H +#define DATA_STRUCTURES_H + +struct node { + int val; + struct node *left; + struct node *right; +}; + +extern struct node *root; + +struct node *insert(struct node* cur, int val); + +#endif -- cgit v1.2.3