487 views
0 votes
0 votes
DPDA for $L = \left \{ a^nb^m|m\geq n+2 \right \}$

2 Answers

Best answer
7 votes
7 votes

State 1 : Count a

State 2 : Count b

State 3 : Count 1st b

State 4 : Count 2nd b and accept

State 5 : Reject
 

selected by

Related questions

0 votes
0 votes
2 answers
1
dd asked Dec 7, 2016
754 views
DPDA for $L = \left \{ a^nb^n:n\geq 1 \right \} \cup\left \{ a \right \}$
1 votes
1 votes
0 answers
2
Matrix asked Jul 28, 2018
1,548 views
Is this approach of acceptance by empty stack correct ?I am confused because i have read that acceptance by empty stack may not be able to accept all regular languages.
2 votes
2 votes
2 answers
3
3 votes
3 votes
1 answer
4
AskHerOut asked Oct 22, 2017
746 views
1) Can a Deterministic PDA has two epsilon transition each reading different Stack symbol to perform a transition?2) Can a transition be performed without reading Stack s...