Skip to content

Commit 88d7943

Browse files
authored
Updated on failed cases
1 parent 63b08e1 commit 88d7943

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

Binary Tree/BST operations/Binary_Search_Tree_operations.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,6 @@ void levelorder(dll *root) //Print the node in levelorder form
8585
p.push(q->right);
8686
p.pop();
8787
count--;
88-
8988
}
9089
}
9190

@@ -113,7 +112,6 @@ void NRpreorder(dll *root) //Iterative Preorder
113112
root=s.top();
114113
s.pop();
115114
root=root->right;
116-
117115
}
118116
}
119117

@@ -255,7 +253,6 @@ bool search(dll *root,int x) //Search an element in BST
255253
}
256254
cout<<"ELEMENT NOT FOUND :( \n" ;
257255
return false;
258-
259256
}
260257

261258
dll *bstdelete(dll *root, int x) //Delete the node from BST
@@ -373,7 +370,6 @@ void par_chld(dll *root) //Print all parents and their Children
373370
}
374371
p.pop();
375372
cout<<"\n";
376-
377373
}
378374
}
379375

0 commit comments

Comments
 (0)