Problem: Given a start state q0, and a completely blank tape except for one square with a # symbol, find the # and halt on it.
Non-Deterministically:
This machine chooses to either search left or right of the start state, and keeps going in that direction until the next symbol is the # symbol, where it stays.
Deterministically: ?
How do I replicate this machine in a deterministic form? I've done some research and it seems this problem can be solved by addressing both possibilities/branches of the "tree", but I can't seem to connect the dots here...
You do not just run over the non-# cells, but you mark them as visited. Further you do the two branches simultaniously by alternating between them.
In this way you can process any fixed number of non-deterministic branches in a deterministic way. Of course, the running around takes much more time than the actual simulation.