
12 - Splay Trees
Authored by Jason King
Computers
University
Used 63+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
6 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Is the following tree a valid splay tree?
no
yes
2.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Which of the following is TRUE about splay trees?
3.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
When splaying X, what is the first rotation performed?
zig-zig
zig-zag
zig
zag
4.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
When splaying X, which node do you rotate FIRST?
rotate T left around L
rotate X left around T
rotate S right around T
5.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
When splaying S, what is the first rotation performed?
zig-zag
zig-zig
zig
zag
6.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
When splaying S, which node do you rotate FIRST?
rotate S right around T
rotate T left around L
rotate X left around T
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?