Update 'a3/binary_search_tree.c'
This commit is contained in:
parent
52e154db28
commit
1d07f03672
@ -59,6 +59,8 @@ void free_tree(node_t *tree) {
|
|||||||
|
|
||||||
// Function to return sorted data from the binary search tree
|
// Function to return sorted data from the binary search tree
|
||||||
int *sorted_data(node_t *tree) {
|
int *sorted_data(node_t *tree) {
|
||||||
|
if(tree==NULL){
|
||||||
|
return NULL;
|
||||||
|
}
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user