The Gateway to Computer Science Excellence
First time here? Checkout the FAQ!
x
+1 vote
187 views

Consider

  • $L_1 = \left\{a^nb^nc^md^m \mid m,n \ge 1\right\}$
  • $L_2 = \left\{a^nb^n \mid n \ge1\right\}$
  • $L_3 = \left\{(a+b)^*\right\}$


Intersection of $L_1$ and $L_2$ is

(A) Regular (B) CFL but not regular (C) CSL but not CFL (D) None of these
 

asked in Theory of Computation by Veteran (14.6k points)
retagged by | 187 views

1 Answer

+6 votes
Best answer
Regular.
 $L_1 \cap  L_2$
 $= \{abcd,aabbcd,aaabbbccdd,\dots\} \cap \{ab, aabb, aaabbb,\dots\}$
 $= \emptyset.$
answered by Veteran (332k points)
selected by


Quick search syntax
tags tag:apple
author user:martin
title title:apple
content content:apple
exclude -tag:apple
force match +apple
views views:100
score score:10
answers answers:2
is accepted isaccepted:true
is closed isclosed:true

32,545 questions
39,231 answers
109,315 comments
36,613 users