Chapter 8: Q28P (page 360)
.
Show that is NL-complete.
Short Answer
Its reduction occurs in polynomial time as well. So it's NP Difficult. As a result, is NL-complete.
Chapter 8: Q28P (page 360)
.
Show that is NL-complete.
Its reduction occurs in polynomial time as well. So it's NP Difficult. As a result, is NL-complete.
All the tools & learning materials you need for study success - in one app.
Get started for freeThe game of Nim is played with a collection of piles of sticks. In one move, aplayer may remove any nonzero number of sticks from a single pile. The players alternately take turns making moves. The player who removes the very last stick loses. Say that we have a game position in Nim with k piles containing s1,.....,sksticks. Call the position balanced if each column of bits contains an even number of 1s when each of the numbers s , is written in binary, and the binary numbers are written as rows of a matrix aligned at the low order bits. Prove the following two facts.
Let each siis a binary number and Player I has a winningstrategy in the Nim game starting at this position}. Use the preceding facts about balanced positions to show that is missing.
The cat-and-mouse game is played by two players, "Cat" and "Mouse," on an arbitrary undirected graph. At a given point, each player occupies a node of the graph. The players take turns moving to a node adjacent to the one that they currently occupy. A special node of the graph is called "Hole." Cat wins if the two players ever occupy the same node. Mouse wins if it reaches the Hole before the preceding happens. The game is a draw if a situation repeats (i.e., the two players simultaneously occupy positions that they simultaneously occupied previously, and it is the same player's turn to move).
Are respectively a graph and positions of the Cat, Mouse, and Hole, such that Cat has a winning strategy if Cat moves first}.
Show that is in . (Hint: The solution is not complicated and doesn't depend on subtle details in the way the game is defined. Consider the entire game tree. It is exponentially big, but you can search it in polynomial time.)
Show that 2SAT is NL-complete.
Show that any PSPACE-hard language is also NP-hard
What do you think about this solution?
We value your feedback to improve our textbook solutions.