2 votes 2 votes Theory of Computation theory-of-computation context-free-language pushdown-automata + – Avdhesh Singh Rana asked Nov 11, 2017 Avdhesh Singh Rana 2.2k views answer comment Share Follow See all 8 Comments See all 8 8 Comments reply Show 5 previous comments Avdhesh Singh Rana commented Nov 11, 2017 reply Follow Share Ok, That's the point. I was missing. Now I got it. Thanks 1 votes 1 votes DAWID15 commented Nov 14, 2021 reply Follow Share Yeah this is absolutely correct! All we care is the no. of a,b,d and e must be equal. First we will push a and b. Then we will skip all the c. For every d we will pop b. If no of B = no. of D then only we can see a’s on the stack and we can use them to count e. So if no of a = no. of e then we can see the stack symbol which we will use to reach the final state. All this can be done using PDA(DPDA) hence it is CFG. Any suggestion is welcomed😉 0 votes 0 votes Vishal_kumar98 commented Nov 15, 2021 reply Follow Share Draw a PDA for the language to validate your point. 1 votes 1 votes Please log in or register to add a comment.
0 votes 0 votes I think it is cfl : push a pop b for all a skip c push d and pop e for all d please correct me if i am wrong poojasharma123 answered Jul 6, 2018 poojasharma123 comment Share Follow See all 2 Comments See all 2 2 Comments reply abhishekmehta4u commented Jul 6, 2018 reply Follow Share According to your logic aaabbbcddee is accepted . But language can not genrate this. 0 votes 0 votes poojasharma123 commented Jul 6, 2018 reply Follow Share yes, got it ,thanks 0 votes 0 votes Please log in or register to add a comment.