DFA Examples 16 || Set of all strings Containing the sub string ab or ba || sub string 01or 10

แชร์
ฝัง
  • เผยแพร่เมื่อ 24 ธ.ค. 2024

ความคิดเห็น •

  • @cloneJurao
    @cloneJurao หลายเดือนก่อน +3

    can we put b in q0 to get ba?like from q0 if we get either a or b then we move to q1

  • @Sameer07fitnes
    @Sameer07fitnes 2 หลายเดือนก่อน +3

    sir apka strugel dekh rha h eslye aaj apka ek or subcriber badh gya h congraculation

    • @SudhakarAtchala
      @SudhakarAtchala  2 หลายเดือนก่อน

      So nice of you. Please like the videos, subscribe to the channel, and share it with your friends. Thanks in advance.

  • @abhishek_gupta001
    @abhishek_gupta001 6 หลายเดือนก่อน +1

    Nicely explained ...

    • @SudhakarAtchala
      @SudhakarAtchala  6 หลายเดือนก่อน

      Glad it helped. Plz subscribe to the channel and if possible share with your friends. Thanks in advance..

  • @CHANDANKUMAR-wx5pg
    @CHANDANKUMAR-wx5pg 7 หลายเดือนก่อน +2

    thanku very much sir your light in dark

    • @SudhakarAtchala
      @SudhakarAtchala  6 หลายเดือนก่อน

      welcome. Plz subscribe to the channel and if possible share with your friends. Thanks in advance..

  • @nikhil.792
    @nikhil.792 ปีที่แล้ว +4

    hello sir u took q3 state wich is a dead state or wat sir???y u took 4states here

    • @SudhakarAtchala
      @SudhakarAtchala  ปีที่แล้ว +4

      Not a dead state, from q3 we can go to q2. String should accept either ab or ba as substring, so we need 4 states.
      Plz subscribe to the channel and if possible share with your friends. Thanks in advance..

  • @pavansaitejaankala2568
    @pavansaitejaankala2568 22 วันที่ผ่านมา

    In DFA is it possible to have same transition over different input symbols. explain this incase of final state sir

    • @SudhakarAtchala
      @SudhakarAtchala  19 วันที่ผ่านมา

      yes. Please like the videos, subscribe to the channel, and share it with your friends. Thanks in advance.

  • @priyakandula7143
    @priyakandula7143 3 หลายเดือนก่อน +1

    Helllo Sir ,so you mean to say in this (either - or )case problems we need to take additional state .

    • @SudhakarAtchala
      @SudhakarAtchala  3 หลายเดือนก่อน +1

      yes. Please like the videos, subscribe to the channel, and share it with your friends. Thanks in advance.

  • @room5079
    @room5079 ปีที่แล้ว +5

    sir you told that we have
    no of states =(minimum of length of string)+1
    according to problem no of states =3
    but you took no of states =4

    • @SudhakarAtchala
      @SudhakarAtchala  ปีที่แล้ว +6

      Dfa should accept ab or ba. If it accepts only ab then it requires 3 states only.
      Plz subscribe to the channel and if possible share with your friends. Thanks in advance..

  • @vishwanathvaddepalli
    @vishwanathvaddepalli 7 หลายเดือนก่อน

    Sir Instead of q3 we can take b on q0 only so what is the need of q3

    • @SudhakarAtchala
      @SudhakarAtchala  7 หลายเดือนก่อน

      Okay, for a problem we can have multiple solutions. Plz subscribe to the channel and if possible share with your friends. Thanks in advance...

  • @surendravadama8626
    @surendravadama8626 ปีที่แล้ว

    Sir we can give q0 on b self loop sir?

    • @SudhakarAtchala
      @SudhakarAtchala  ปีที่แล้ว

      Not correct . Plz subscribe to the channel and if possible share with your friends. Thanks in advance..

  • @tejasrivasala2491
    @tejasrivasala2491 3 ปีที่แล้ว

    Please explain dfa has both ab and ba

    • @SudhakarAtchala
      @SudhakarAtchala  3 ปีที่แล้ว

      K. Plz subscribe to the channel and if possible share with your friends. Thanks in advance.

    • @tejasrivasala2491
      @tejasrivasala2491 3 ปีที่แล้ว

      @@SudhakarAtchala kk sir

  • @mdneha6985
    @mdneha6985 11 หลายเดือนก่อน

    sir can u please solve this question L={w:w2(w)=2,Nb(W)>=3}

  • @MayankSingh-mx5kq
    @MayankSingh-mx5kq 2 ปีที่แล้ว

    Thnxx sir

    • @SudhakarAtchala
      @SudhakarAtchala  2 ปีที่แล้ว

      Welcome. Plz subscribe to the channel and if possible share with your friends. Thanks in advance.

  • @shaikshama2771
    @shaikshama2771 ปีที่แล้ว

    Why u took q3 state sir?

    • @SudhakarAtchala
      @SudhakarAtchala  ปีที่แล้ว

      Dfa accepts ab or ba that's why we require an additional state. Plz subscribe to the channel and if possible share with your friends. Thanks in advance..

  • @SasiTalks42
    @SasiTalks42 2 หลายเดือนก่อน

    Sir q3 is final state q2 is not final state

    • @SudhakarAtchala
      @SudhakarAtchala  2 หลายเดือนก่อน

      for substring ab q2 is final state. Please like the videos, subscribe to the channel, and share it with your friends. Thanks in advance.