Answer on Question #43232 – Math – Other
For any solvable decision problem, there is a way to encode instances of a problem so that the corresponding language can be recognized by a TM with... time complexity
a) linear
b) exponential
c) polynomial
d) none of these
Solution:
We define such an encoding, , as follows
The decision problem is solvable, so is computable. can be recognized in a single move by examining the first character of the input. Linear time complexity means there are non-negative constants such that where is the time complexity of the machine solving the decision problem. Clearly that is true for and .
Answer:
a) linear.
www.AssignmentExpert.com