r/AskComputerScience • u/Awkward_Fishing4483 • Nov 15 '25
Turing machine that accept odd length strings with 0 in the middle over alphabet {0,1}
Can someone help me with this i have been struggling with this for my exam revision. just use simple state q0,q1,q2, ... transition 0/X,R for example and no need for reject state, only accepting path
3
Upvotes
View all comments
4
u/not-just-yeti Nov 15 '25 edited Nov 18 '25
You'll have to sit down and try it yourself (you can use e.g.
turingmachine.io), but as with many TM problems: