recategorized by
312 views
0 votes
0 votes
While inserting an element into a BST, we will pass the element’s predecessor and successor (if they exist).

(a) Ture

(b) false

(c) can't be determined.
recategorized by

1 Answer

0 votes
0 votes

while inserting elements into BST we are not consider predecessor and successor.just compare with root element and it goes to correct place.

when we  perform delete operation then we consider either predecessor  or successor.

Related questions