260 views

1 Answer

Best answer
1 votes
1 votes

Yes it is CFL.

Because here we are comparing (number of a's) == (number of c's)

Language contain strings L = {aabbcc, aaaabbcccc, ..... } //Keep remember that number of b's are not required to be equal to the number of a's or c's.

talking minimum string and its further strings pattern we can draw the PDA as follow:-

Thanks..

selected by

Related questions

0 votes
0 votes
1 answer
1
0 votes
0 votes
1 answer
2
practicalmetal asked Mar 15, 2023
513 views
Is the following language context free:The set of all strings with number of a’s equal to number of b’s and the sum of a’s and b’s to be divisible by 3.