When removing an element from a binary search tree that is a leaf, ______________ will ensure that the resulting tree is still a binary search tree.

a) replacing it with its only child
b) replacing it with its inorder successor
c) simply deleting it
d) all of the above
e) neither a, b, nor c

c) simply deleting it

Computer Science & Information Technology

You might also like to view...

A select query selects and displays records that answer a specific question

Indicate whether the statement is true or false

Computer Science & Information Technology

Facility costs refer to the space used by the help desk personnel when they assist customers

Indicate whether the statement is true or false

Computer Science & Information Technology