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

38,017 questions
45,509 answers
131,693 comments
48,731 users