

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Main points of this past exam are: Advanced Data Structures, Partition Algorithm, Depth-First Search, Ancestor, Node, Children, Visited, Returned., Dominant, Ancestors
Typology: Exercises
1 / 2
This page cannot be seen from the preview
Don't miss anything!


Δ( x ) is more than twice Δ( y ) for all ancestors y of x. In the tree shown below, which nodes are dominant?
List the nodes that are open:
List the nodes that are closed:
What is the nearest open ancestor of node h?
a
c
b
d
e
f h
j
k
m n
r
p