Construct a Turing machine that accepts $L = \{ww : w \in \{a,b\}^*\}$?
2026-03-28 00:28:52.1774657732
Construct a turing machine that accepts L = {ww : w belongs to {a,b}*}
1k Views Asked by Bumbble Comm https://math.techqa.club/user/bumbble-comm/detail At
2
Can you write a machine that turns $$ \ldots 0 0 0 x \alpha y 0 \beta 0 \gamma 0 0 0\ldots$$ (where $x,y\in \{a,b\}$ and $\alpha,\beta,\gamma\in\{a,b\}^\star$) into $$ \ldots 0 0 0 \alpha 0 x\beta 0 y\gamma 0 0 0 \ldots$$ and the halts in a REJECT state if it sees $$ \ldots 0 0 0 x 0 \ldots$$ ?
Can you write a machine that turns $$ \ldots \alpha x 0 y \beta\ldots$$ into $$ \ldots \alpha 0 \beta\ldots$$ if $x=y$ and halts with REJECT if $x\ne y$?