
Tree & Graph problems
Presentation
•
Computers
•
Professional Development
•
Hard
PRADHEEBA U
Used 8+ times
FREE Resource
20 Slides • 5 Questions
1
Tree & Graph problems
From Data Structures
2
Multiple Choice
Find the post-order Traversal
a) 6, 2, 5, 7, 11, 2, 5, 9, 4
b) 6, 5, 2, 11, 7, 4, 9, 5, 2
c) 2, 7, 2, 6, 5, 11, 5, 9, 4
d) 2, 7, 6, 5, 11, 2, 9, 5, 4
3
Multiple Choice
Find the left order traversal
a) 2, 7, 2, 6, 5, 11, 5, 9, 4
b) 2, 7, 5, 2, 11, 9, 6, 5, 4
c) 2, 5, 11, 6, 7, 4, 9, 5, 2
d) 2, 7, 5, 6, 11, 2, 5, 4, 9
4
Multiple Choice
For a particular tree, the in-order traversal is 6,2,8,7,11,2,5,9,4 and pre-order traversal is 2,7,2,6,8,11,5,9,4. Find the right child of the root.
5
7
2
8
5
BST
Insertion and Deletion
6
Insertion
10
20
30
5
2
1
6
4
7
Lets see how the values get inserted
https://visualgo.net/en/bst
8
Adelson, Velski & Landis Tree
Insertion and Deletion
9
Insertion
10
20
30
40
50
5
4
2
1
10
B- Tree
Insertion and Deletion
11
Insertion with Max Deg 4
10
20
30
40
50
60
15
35
38
39
52
12
Let's see the insertion...
https://www.cs.usfca.edu/~galles/visualization/BTree.html
13
Graph
Traversal Topologoical Sort
14
BFS & DFS
Along with topological sort
15
Lets see the solution..
https://visualgo.net/en/dfsbfs
16
Heap Tree
Min and Max
17
Insert and Extract in Heap
10
20
30
45
48
19
25
35
27
18
How to insert ? how extraction done?
https://visualgo.net/en/heap
19
Lets check the understandability of DS
There are 7 systems (0,..,6) connected as given in the figure.What is the minimum number of connections to be added to the network so that when a system goes down, the rest of the network is still connected ?
20
How many Articulation points are available in this graph? How?
0
12
3
21
Multiple Choice
The leaf of an expand is never an articulate point
True
False
Cannot be Determined
22
Multiple Choice
Correct choice of data structures can improve the performance of algorithms. Match the following algorithms with appropriate data structures,
i. Breadth first search
ii. Depth first search
iii. Sorting
a. Heap
b. Stack
c. Queue
A. ia iib iiic
B. ib iia iiic
C. ic iib iiia
D. ib iic iiia
23
Which of the following the graph posses? How?
a) Euler Circuit
b) Euler Path
24
Quickly decide if its eulerian.
Give Reasons
25
Find if it has Euler Path or not
If it has, how many edges are required to be added, to make this an euler circuit?
Tree & Graph problems
From Data Structures
Show answer
Auto Play
Slide 1 / 25
SLIDE
Similar Resources on Wayground
17 questions
Laptops and Other Mobile Devices
Presentation
•
KG - Professional Dev...
22 questions
ติว o-net ม.3
Presentation
•
KG
20 questions
Part of computer
Presentation
•
KG
19 questions
Mitos y leyendas de Scrum
Presentation
•
Professional Development
20 questions
CN 5
Presentation
•
University
19 questions
Scratch 2
Presentation
•
KG
18 questions
Telejornal Quiz
Presentation
•
Professional Development
18 questions
PP QUIZ
Presentation
•
Professional Development
Popular Resources on Wayground
11 questions
Hallway & Bathroom Expectations
Quiz
•
6th - 8th Grade
10 questions
HCS SCI 03 Summer School Assessment 2
Quiz
•
3rd Grade
11 questions
Home Scope
Quiz
•
7th - 8th Grade
12 questions
2026 TAP Technology in the Classroom
Presentation
•
Professional Development
15 questions
HCS SCI 05 Summer School Assessment 2 Review
Quiz
•
5th Grade
15 questions
HCS SCI 04 Summer School Review 2
Quiz
•
4th Grade
59 questions
Geometry Unit 3 Review
Quiz
•
9th - 12th Grade
14 questions
FAST ELA READING SMAPLE TEST MATERIALS
Passage
•
3rd Grade