9. A tournament tree is a complete binary tree reflecting results of a
“knockout tournament”: its leaves represent players entering the tour-
nament, and each internal node represents a winner of a match played by
the players represented by the node’s children. Hence, the winner of the
tournament is represented by the root of the tree.
a. What is the total number of games played in such a tournament?
10. Advanced fake-coin problem There are ≥3coins identical in appear-
ance; either all are genuine or exactly one of them is fake. It is unknown
whether the fake coin is lighter or heavier than the genuine one. You have
a balance scale with which you can compare any two sets of coins. That
a. Prove that any algorithm for this problem must make at least dlog3(2+
1)eweighings in the worst case.
b. Draw a decision tree for an algorithm that solves the problem for
=3coins in two weighings.
11. Jigsaw puzzle A jigsaw puzzle contains pieces. A “section” of the
puzzle is a set of one or more pieces that have been connected to each
other. A “move” consists of connecting two sections. What algorithm
will minimize the number of moves required to complete the puzzle?