When the out-of-balance condition has been created by a  right high subtree of a left high tree, we must balance the tree by rotating the ____.

A. out-of-balance node to the left
B. out-of-balance node to the right
C. left subtree of the out-of-balance node to the left and then the left subtree to the right
D. right subtree of the out-of-balance node to the right and then the right subtree to the left


Answer: D

Computer Science & Information Technology

You might also like to view...

Write the header for a loop that will process each character of the string object movie in turn.

What will be an ideal response?

Computer Science & Information Technology

Rectangular arrays are often used to represent tables of values consisting of information arranged in:

a) rows b) columns c) both a and b d) None of the above

Computer Science & Information Technology

When an invalid character is encountered in a text argument in a Val function, the Val function notes an error and continues the process.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology

If you want headings displayed and printed, make sure there are checkmark(s) in _____.

A. the Headings View box B. the Print box C. both the Headings View and Print boxes D. none of the above

Computer Science & Information Technology