
Binary Search Tree
Authored by LE210 Sankara Nayaki K
Professional Development
Professional Development
Used 292+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Post order traversal :
1a+b*c+d*e+f*g
1abc*+de*f+g*+
++a*bc*+*defg
abc+*+defg*+*
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In Order traversal
40 20 50 10 30
40 50 20 30 10
10 20 30 40 50
50 40 20 30 10
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the MAXIMUM number of nodes in a binary search tree with height = 5 ?
26-1
25-1
25
26
6
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the MINIMUM number of nodes in a binary search tree with height = 5?
6
5
26-1
25-1
25
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the worst-case runtime of lookUp/get in a binary search tree?
O(n)
O(logn)
O(1)
O(n2)
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the worst-case runtime of lookUp/get in a *perfectly balanced* binary search tree?
O(logn)
O(n)
O(1)
O(n2)
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
When deleting from a binary search tree, if the node being deleted has 2 children, we replace the entry with ____.
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?