Binary Search Tree

Quiz
•
Computers
•
University
•
Hard
Nicolas Jara
Used 61+ times
FREE Resource
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?
Similar Resources on Wayground
6 questions
MPS INTERNAL 2 TEST

Quiz
•
University
10 questions
DS Quiz1

Quiz
•
University
10 questions
7.5 Standard Methods of Solution Cambridge IGCSE 0478

Quiz
•
10th Grade - University
10 questions
tree

Quiz
•
University
9 questions
Data structures

Quiz
•
University
7 questions
Binary Search Tree

Quiz
•
University
12 questions
Binary Tree

Quiz
•
University
10 questions
Trees

Quiz
•
University
Popular Resources on Wayground
50 questions
Trivia 7/25

Quiz
•
12th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade