Chapter 11: Q14RE (page 805)
Draw the game tree for nim if the starting position consists of two piles with one and four stones, respectively. Who wins the game if both players follow an optimal strategy?
Short Answer
First player wins
Chapter 11: Q14RE (page 805)
Draw the game tree for nim if the starting position consists of two piles with one and four stones, respectively. Who wins the game if both players follow an optimal strategy?
First player wins
All the tools & learning materials you need for study success - in one app.
Get started for freeThree couples arrive at the bank of a river. Each of the wives is jealous and does not trust her husband when he is with one of the other wives (and perhaps with other people), but not with her. How can six people cross to the other side of the river using a boat that can hold no more than two people so that no husband is alone with a woman other than his wife? Use a graph theory model.
Draw the subtree of the tree in Exercise \(4\)that is rooted at
\(\begin{array}{l}{\bf{a}})a.\\b)c.\\c)e.\end{array}\)
The eccentricity of a vertex in an unrooted tree is the length of the longest simple path beginning at this vertex. A vertex is called a center if no vertex in the tree has smaller eccentricity than this vertex. In Exercises \({\bf{39--41}}\) find every vertex that is a center in the given tree.
41.
Give an upper bound and a lower bound for the number of leaves in a B-tree of degree k with height h.
a. Explain how backtracking can be used to determine whether a simple graph can be colored using \(n\) colors.
b. Show, with an example, how backtracking can be used to show that a graph with a chromatic number equal to \({\bf{4}}\) cannot be colored with three colors, but can be colored with four colors.
What do you think about this solution?
We value your feedback to improve our textbook solutions.