Consider the following language:
L1 = { an+m bn am | n, m ≥ 0 }
L2 = { an+m bn+m an+m |n, m ≥ 0 }
Which one of the following is correct ?
(A) Only L1 is Context Free Language
(B) Both L1 and L2 are not Context Free Language
(C) Only L1 is Context Free Language
(D) Both L1 and L2 are Context Free Language
Answer: (A)
Explanation:
Quiz of this Question
Whether you're preparing for your first job interview or aiming to upskill in this ever-evolving tech landscape,
GeeksforGeeks Courses are your key to success. We provide top-quality content at affordable prices, all geared towards accelerating your growth in a time-bound manner. Join the millions we've already empowered, and we're here to do the same for you. Don't miss out -
check it out now!
Last Updated :
02 Nov, 2021
Like Article
Save Article