263 views
2 votes
2 votes
{${a^{i}b^{j}c^{k}| (i\leq j)or(j\leq i),j=k}$} is CFL?

1 Answer

Best answer
3 votes
3 votes
yes its cfl, when you compare i and j only two cases happen either i is less than or equal to j or j is less than equal to i. So we don't need to check this condition. Remaining is j=k. So you can write above language as

  $L = \left \{a^{i}b^{n}c^{n} \right \}$, which is certainly a CFL.
selected by

Related questions

585
views
1 answers
0 votes
practicalmetal asked Mar 20, 2023
585 views
Is the following language CFL :{ ww | w in (a+b)* and |w| <1000 }
541
views
1 answers
0 votes
practicalmetal asked Mar 15, 2023
541 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.
209
views
0 answers
0 votes
425
views
2 answers
2 votes
DukeThunders asked Jun 9, 2019
425 views
Hi, I am having a doubt understanding the result of CFL – Regular:Here’s my approach:CFL – Regular = CFL INTERSECTION Regular’ = CFL INTERSECTION Regular = CFLSup...