481 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


Deprecated: Implicit conversion from float-string "1532783348.471" to int loses precision in /var/www/html/qadb/qa-include/app/format.php on line 796

Deprecated: Implicit conversion from float-string "1532783348.471" to int loses precision in /var/www/html/qadb/qa-include/app/format.php on line 801

Deprecated: Implicit conversion from float-string "1532783348.471" to int loses precision in /var/www/html/qadb/qa-include/app/format.php on line 802

Deprecated: Implicit conversion from float-string "1532783348.471" to int loses precision in /var/www/html/qadb/qa-include/app/format.php on line 803
784
views
2 answers
0 votes
dd asked Dec 7, 2016
784 views
DPDA for $L = \left \{ a^nb^n:n\geq 1 \right \} \cup\left \{ a \right \}$
1.6k
views
0 answers
1 votes
Matrix asked Jul 28, 2018
1,553 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.3k
views
2 answers
2 votes
rahul sharma 5 asked Nov 21, 2017
2,309 views
Following is the PDA that accept equal number of a and b.How can this be converted to DPDA? When stack top is Z,that it can read epsillon or a or b,which can create choic...
720
views
1 answers
3 votes
AskHerOut asked Oct 22, 2017
720 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...