598 views
0 votes
0 votes

1 Answer

Best answer
1 votes
1 votes
here for every a ....we do push and for every b we pop a ...but at 2nd state we have a transaction which send us back to 1st state so after a^nb^ we are again able to push a's and continue cycle.....even zero length string is also accepted due to transaction (episolon,Z0,episolon)...hence answer is

C)(a^nb^n)^* where n>0.......
selected by

No related questions found