edited by
261 views
0 votes
0 votes

Given  L = { $a^{n}b^{n}c^{n} | 1 \leq n \leq 10^{6}$ }

$L^{c}$ is ______

  1. CSL but not CFL​​​​​​
  2. CFL but not DCFL
  3. DCFL but not regular
  4. Regular
edited by

1 Answer

Best answer
4 votes
4 votes
As n is finite it is regular . Every finite language is a regular language .And Finite Languages are closed under Complementation So Compliment of L is finite. So option D is correct.
selected by

Related questions

0 votes
0 votes
0 answers
2
jatin khachane 1 asked Jul 22, 2018
421 views
int x = 0;int f(n){ if(n == 1) return; else { x += 4*A(n/2) + n^2 return X; }What will be the recurrence relation and time complexi...
1 votes
1 votes
1 answer
3
0 votes
0 votes
0 answers
4
Waseemkhan23 asked Jan 13, 2019
776 views
Is language CFL? L={w: 2n(a) <= n(b) <= 3 n(c)}