edited by
412 views
2 votes
2 votes
The language {w| the length of w is odd and it's middle symbol is 0, Wε(0+1)*}

Why do we need a PDA for above language. I don't think we need a PDA for this language. I wrote the following RE. Tell me whats wrong in it:-

[(0+1)(0+1)(0+1)]+0[(0+1)(0+1)(0+1)]+ + (other small left over strings like 0,101,100,001,000..... which are not covered in first part of expression)

edited by

Please log in or register to answer this question.

Related questions

0 votes
0 votes
0 answers
2
Chhotu asked Nov 25, 2017
608 views
Why in DPDA acceptance by empty stack and acceptance by final state is not equivalent ? How this prefix property plays important role ?
0 votes
0 votes
1 answer
4