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
11 questions
Binary Search Trees

Quiz
•
University
10 questions
DSA(UNIT 1) Test 1

Quiz
•
University
12 questions
Quiz on Data Structures

Quiz
•
University
10 questions
DS Quiz1

Quiz
•
University
7 questions
Binary Search Tree

Quiz
•
University
7 questions
ASAS SAINS KOMPUTER TINGKATAN 3 (BAB 3)

Quiz
•
University
10 questions
PDS - 04225 Algorithms - Chapter 3

Quiz
•
University
10 questions
Introduction to AI - Healthcare & Business

Quiz
•
University - Professi...
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

Interactive video
•
10th - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Computers
21 questions
Spanish-Speaking Countries

Quiz
•
6th Grade - University
20 questions
Levels of Measurements

Quiz
•
11th Grade - University
7 questions
Common and Proper Nouns

Interactive video
•
4th Grade - University
12 questions
Los numeros en español.

Lesson
•
6th Grade - University
7 questions
PC: Unit 1 Quiz Review

Quiz
•
11th Grade - University
7 questions
Supporting the Main Idea –Informational

Interactive video
•
4th Grade - University
12 questions
Hurricane or Tornado

Quiz
•
3rd Grade - University
7 questions
Enzymes (Updated)

Interactive video
•
11th Grade - University