
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
48 questions
CS124 - Programming Language - Operators, Expressions and As
Presentation
•
University
50 questions
CE 11,12,13 Prinsip, Praktik, & Proses Pertahanan Jaringan
Presentation
•
University
45 questions
Module 2 - Purposive Comm.
Presentation
•
University
50 questions
DCS2103- Week 12 (Objects and Classes)
Presentation
•
University
51 questions
Bipolar Junction Transistor
Presentation
•
University
44 questions
Cyber Security, PwC & Ada
Presentation
•
University
48 questions
Simile and Metaphor- Lesson and Practice
Presentation
•
KG - University
48 questions
382352_2022
Presentation
•
University
Popular Resources on Wayground
10 questions
Safety Day 2026 – Student Review
Quiz
•
9th Grade
21 questions
Continents and Oceans
Quiz
•
6th Grade
20 questions
Parts of Speech
Quiz
•
5th Grade
16 questions
Subject & Predicate
Quiz
•
5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
12 questions
Map Skills
Quiz
•
3rd Grade
22 questions
Continents and Oceans
Quiz
•
5th Grade
15 questions
Rounding Decimals
Quiz
•
5th Grade
Discover more resources for Computers
20 questions
Disney Trivia
Quiz
•
University
10 questions
Spanish Greetings and Goodbyes!
Presentation
•
6th Grade - University
20 questions
Physical or Chemical Change/Phases
Quiz
•
8th Grade - University
39 questions
Unit 7 Key Terms
Quiz
•
11th Grade - University
25 questions
SER and Subject Pronouns
Quiz
•
8th Grade - University
38 questions
Unit 6 Key Terms
Quiz
•
11th Grade - University
19 questions
Key Concepts in Buddhism
Quiz
•
University
0 questions
Cell Domain Basic Review (Biology)
Quiz
•
University