From 7448b7335bca929f87c296aff5dd275cec0c8938 Mon Sep 17 00:00:00 2001 From: Miloslav Macko Date: Thu, 18 Apr 2024 15:33:36 +0200 Subject: [PATCH] 123 --- a3/binary_search_tree.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/a3/binary_search_tree.c b/a3/binary_search_tree.c index 93946a7..18e516f 100644 --- a/a3/binary_search_tree.c +++ b/a3/binary_search_tree.c @@ -4,6 +4,12 @@ // Deklarace proměnné sorted_index static int sorted_index; +// Deklarace funkce insert +node_t* insert(node_t *node, int data); + +// Deklarace funkce inorder_traversal +void inorder_traversal(node_t *node, int *sorted); + // Definice funkce insert node_t* insert(node_t *node, int data) { if (node == NULL) {