Computer Sciences > Gate 2017 Set-2 > Regular Language
Let L1 and L2 be any context-free language and R be any regular language. Then, which of the following is correct ?
I. L1 ∪ L2 is context-free.
II. L1' is context-free.
III. L1-R is context-free.
IV. L1 ∩ L2 context-free.
II. L1' is context-free.
III. L1-R is context-free.
IV. L1 ∩ L2 context-free.
Explanation
Correct : Regular Language
Similar Questions
What is the worst-case time complexity of insertion in an AVL tree?
Which operations on a binary search tree have O(h) complexity?
Compare search complexities of sorted array vs balanced BST.