The Gateway to Computer Science Excellence
First time here? Checkout the FAQ!
x
+2 votes
197 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 Boss (17.8k points)
retagged by | 197 views

1 Answer

+7 votes
Best answer
Regular.
 $L_1 \cap  L_2$
 $= \{abcd,aabbcd,aaabbbccdd,\dots\} \cap \{ab, aabb, aaabbb,\dots\}$
 $= \emptyset.$
answered by Veteran (339k 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

34,774 questions
41,739 answers
118,909 comments
41,386 users