Binary Search Tree
Quiz
•
Computers
•
University
•
Practice Problem
•
Hard
Nicolas Jara
Used 62+ times
FREE Resource
Enhance your content in a minute
7 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Would this Binary Tree be considered a Binary Search Tree?
Yes
No
2.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Is this a binary search tree and what is the runtime for traversal?
Yes, O(log(n))
No, O(n)
Yes, O(n)
No, O(log(n))
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
When adding a node with the same value as its root where would it go?
Left
Right
Depends on the implementation
doesn't matter
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
If I deleted the root from the Binary Search Tree what could I replace it with?
7
14
3
1
5.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
What does this code do?
Find all the values less than root.item
Find the max value
Find the min value
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What does this code do?
Count all the items greater than k.
Count all the items less than k
Count all the items equal to k
7.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Which of these Trees is a Binary Search Tree?
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?
Similar Resources on Wayground
10 questions
CodeMonkey for B.Ed IT
Quiz
•
University
10 questions
Android
Quiz
•
University
10 questions
Unguided transmission media
Quiz
•
University
10 questions
Understanding Email, Contacts and Calendaring
Quiz
•
University
12 questions
Python Quiz 1.4
Quiz
•
University
10 questions
ML Course Activity-II
Quiz
•
University
10 questions
Logika Fuzzy
Quiz
•
University
10 questions
Tree and Planar Graph
Quiz
•
University
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade
