Chapter 12: Problem 25
Write a Turing machine that takes as input the unary representation of any two different numbers, separated by a blank, and halts with the representation of the larger of the two numbers on the tape. (Hint: You may need to use a "marker" symbol such as \(X\) or \(Y\) to replace temporarily any input symbols you have already processed and do not want to process again; at the end, your program must "clean up" any marker symbols.)
Short Answer
Step by step solution
Key Concepts
These are the key concepts you need to understand to accurately answer the question.