third commit
This commit is contained in:
parent
4e584924fc
commit
4cfd661641
@ -28,9 +28,6 @@ struct node* insert(struct node* root, char data[SIZE]){
|
|||||||
root = getNewNode(data);
|
root = getNewNode(data);
|
||||||
return root;
|
return root;
|
||||||
}
|
}
|
||||||
if(strncmp(data, "*", 1)){
|
|
||||||
return root;
|
|
||||||
}
|
|
||||||
if(root->left == NULL){
|
if(root->left == NULL){
|
||||||
root->left = insert(root->left,data);
|
root->left = insert(root->left,data);
|
||||||
}else{
|
}else{
|
||||||
|
Loading…
Reference in New Issue
Block a user