The Gateway to Computer Science Excellence
First time here? Checkout the FAQ!
x
+3 votes
225 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 (18.3k points)
retagged by | 225 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 (359k 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

40,903 questions
47,558 answers
146,289 comments
62,306 users