

MCQOPTIONS
Saved Bookmarks
1. |
Why the below pseudo code where x is a value, wt is weight factor and t is root node can’t insert? |
A. | when x>t. element Rotate-with-left-child should take place and vice versa |
B. | the logic is incorrect |
C. | the condition for rotating children is wrong |
D. | insertion cannot be performed in weight balanced treesView Answer |
Answer» B. the logic is incorrect | |