When deleting a node from a binary search tree that has two children, the reason we can replace its element with the greatest value in its left subtree is because:

A. the value will become greater or equal to the values of its children
B. the value will be greater than everything on its left, and since it was in the left subtree, it will be less than everything in the right subtree
C. Both A and B
D. Neither A nor B

B

Computer Science & Information Technology

You might also like to view...

When creating a macro, the OpenQuery action has three arguments: Query Name, View and ________ Mode

Fill in the blank(s) with correct word

Computer Science & Information Technology

Which of the following is true?

a. Log static method error is used to log error messages. b. Log static method e is used to log error messages. c. Log static method exception is used to log error messages. d. None of the above.

Computer Science & Information Technology