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..
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..
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..
can we put b in q0 to get ba?like from q0 if we get either a or b then we move to q1
sir apka strugel dekh rha h eslye aaj apka ek or subcriber badh gya h congraculation
So nice of you. Please like the videos, subscribe to the channel, and share it with your friends. Thanks in advance.
Nicely explained ...
Glad it helped. Plz subscribe to the channel and if possible share with your friends. Thanks in advance..
thanku very much sir your light in dark
welcome. Plz subscribe to the channel and if possible share with your friends. Thanks in advance..
hello sir u took q3 state wich is a dead state or wat sir???y u took 4states here
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..
In DFA is it possible to have same transition over different input symbols. explain this incase of final state sir
yes. Please like the videos, subscribe to the channel, and share it with your friends. Thanks in advance.
Helllo Sir ,so you mean to say in this (either - or )case problems we need to take additional state .
yes. Please like the videos, subscribe to the channel, and share it with your friends. Thanks in advance.
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
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..
Sir Instead of q3 we can take b on q0 only so what is the need of q3
Okay, for a problem we can have multiple solutions. Plz subscribe to the channel and if possible share with your friends. Thanks in advance...
Sir we can give q0 on b self loop sir?
Not correct . Plz subscribe to the channel and if possible share with your friends. Thanks in advance..
Please explain dfa has both ab and ba
K. Plz subscribe to the channel and if possible share with your friends. Thanks in advance.
@@SudhakarAtchala kk sir
sir can u please solve this question L={w:w2(w)=2,Nb(W)>=3}
Thnxx sir
Welcome. Plz subscribe to the channel and if possible share with your friends. Thanks in advance.
Why u took q3 state sir?
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..
Sir q3 is final state q2 is not final state
for substring ab q2 is final state. Please like the videos, subscribe to the channel, and share it with your friends. Thanks in advance.