Which of the following splay tree rotations in effect distinguishes it
from rotate-to-root?

a. zig only
b. zig-zag only
c. zig-zig only
d. zig-zig and zig-zag only
e. all of the above

C

Computer Science & Information Technology

You might also like to view...

Subitems in a list are indented more that main list items

Indicate whether the statement is true or false

Computer Science & Information Technology

Which of the following is an invalid way to instantiate a String object?

a)``` String title = new String("Java Software Solutions"); ``` b)``` String name = "John Lewis"; ``` c)``` String empty = ""; ``` d)``` String alsoEmpty = new String(""); ``` e)``` all of the above are valid ```

Computer Science & Information Technology