50. practice questions on closure properties part 2

Поділитися
Вставка
  • Опубліковано 4 січ 2025

КОМЕНТАРІ • 29

  • @gourav1163
    @gourav1163 2 роки тому +11

    7:38
    Set difference would contain elements which are only in L1 and not in L2, as E is the only such element won't grammar be
    L1 - L2 = {a^n b^m/ n,m>= 1}
    I think sir did intersection but that would still give {E}

    • @alokbaidya1247
      @alokbaidya1247 2 роки тому +1

      yes you are right.... to be more precise L1-L2={a^n b^m/ n,m>= 0}-{E}
      L1 - L2 != {a^n b^m/ n,m>= 1} as strings like aa,bb will not get accepted here

    • @sumitdas962
      @sumitdas962 Рік тому

      Was about to comment the same!!!

    • @NupurDas-vj6cl
      @NupurDas-vj6cl Рік тому +1

      @@sumitdas962 is this is CFL ?

    • @120_tanishkumargupta7
      @120_tanishkumargupta7 Рік тому +1

      @@NupurDas-vj6cl it is cfl as well as regular.

    • @maya-mati
      @maya-mati 3 місяці тому

      \Sigma_1 = {a,b} L1 = {a^n b^m | n,m >=0}, \Sigma_2 = {c,d} L2 = {c^n d^n | n >=0}.
      L1 - L2 = L1 \cap L2^c
      = L1 \cap (L3 := \Sigma_2^* - c^n d^n)
      Here, we have nothing in common L1 and L3, so L1 - L2 = L1 - L3 = \phi.

  • @Ray-ob5uq
    @Ray-ob5uq 5 місяців тому

    Guys , 40:59 take L1 n,m>=1 . That way, L1 will be regular also and L1 intersection L2 will not be null.

  • @alokbaidya1247
    @alokbaidya1247 2 роки тому +4

    39:40 L1 intersection L2={E} where E=null or epsilon

  • @sunilpatidar8609
    @sunilpatidar8609 3 роки тому +7

    thnkyu very much sir

  • @anshumansharma1069
    @anshumansharma1069 2 роки тому +3

    Amazing Lecture 🥺❤️😘🔥

  • @Gulshns_dewangan
    @Gulshns_dewangan Рік тому

    41:43

  • @dikshadiksha1334
    @dikshadiksha1334 3 роки тому +6

    Amazing

  • @pawanchoure1289
    @pawanchoure1289 Рік тому +1

    nice👏😊👍

  • @maya-mati
    @maya-mati 3 місяці тому

    At 1:15:00
    what about "aaabba"? n=3, m+i=2+0, j=1.

  • @jivanninawe3190
    @jivanninawe3190 2 роки тому +1

    Masta sir 😀😀

  • @debarghamukherjee1440
    @debarghamukherjee1440 2 роки тому +2

    Superb analysis of questions.

  • @ajaygenius4644
    @ajaygenius4644 2 роки тому

    Thanks sirji, really incredible teaching ways sirji 💓🙏

  • @jagdishpatil8680
    @jagdishpatil8680 3 роки тому +5

    Thank u sir. I'm new subscribers

  • @Rohan219Chavan
    @Rohan219Chavan Рік тому +1

    U - union n - Intersection E- NULL
    L1 U L2 = E* ( Explained well)
    but how come L1 n L2 = PHI ? the example given at 39.40 for which the intersection comes out to be {E}
    at 7.38 too, sir did similar kind of thing.
    If anyone could answer, please explain it for better understanding.

    • @tarun305
      @tarun305 Рік тому

      may it help you understand it better : let the working set for us is { 1, 2,3,4,5,6} , then let a set A in this domain is {1, 3 } then the A^c will be { 2,4,5,6} so if we do intersection of both A and A^c , it will have nothing common that is {E} , so on the same concept you may relate that to the language , if that make sense , and as we know phi is regular itself , so it align with our purpose of question , . ........... If i am wrong , feel free to correct me , that will be helpful

  • @ajaybanshkar6680
    @ajaybanshkar6680 10 місяців тому

    7:20 L1-L2= (a^nb^m | n,m>=1) ....? is it right? How L1-L2=empty

  • @satinderkaur3194
    @satinderkaur3194 Рік тому

    24:36 Sir can you please explain how compliment of CFL is CFL and not CSL in this case?

    • @qwertyacid2284
      @qwertyacid2284 Рік тому +1

      Compliment is any no of as, following any no of b's but n!=m.....since there's one comparison it's a cfl

  • @manubharadwaj6498
    @manubharadwaj6498 3 роки тому +3

    sir how much TOC syllabus is left after this?

  • @everyone2905
    @everyone2905 2 роки тому +1

    this video loops some content twice