EECE 431 Midterm
EECE 431 Midterm
EECE 431 Midterm
Midterm
1
Problem 1 (70 points). Short Questions
For the following questions, unless stated otherwise, you are asked to provide concise and convincing
solutions. Do not loose your time by overexplaining.
2
For simplicity, you are not asked to produce a matching whose weight is maximum, we are satisfied
with producing the weight of a maximum weight matching.
(Hint: Make T rooted by choosing a arbitrary node of T and declaring it as the root. Try to proceed
recursively starting from the root. Look at the children of the root. To make the recursion work, it is
NOT enough to have, for each child c, the weight w(c) of the maximum weight matching of the subtree
rooted at c. In addition to the w(c)’s you need other quantities ... )