
DCS2101 - Week 10 (Trees)
Presentation
•
Computers
•
University
•
Practice Problem
•
Medium
Yasmin Basiran
Used 1+ times
FREE Resource
39 Slides • 14 Questions
1
2
3
Multiple Select
If you had to organize 100 candies in such a way that you can always find your favorite one really fast — would you:
Pile them randomly
Sort them neatly in one line
Arrange them in a branching candy tree
4
5
6
7
8
9
10
11
Open Ended
What are some real-life examples of hierarchical structures that can be represented as trees?
12
13
14
15
16
17
18
19
20
21
22
23
Multiple Choice
What does BST stand for?
24
Multiple Choice
The topmost node of a tree is called the:
25
Multiple Choice
How many children can a node have in a binary tree?
26
Open Ended
If your phone’s folders and apps were organized as a tree, who would be the root node and what would the leaves represent?
27
28
29
30
31
32
33
34
35
Multiple Choice
In a BST, where are all smaller elements found?
36
Multiple Choice
Which traversal visits the root last?
37
Multiple Choice
What is the inorder traversal for: 5 → left 3, right 7?
38
Multiple Choice
If a BST has 7 nodes, how many edges does it have?
39
40
41
42
43
44
45
46
47
Multiple Choice
When deleting a node with one child, we:
48
Multiple Choice
In BST deletion, if the node has two children, we replace it with:
in-order successor
49
Draw
Draw a Binary Search Tree for the values:
8, 3, 10, 1, 6, 14, 4, 7
50
Draw
Given this BST:
12
/ \
8 15
/ \ \
5 10 20
What happens when you delete 8?
51
52
And now a word from our sponsor...
53
Show answer
Auto Play
Slide 1 / 53
SLIDE
Similar Resources on Wayground
50 questions
02/26/2025 Shifters of Demand and Supply
Presentation
•
12th Grade - University
51 questions
Module 6 - Data Link Layer
Presentation
•
University
45 questions
Software
Presentation
•
Professional Development
49 questions
Unit 2: Functions Review
Presentation
•
8th Grade
50 questions
L1: Flowcharts-and-pseudoco
Presentation
•
12th Grade
44 questions
DCS2101 - Week 12 (Practical Applications 2)
Presentation
•
University
49 questions
Utility Program
Presentation
•
University
48 questions
Final Grammar Review Book 5 Q3
Presentation
•
University
Popular Resources on Wayground
6 questions
Secondary Safety Quiz
Presentation
•
9th - 12th Grade
10 questions
MyPath Diagnostic Overview
Presentation
•
6th - 8th Grade
20 questions
Lab Safety Quiz
Quiz
•
6th Grade
21 questions
Continents and Oceans
Quiz
•
6th Grade
20 questions
Adding and Subtracting Decimals
Quiz
•
5th Grade
20 questions
Parts of Speech
Quiz
•
5th Grade
16 questions
Subject & Predicate
Quiz
•
5th Grade
21 questions
Lab Safety
Quiz
•
10th Grade
Discover more resources for Computers
20 questions
Disney Trivia
Quiz
•
University
20 questions
Brand Trivia
Quiz
•
9th Grade - University
10 questions
Would you rather...
Quiz
•
KG - University
21 questions
Mapa países hispanohablantes
Quiz
•
1st Grade - University
10 questions
Spanish Greetings and Goodbyes!
Presentation
•
6th Grade - University
12 questions
CE 2b Early Documents Review
Quiz
•
7th Grade - University
30 questions
Multiplying and Dividing Integers
Quiz
•
6th Grade - University
13 questions
Back to School
Quiz
•
KG - University