When we detect that a tree has become unbalanced, we must rebalance it. AVL trees are balanced by ____ nodes either to the left or to the right.

A. swapping
B. rotating
C. displacing
D. rebalancing


Answer: B

Computer Science & Information Technology

You might also like to view...

Which of the following would not return string::npos when used on the string s which contains "rack":

a. s.find_first_not_of("crackling"); b. s.find_first_not_of("packrat"); c. s.rfind("car"); d. s.find("ack");

Computer Science & Information Technology

Standards for copper media are defined by what criteria?

What will be an ideal response?

Computer Science & Information Technology

In Java, the operator NOT is represented by ____.

A. && B. | | C. ! D. < >

Computer Science & Information Technology

Software code known as a(n) cookie can allow an attacker to track a victim's activity on Web sites. _________________________

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

Computer Science & Information Technology