GATE | GATE CS 2010 | Question 40

Last Updated :
Discuss
Comments

Consider the languages - 
L1 = {0i1j | i != j}. 
L2 = {0i1j | i = j}. 
L3 = {0i1j | i = 2j+1}. 
L4 = {0i1j | i != 2j}.

Only L2 is context free

Only L2 and L3 are context free

Only L1 and L2 are context free

All are context free

Share your thoughts in the comments